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

Cannot install npm in foundationpress dir #212

Closed
ianecross opened this issue Feb 12, 2015 · 5 comments
Closed

Cannot install npm in foundationpress dir #212

ianecross opened this issue Feb 12, 2015 · 5 comments

Comments

@ianecross
Copy link

Hi, recieving this error in the command prompt:

15456 error Windows_NT 6.1.7601
15457 error argv "c:\Program Files\nodejs\node.exe" "c:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
15458 error node v0.12.0
15459 error npm v2.5.1
15460 error code ELIFECYCLE
15461 error [email protected] postinstall: node scripts/build.js
15461 error Exit status 1
15462 error Failed at the [email protected] postinstall script 'node scripts/build.js'.
15462 error This is most likely a problem with the node-sass package,
15462 error not with npm itself.
15462 error Tell the author that this fails on your system:
15462 error node scripts/build.js
15462 error You can get their info via:
15462 error npm owner ls node-sass
15462 error There is likely additional logging output above.

Thanks for any help

Ian

@themestechnology
Copy link
Contributor

#209 (comment)

@ianecross
Copy link
Author

Thanks for the quick response,

i followed the instructions on the foundationpress github page:
cd my-wordpress-folder/wp-content/themes/
git clone [email protected]:olefredrik/FoundationPress.git
mv FoundationPress your-theme-name
cd your-theme-name
npm install && bower install && grunt build

and I get the above error

After following the above link and instructions

sudo gem clean
sudo gem install foundation
sudo npm install -g bower grunt-cli
sudo npm install
grunt build
grunt / grunt serve / grunt watch

I get the same error.

@themestechnology
Copy link
Contributor

I would follow that post as it was only opend yesterday, did you try the uninsall bit?

Personaly I am using Ubuntu with the latest node and foundation and have no problem.

@ianecross
Copy link
Author

Much appreciated but no joy. I'll follow the other post.

@FlatspinZA
Copy link

Just have to love the people that espouse the Linux as the solution to everything, instead of helping to fix the actual Windows problem.

I have no problem installing using Windows 8.1

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