-
Notifications
You must be signed in to change notification settings - Fork 860
Loading sass.js tasks...ERROR #306
Comments
Hi Erica, If you have the latest version of node installed (0.12.0), that should be fully compatible with the latest version of FoundationPress. Check which version you are using by typing Cheers, |
If we upgrade node to the latest version, will we have issue compiling older FoundationPress projects? |
@AdamChlan : I would say yes and no. For older FoundationPress projects you will need to update the package.json file with the following config (if you run node v.0.12.0)
Save the package.json file, open your terminal, navigate to the theme folder and run a |
I just tried this whole thing on a new Digital Ocean instance (instead of locally on my Mac) and it just worked. I will dig into further incompatibilities on my Mac today. |
Wow. Okay, so it works now! Here's what I did: I re-upgraded to Node 0.12.2 (latest) using the Mac package The last command was grunt build, which worked! I then just copied my working new install, completely overwriting the broken install. The broken install was a mounted volume on WP Engine (I'm using Transmit to mount a SFTP folder as a drive, so I can actually work on the server live.) The copy finished, I ran grunt build and it worked! I'm still not sure where the error was, but it seems a complete reinstall of everything was the charm. :) As a side note, Transmit is great for being able to work directly on the server, and mounting a SFTP folder from a host on a drive, but don't try to run "npm install" etc. directly on the server that way--it takes FOREVER! Run everything locally first, then just copy all the files over and run grunt watch on the server. Saves an hour or so. ;) |
I'm glad that it worked out :) |
I had this error, was driving me crazy. Tried uninstalling, installing Node, in the end after 3 days of frustration it came down to the foundation.scss file, I added a custom scss and for some reason it was breaking the run build and prevented me to run watch. Try that, see if that prevents your error. |
Just a FYI: when I got the |
I'm getting this error after upgrading to OS X 10.11 El Capitan. I attempted the
I checked my Node version running a |
@phylaxis check this #209 (comment) |
Thanks, but that didn't make any difference for me. Running node 0.10.33 yielded the same error |
@arielnoname Ok. Got it working now. I realized I had already followed the instructions from @olefredrik to "fix" the @olefredrik any chance on getting FoundationPress to play nice with the latest version of Node.js? |
Hi,
I'm on Mac OS X Yosemite and having the same issue as described in #209. I tried all of the fixes listed and could not get anything to work. I even tried uninstalling everything and installing node v0.10.33, and going through the whole setup for FoundationPress again. That did not work either.
I noticed the issue was closed, so has there been any resolution on this?
erica@[/Volumes/asz/wp-content/themes/asz]$ grunt build
Loading "sass.js" tasks...ERROR
This all worked fine on my last FoundationPress site, but with this new one I haven't managed to get it working at all.
The text was updated successfully, but these errors were encountered: