GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — yarn.lock prevents deploying the hello-world appengine sample · Issue #308 · GoogleCloudPlatform/nodejs-docs-samples

yarn.lock prevents deploying the hello-world appengine sample #308

New issue
Copy link
New issue
Copy link
Closed
Closed
yarn.lock prevents deploying the hello-world appengine sample#308
Copy link
Assignees
jmdobry
Labels
🚨This issue needs some love.triage meI really want to be triaged.

Description

@newbreedofgeek
newbreedofgeek
opened on Feb 2, 2017
Issue body actions

If you follow this tutorial:
https://cloud.google.com/nodejs/getting-started/hello-world

You will hit an issue when you try and gcloud app deploy which fails.

This is because of this yarn.lock file:
https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/appengine/hello-world/yarn.lock

The error you see will be:

ERROR: Yarn checker: "yarn.lock" was found indicating Yarn is being used, but "yarn check" indicates "yarn.lock" is invalid.
ERROR: (gcloud.app.deploy) Your application does not satisfy all of the requirements for a runtime of type [nodejs].  Please correct the errors and try again.

No sure why this is checkin here as the tutorial uses npm.

Removing the file locally before deploying will fix the issue.

Activity

Next
  1. jmdobry
    added
    bug
    on Feb 7, 2017
  2. jmdobry
    self-assigned this
    on Feb 7, 2017
  3. jmdobry commented on Feb 7, 2017

    @jmdobry
    jmdobry
    on Feb 7, 2017
    Member
    More actions

    I have updated the tutorial to include instructions about using Yarn, and I have I've updated the dependencies in this repo such that the yarn check --strict-semver --integrity command should succeed during deployment.

  4. jmdobry
    closed this as completedon Feb 7, 2017
  5. happyjohnnylin commented on Feb 11, 2017

    @happyjohnnylin
    happyjohnnylin
    on Feb 11, 2017
    More actions

    On this tutorial - Run MongoDB on Google Cloud Platform:
    https://cloud.google.com/nodejs/resources/databases/mongodb

    I also hit an issue when executing "gcloud app deploy", which failed in errors that are same as above.

    It seems this page lacks this step!
    default

    or just remind to install yarn first, and use "yarn install", then "yarn start" :)

  6. jmdobry commented on Feb 12, 2017

    @jmdobry
    jmdobry
    on Feb 12, 2017
    Member
    More actions

    Good catch, I'll update this tutorial as well

  7. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Apr 7, 2020
  8. grayside
    added a commit that references this issue on Oct 26, 2022

    fix(deps): update dependency yargs to v15 (#308)

    77271c2
  9. ivanmkc
    added a commit that references this issue on Nov 3, 2022

    chore: release 2.3.0 (#308)

    9ce741e
  10. grayside
    added 2 commits that reference this issue on Nov 3, 2022

    fix(deps): update dependency yargs to v15 (#308)

    52be8ec

    chore: release 2.3.0 (#308)

    8276c96
  11. ace-n
    added 3 commits that reference this issue on Nov 11, 2022

    chore(deps): update dependency mocha to v7 (#308)

    8badb42

    chore(main): release 3.3.0 (#306)

    4b634e1

    chore(deps): update dependency mocha to v7 (#308)

    8f20322
  12. 3 remaining items

  13. ace-n
    added 10 commits that reference this issue on Nov 14, 2022

    chore(deps): update dependency supertest to v6 (#308)

    7a7e885

    chore(deps): update dependency mocha to v7 (#308)

    a7c042d

    chore(main): release 3.3.0 (#306)

    895dca7

    chore(deps): update dependency supertest to v6 (#308)

    acbbc52

    chore(deps): update dependency supertest to v6 (#308)

    a3f07c5

    chore(deps): update dependency mocha to v7 (#308)

    c7d1233

    chore(deps): update dependency mocha to v7 (#308)

    962f15c

    chore(main): release 3.1.1 (#307)

    6f68ec6

    chore(deps): update dependency mocha to v7 (#308)

    ab1f31e

    chore(deps): update dependency mocha to v7 (#308)

    cdeb915
  14. ahrarmonsur
    added a commit that references this issue on Nov 17, 2022

    chore(deps): update dependency mocha to v7 (#308)

    867cc1f
  15. ace-n
    added a commit that references this issue on Nov 17, 2022

    chore(main): release 3.1.1 (#307)

    6fa7847
  16. pattishin
    added a commit that references this issue on Nov 18, 2022

    chore(main): release 2.0.0 (#305)

    b3649d0
  17. ace-n
    added a commit that references this issue on Nov 21, 2022

    migrate code from googleapis/nodejs-dialogflow-cx (#2854)

    c0020e4
  18. pattishin
    added a commit that references this issue on Nov 22, 2022

    chore(main): release 2.0.0 (#305)

    bea596a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @jmdobry
    jmdobry

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.