<@U29KBCJDP> I've been getting this error today, b...
# sdf
b
@jeffmillies I've been getting this error today, but I found that it's because I'm trying to use a React component. If I have my
node_modules
directory in the project (even at the root), I will receive this error. If I remove that directory, it will validate. Does anybody know if you can exclude directories automatically, or will I have to manually remove the node_modules directory every time I'm done with a build and want to validate and/or deploy?
a
Fix for this coming next week
b
You're a wonderful human being
e
there's been much discussion about this; you can get around it for now by placing your SDF project in a subdirectory of your full project/repo
^^ also that 🙂
b
is there an issue tracker on this where people have been discussing it? I'd love to watch for that
e
unfortunately no, it's mostly been right here in the sdf channel, but we have limited history to search 😞
a
Unfortunately no 😞 However, we are working on something.. (top secret for now 😛 )
b
nice
@erictgrubaugh I tried creating the SDF project inside a subdirectory, but I'm still running into the issue until or unless I delete the
node_modules
directory. When I remove it, it then tells me I'm missing my manifest.xml file. I'm using PHPStorm for this (WebStorm), so I'm not use if that makes a difference
a
you should create a folder (let's say "src"), add the project folders inside:
message has been deleted
then open the project in WebStorm by opening from the "src" folder
Then you will be able to deploy from there, only taking what's inside that folder
b
ohhhhh
a
Yes, not ideal..
b
then in a terminal go back a directory
a
That's why there's a fix for next week and also we are adding some enhancements in the backlog to support different project structures in WebStorm