Skip to content

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

@JosephJeffs

Description

@JosephJeffs

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].

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions