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

nodejs-docs-samples/appengine/hello-world/standard Node version #1314

Closed
JosephJeffs opened this issue May 21, 2019 · 5 comments
Closed

nodejs-docs-samples/appengine/hello-world/standard Node version #1314

JosephJeffs opened this issue May 21, 2019 · 5 comments
Assignees

Comments

@JosephJeffs
Copy link

The app.yaml specifies Node 10 but the package.json specifies Node 8.
Please update either file so that they are consistent with each other
Deployment gives the error
ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: The 'package.json' configuration file must specify a supported nodejs10 version that is compatible with the runtime specified in the deployment. Please pin your application to a compatible major version of the runtime via the 'engines.node' property. Supported 'engines.node' values for the runtime 'nodejs10' are: [10.x.x, 10.X.X, 10.x, 10.X, 10.., 10.*, ~10, ~10.0, ~10.0.0, 10, ^10, ^10.0, ^10.0.0, >=10, >=10.0, >=10.0.0, >10.0, >10.0.0, >=1, >=1.0, >=1.0.0, >1, >1.0, >1.0.0, >=2, >=2.0, >=2.0.0, >2, >2.0, >2.0.0, >=3, >=3.0, >=3.0.0, >3, >3.0, >3.0.0, >=4, >=4.0, >=4.0.0, >4, >4.0, >4.0.0, >=5, >=5.0, >=5.0.0, >5, >5.0, >5.0.0, >=6, >=6.0, >=6.0.0, >6, >6.0, >6.0.0, >=7, >=7.0, >=7.0.0, >7, >7.0, >7.0.0, >=8, >=8.0, >=8.0.0, >8, >8.0, >8.0.0, >=9, >=9.0, >=9.0.0, >9, >9.0, >9.0.0].

@james-flume
Copy link

Yup ran into the same thing - fixed by changing engines in package.json to

"engines": {
    "node": ">=10.0"
  }

@JosephJeffs
Copy link
Author

Thanks James.

@fhinkel
Copy link
Contributor

fhinkel commented Jun 3, 2019

@JustinBeckwith I think this is related to your recent PR. Could you have a look? Thanks!

@JustinBeckwith
Copy link
Contributor

This was from 13 days ago, before the change to use >=8.0.0 landed in the package.json files. This should be good to go 👍

@PratibhaAnalyticsRepo
Copy link

Hi, I am also facing the same issue in my app.yaml runtime is nodejs10 so i changed my engine node property to 10.0 but it is again showing the same error ,plz anyone can suggest me what i have to do with this error

This was referenced Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants