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

build error #1825

Closed
miyagin15 opened this issue May 20, 2020 · 1 comment · Fixed by #1865
Closed

build error #1825

miyagin15 opened this issue May 20, 2020 · 1 comment · Fixed by #1865
Assignees
Labels
api: appengine Issues related to the App Engine Admin API API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@miyagin15
Copy link

I downloaded websocket samples .
It is easy to understand to deploy in local . I like it

and I tried to deploy it by reading this

then I executed below command

gcloud app deploy

but , something error happend
out put is

ERROR: (gcloud.app.deploy) Cloud build failed. Check logs at https ...
UNKNOWN: Error Response: [2] Build failed; check build logs for details

so i checked the URL, it said

Step #1: yarn install v1.17.3
Step #1: [1/5] Validating package.json...
Step #1: [2/5] Resolving packages...
Step #1: [3/5] Fetching packages...
Step #1: info fsevents@2.1.3: The platform "linux" is incompatible with this module.
Step #1: info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
Step #1: error puppeteer@3.1.0: The engine "node" is incompatible with this module. Expected version ">=10.18.1". Got "10.16.1"
Step #1: error Found incompatible module.
Step #1: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Step #1: error building image: error building stage: waiting for process to exit: exit status 1
Finished Step #1
ERROR

so i change pacage.json
before

  "engines": {
    "node": ">=8.0.0"
  },
  "scripts": {

new

  "engines": {
    "node": ">=10.18.1"
  },
  "scripts": {

It works well

@fhinkel fhinkel added the type: docs Improvement to the documentation for an API. label May 20, 2020
@fhinkel
Copy link
Contributor

fhinkel commented May 26, 2020

Hi @miyagin15 . Thanks for raising the issue. We'll update the dogs.

@fhinkel fhinkel added api: appengine Issues related to the App Engine Admin API API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. and removed type: docs Improvement to the documentation for an API. labels May 26, 2020
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label May 27, 2020
gcf-merge-on-green bot pushed a commit that referenced this issue Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: appengine Issues related to the App Engine Admin API API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
4 participants