-
Notifications
You must be signed in to change notification settings - Fork 865
npm ERR! argv "node" "/usr/bin/npm" "install" #594
Comments
This is probably relevant: npm/npm#7308 Do you have to run |
Thanks for the suggestion. I am not running vagrant on a windows machine though. I am running it on Ubuntu 14.04 LTS same as inside the vagrant box. If i try running npm install on my local machine i get a different error:
This only happened a week ago, before that this would always work. Any ideas? |
@wishe same issue here |
what versions of node and npm are you running? |
I am running node v0.10.37 and npm is @3.5.1 on both now. I can still run npm install on my older installs that use previous versions of your starter theme. |
The theme uses Gulp now so there are a whole different set of node_modules. Updating node/npm would be my suggestion. |
node v0.x.x is not supported anymore due to updated devdependencies. If you update to node v.4.x.x, it should work. I'm currently running node v4.2.2 and npm v2.14.7. If you don't want to update node, you can still find previous releases in the release archive. |
Thanks. Solved indeed. Note: already upgraded to WP 4.4 |
Hmm. That was added in 2a59f61 . Should have catched that before merge. Could you have a look at this @josh-rathke ? |
This did indeed fix the issue. Thanks alot for the help, this was giving me a headache. |
I am also getting the php notice that @tomhermans is getting though. |
Sorry guy's, that one is on me. This bit of code as a whole may need some re-evaluation. The only that error would pop up is if the images were being processed somewhere without any pre-existing classes which suggests something strange is going on. Because the error doesn't appear until after the post's images have been rendered correctly. This fixes it, but I am thinking there might be a bigger issue here. |
Yep, found this solution as well.. sent a file change request too (didn't fork the repo earlier) |
Fixed Undefined Variable Bug Found in #594
i have a problem with npm 🏷️ npm install |
FoundationPress 2.8 had no issues, but 2.9 does. $ npm install
> foundationpress@2.9.0 postinstall C:\Program Files (x86)\Ampps\www\wp\wp-content\themes\immerschlank
> bower install && gulp build
bower foundation-sites#~6.3.0 cached https://github.com/zurb/foundation-sites.git#6.3.1
bower foundation-sites#~6.3.0 validate 6.3.1 against https://github.com/zurb/foundation-sites.git#~6.3.0
bower what-input#~4.0.3 cached https://github.com/ten1seven/what-input.git#4.0.6
bower what-input#~4.0.3 validate 4.0.6 against https://github.com/ten1seven/what-input.git#~4.0.3
bower ECONFLICT Unable to find suitable version for what-input
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.10.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! foundationpress@2.9.0 postinstall: `bower install && gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the foundationpress@2.9.0 postinstall script 'bower install && gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the foundationpress package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install && gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs foundationpress
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls foundationpress
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Program Files (x86)\Ampps\www\wp\wp-content\themes\immerschlank\npm-debug.log |
Same problem here |
I managed to get it to work by deleting the offending asset folders. Mine wasn't a clean install but a merge from an older FP version with the current one. |
$ npm install npm ERR! pngquant-bin@4.0.0 postinstall: npm ERR! Please include the following file with any support request: |
same problem is here......how to solve....? |
how to solve this problem ?? npm ERR! Linux 4.15.0-34-generic npm ERR! Please include the following file with any support request: |
Hi!
Love this starter theme but after recent updates to the theme i can no longer run npm install when i start a new site and i am recieving the following error:
Is this a known error and do you have any idea how to fix it?
The text was updated successfully, but these errors were encountered: