Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails at postinstall script 'typings install && npm dedupe'. #56

Closed
vladinator1000 opened this issue Jul 26, 2016 · 4 comments
Closed

Comments

@vladinator1000
Copy link

vladinator1000 commented Jul 26, 2016

Hi there, jus tried to install through npm and this happened:

I had to install typings to fix it.

> apollo-server@0.2.0-rc.1 postinstall /Users/Empyreal/WebProjects/knex-2/node_modules/apollo-server
> typings install && npm dedupe

sh: typings: command not found
npm WARN enoent ENOENT: no such file or directory, open '/Users/Empyreal/WebProjects/knex-2/node_modules/db/package.json'
npm WARN eslint-config-airbnb@9.0.1 requires a peer of eslint@^2.9.0 but none was installed.
npm WARN eslint-config-airbnb@9.0.1 requires a peer of eslint-plugin-jsx-a11y@^1.2.0 but none was installed.
npm WARN eslint-config-airbnb-base@3.0.1 requires a peer of eslint@^2.9.0 but none was installed.
npm WARN knex-2@1.0.0 No repository field.
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "-S" "apollo-server"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! apollo-server@0.2.0-rc.1 postinstall: `typings install && npm dedupe`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the apollo-server@0.2.0-rc.1 postinstall script 'typings install && npm dedupe'.

@HriBB
Copy link
Contributor

HriBB commented Jul 26, 2016

Running

npm install --save-dev typings

before installing 0.2.0-rc.1 fixed this problem for me.

@nnance
Copy link
Contributor

nnance commented Jul 26, 2016

We made a mistake and released an RC version of the project to NPM. We have fixed the problem and now when you npm install apollo-server you will get version 0.1.5 which is the working version. Please make sure you use this version until we get the release candidate fully working and documented.

Sorry for any hassle this may have caused.

@helfer
Copy link
Contributor

helfer commented Jul 27, 2016

I believe this is fixed now. Feel free to re-open if it's still not working for you.

@helfer helfer closed this as completed Jul 27, 2016
@vladinator1000
Copy link
Author

vladinator1000 commented Jul 28, 2016

I have to say that I'm super happy with Apollo. I got my first proper GraphQL server working exactly like I wanted just last night. Thanks for making this awesome project!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
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

4 participants