-
Notifications
You must be signed in to change notification settings - Fork 873
NPM Error - Grunt Build #386
Comments
Hi. I made a quick screencast on installing FoundationPress with npm. |
For reference, this installation of FoundationPress was working fine for about a week. I started to receive this error from time to time about two days ago on Build and Watch. Watch would frequently stop watching and spit out an error like this one. This is the only node app I've had this happen with, I also saw a few other people post this same issue. I was able to fix it by completely uninstalling all traces of npm and reinstalling. Not sure how FoundationPress could possibly effect the install, but something got corrupted during a build. |
Installed FoundationPress today and faced this same issue. Reinstalling npm and then reinstalling FoundationPress worked fine for me. Thanks @brettlewis ! |
After hours of testing and intermittent errors, I found that problem is exclusive to building SCSS. In one instance, I was able to trigger the error when adding top-bar settings into the custom-settings.scss file. When I would delete these setting, the error would go away. Paste them back in, the error would return. This was happening in a few different scss files when adding new settings or site styles. What could be causing this? |
I've narrowed it down to incompatible versions of grunt-sass and node-sass. Changing these values to the latest versions stopped build/watch from blaming SASS errors on FoundationPress package scripts and instead now functions as intended. Node: v0.12.7
|
Thanks @brettlewis . Fixed #400 |
no problem. happy to help. |
On OSX, latest versions.
The text was updated successfully, but these errors were encountered: