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

"Cannot read property 'pipesCount' of undefined" when deploying to graphcool-dev using node 8.0 #852

Closed
marktani opened this issue Oct 16, 2017 · 5 comments

Comments

@marktani
Copy link
Contributor

How to reproduce

> git clone https://github.com/wasd171/graphcool-local-function-error.git
> cd graphcool-local-function-error
> graphcool deploy # choose local cluster

The output:

❯ graphcool deploy
Bundling functions... ⣾
 ▸    Cannot read property 'pipesCount' of undefined
❯ graphcool version
graphcool/0.7.0 (darwin-x64) node-v8.0.0
@wasd171
Copy link

wasd171 commented Oct 16, 2017

Using node@8.7.0 instead of node@8.0.0 seems to fix this even for graphcool@0.7.0!

@marktani
Copy link
Contributor Author

interesting, so this looks to be a problem related to the node version.

@marktani marktani changed the title "Cannot read property 'pipesCount' of undefined" when deploying to graphcool-dev "Cannot read property 'pipesCount' of undefined" when deploying to graphcool-dev using node 8.0 Oct 16, 2017
@kbrandwijk
Copy link
Contributor

kbrandwijk commented Oct 16, 2017

@timsuchanek
Copy link
Contributor

The recommendation of the node-archiver team is to use a different version than node 8. I will add that to the semver check we have in the graphcool-cli package.

@timsuchanek timsuchanek added this to the 0.8 milestone Oct 17, 2017
@timsuchanek
Copy link
Contributor

The warning has been added:
bec478f

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