Open MartyIce opened 10 years ago
I think the error comes from you are using windows. The package has a post installation script, but this script is for linux.
You can try to solve it changing the postinstall script in the packaje.json file. Il 15/dic/2013 03:48 "MartyIce" notifications@github.com ha scritto:
I get an error trying to install yocrud, running:
C:\Public\Javascript\Projects\myProject>npm install yocrud npm WARN package.json crypto@0.0.3 crypto is also the name of a node core module. npm http GET https://registry.npmjs.org/yocrud npm http 200 https://registry.npmjs.org/yocrud npm http GET https://registry.npmjs.org/yocrud/-/yocrud-0.1.1.tgz npm http 200 https://registry.npmjs.org/yocrud/-/yocrud-0.1.1.tgz
yocrud@0.1.1 postinstall C:\Public\Javascript\Projects\myProject\node_modules\yocrud mkdir -p ../../lib/yeoman/generators/ && mv ../yocrud/lib/generators/yocrud ../../lib/yeoman/generators/yocrud
The syntax of the command is incorrect. npm ERR! yocrud@0.1.1 postinstall: mkdir -p ../../lib/yeoman/generators/ && mv ../yocrud/lib/generators/yocrud ../../lib/yeoman/generators/yocrud npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the yocrud@0.1.1 postinstall script. npm ERR! This is most likely a problem with the yocrud package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! mkdir -p ../../lib/yeoman/generators/ && mv ../yocrud/lib/generators/yocrud ../../lib/yeoman/generators/yocrud npm ERR! You can get their info via: npm ERR! npm owner ls yocrud npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Public\Javascript\nodejs\node.exe" "C:\Public\Javascript\nodejs\node_modules\npm\bin\npm-cli.js" "install" "yocrud" npm ERR! cwd C:\Public\Javascript\Projects\myProject npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.14 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Public\Javascript\Projects\myProject\npm-debug.log npm ERR! not ok code 0
— Reply to this email directly or view it on GitHubhttps://github.com/bitliner/YoCrud/issues/2 .
I get an error trying to install yocrud, running:
C:\Public\Javascript\Projects\myProject>npm install yocrud npm WARN package.json crypto@0.0.3 crypto is also the name of a node core module. npm http GET https://registry.npmjs.org/yocrud npm http 200 https://registry.npmjs.org/yocrud npm http GET https://registry.npmjs.org/yocrud/-/yocrud-0.1.1.tgz npm http 200 https://registry.npmjs.org/yocrud/-/yocrud-0.1.1.tgz
The syntax of the command is incorrect. npm ERR! yocrud@0.1.1 postinstall:
mkdir -p ../../lib/yeoman/generators/ && mv ../yocrud/lib/generators/yocrud ../../lib/yeoman/generators/yocrud
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the yocrud@0.1.1 postinstall script. npm ERR! This is most likely a problem with the yocrud package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! mkdir -p ../../lib/yeoman/generators/ && mv ../yocrud/lib/generators/yocrud ../../lib/yeoman/generators/yocrud npm ERR! You can get their info via: npm ERR! npm owner ls yocrud npm ERR! There is likely additional logging output above.npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Public\Javascript\nodejs\node.exe" "C:\Public\Javascript\nodejs\node_modules\npm\bin\npm-cli.js" "install" "yocrud" npm ERR! cwd C:\Public\Javascript\Projects\myProject npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.14 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Public\Javascript\Projects\myProject\npm-debug.log npm ERR! not ok code 0