Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Installing issues @W7 + WebStorm + NPM #18

Closed
rastislavcore opened this issue Apr 21, 2014 · 9 comments
Closed

Installing issues @W7 + WebStorm + NPM #18

rastislavcore opened this issue Apr 21, 2014 · 9 comments

Comments

@rastislavcore
Copy link

At first I install node-gyp 0.13.0, then I want install protagonist (latest - 0.11.0). But there is always error:

Install packages failed: Error occurred when installing package protagonist.
"C:\Program Files\nodejs\npm.cmd" install protagonist

Exit code: 1

Standard error:
npm http GET https://registry.npmjs.org/protagonist
npm http 304 https://registry.npmjs.org/protagonist
gypnpm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "protagonist"
npm ERR! cwd C:\Users\Work\WebstormProjects\trader
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.26
npm ERR! code ELIFECYCLE
npm

Standard output:

[email protected] install C:\Users\Work\WebstormProjects\trader\node_modules\protagonist
node-gyp rebuild

C:\Users\Work\WebstormProjects\trader\node_modules\protagonist>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild

@zdne
Copy link
Contributor

zdne commented Apr 25, 2014

@max258

I have just tried it on W7 and it works for me just fine:

screen shot 2014-04-25 at 5 32 50 pm

Do you still experience the problems?

@rastislavcore
Copy link
Author

Still same issue, did you use Webstorm NPM installer?
PS are there any dependencies for this?

@zdne
Copy link
Contributor

zdne commented Aug 22, 2014

@max258 I do not have / use web storm, I have verified this using plain Windows prompt / power shell. I really do not like how npm call names here:

npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with nom itself

@zdne
Copy link
Contributor

zdne commented Aug 22, 2014

@max258 I have just tried to install protagonist from Win command prompt and it looks OK.

node v0.10.22, Windows 7, MSVS 2012 (make sure to have MSVC essentials installed if not full MSVS), node-gyp v0.12.1

@rastislavcore
Copy link
Author

Ok, i will it test one more time. Thank you for helping.

@douglas-mason
Copy link

Getting the exact issue on a Win8.1 machine. Tried npm installing node-gyp v0.12.1 as mentioned above and did not help. Just wondering if @max258 or anyone figured anything out here.

@rastislavcore
Copy link
Author

@douglas-mason I cannot solve the problem, i change the machine.

@ghost ghost mentioned this issue Nov 7, 2014
@pksunkara
Copy link
Contributor

@max258 @douglas-mason Can you try using a later npm version? preferably 2.x.x. I am pretty sure it is the problem.

Also, please take a look at #33

@kylef
Copy link
Member

kylef commented Sep 16, 2016

Since this issue was originally created, we've now introduced a new package (Drafter NPM) which can be used to install Protagonist, or fallback on a pure javascript version of the API Blueprint parser.

If you're having difficulties setting up your environment I'd recommend using https://github.com/apiaryio/drafter-npm instead.

@kylef kylef closed this as completed Sep 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants