-
Notifications
You must be signed in to change notification settings - Fork 862
SASS/node error working with "old" FP 1.x projects alongside FP 2.x #722
Comments
When you're on node 0.10 see if this works:
|
@colin-marshall thanks for answering and sorry for the delay replying. I've tried your instructions.
Nevertheless, that got rid of the sass.js ERROR and only left the grunt-open not found warning, which I don't think matters, and may have always been there. I can't remember. The main thing is that SASS is now compiling nicely. Thanks for the assistance. Can I ask then:
|
I don't know what you are using to switch versions of node. I use nvm, and it's my understanding that each version of node you have installed will have its own set of global modules installed. So you would need to do the To answer your questions, this should be a one off deal, and you should not need to do that every time you switch versions, and it should not effect your 2.x installs (assuming that the way you are switching node versions is handled similar to the way nvm does it). The worst that can happen is you end up having to reinstall some npm modules, so go ahead and test the switching between node versions for 1.x and 2.x projects and see if it works properly now. |
Thanks @colin-marshall for the detailed answer. My switcher is this one. So hopefully you're correct and I'll be able to work smoothly in the two separate universes of FP1/Foundation5/Grunt and FP2/Foundation6/Gulp without one interfering with the other. I'll close this and thanks again. |
I'm getting to grips with the "new" FoundationPress 2.x way of doing things. Thanks for everyone who helped with #704.
But I also need to make tiny changes to the SASS in old FP1.x projects. I don't want to update them to the latest Foundation or FoundationPress.
I understand that old and new use different versions of node.js.
With FP2.x ... I am using node 4.2.6
With FP1.x ... I am using node 0.10.33
I have a switcher thing installed in node which switches between them.
However if I try to
grunt watch
with FP1.x and node 0.10.33 I am getting an error.grunt watch
used to work find on all my many FP1.x and node 0.10.33 projects.The error is
The text was updated successfully, but these errors were encountered: