Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Error: Cannot find module 'node-sass' #217

Closed
prwilcox opened this issue Feb 13, 2015 · 4 comments
Closed

Error: Cannot find module 'node-sass' #217

prwilcox opened this issue Feb 13, 2015 · 4 comments

Comments

@prwilcox
Copy link

Hello,
I'm attempting to work with a preprocessor for the first time. I believe I have successfully installed node, grunt, and bower. After navigating to my FoundationPress theme folder and running the grunt watch command the terminal says the following:
Loading "sass.js" tasks...ERROR

Error: Cannot find module 'node-sass'

Running "watch" task
Waiting...

Any advice on how I can avoid receiving the error would be greatly appreciated. Thanks!

@themestechnology
Copy link
Contributor

#208 (comment)

@prwilcox
Copy link
Author

When I run $ npm install && bower install && grunt build I get an error saying node scripts/build.js fails on your system.

@prwilcox
Copy link
Author

I tried running each command separately. After installing a program called Xcode $ npm install appeared to run successfully. When I ran $ bower install I received the following error:
Loading "sass.js" tasks...ERROR

Error: Cannot find module 'node-sass'
Warning: Task "sass" not found. Use --force to continue.

Aborted due to warnings.

@olefredrik
Copy link
Owner

Hi,

First make sure you follow the requirements and quickstart steps described in the howto.

If you can't get it working after following these steps, it's possibly because the node-sass package is incompatible with the latest version of node.

Please see my post in this thread (#209) for a solution on how to roll back to node v. 0.10.33

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants