-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-sass package is incompatible with latest version of node #16
Comments
Thank you @olefredrik this works perfectly with Foundation libsass. |
Just wanted to chime in. Took me a few frustrating hours of trial and error before I stumbled upon your post and was able to fix it. Thanks! |
Thanks @olefredrik! I got the same issue as well. Just a quick note on switching back to version 0.10:
|
I put in a pull request on this repository to update the package.json to require node-sass v.2.0.1 and grunt-sass v.0.18.0. As a work around, if you want to use node v.0.12.0 After an aborted install of foundation 5 with the cli using the -libsas flag: If you edit the package.json and change these above two dependecies, then run npm update, grunt will build and everything will work with node v.0.12.0. It's also backwords compatible with node v0.10.33. However if you run foundation update, it will break it again, as it will pull the old package.json from the repo. I also forked the repo here and updated the package.json file: https://github.com/randmanrjr/foundation-libsass-template You can edit the foundation gem on your system to clone this repo instead of the zurb one until they get this issue fixed. |
hi, npm ERR! [email protected] postinstall: I'm using centos as SO, initially I installed node 0.10.36 (with yum) and overwritten with the 0.10.33 that i've obtained with n. Do you have any suggestion? or idea in what I'm doing wrong?? Sorry for my english (it's not my language) editi tried with this branch libsass-template and now i get file to import not found or unreadable: settings
|
Hi, try editing the package.json file and changing the following dependencies to the versions listed below: “node-sass” : “~2.0.1” then run npm update. That is was worked for me. Good luck.
|
worked!!! thank you!! now i just have to understand why wordpress do not load the theme in the appearance manager... |
Make sure that you’ve uploaded the theme files to the correct directory in your wordpress install: ./wp-content/themes/FoundationPress You may need to create the FoundationPress folder and then upload the theme via FTP.
|
solved the folder owner was me and not apache, changed that and everything was fine Thanks again! |
My issue was that the scss syntax had an error, exclude your scss files and then re-include them one by one. |
In response to this thread, I changed version to 0.10. But still getting the error. Could you let me know what I can do to remedy this? Ryans-MacBook-Pro-2:~ rmc8001$ source |
When using the latest stable version of node (v0.12.0), the
npm install && bower install
will fail. I get the following error messageA temporary solution (that works) is to switch back to node version 0.10.33.
I'm using the libsass version of Foundation in my FoundationPress repository. More info in this thread olefredrik/FoundationPress#209. I'm looking for a better and more elegant solution. If you should get this to work with node v.0.12.0, feel free to share your insights :)
The text was updated successfully, but these errors were encountered: