Giter Site home page Giter Site logo

Comments (3)

Ben5874 avatar Ben5874 commented on August 20, 2024 2

Thanks Matt,
I copied your solution. Deleted the package-lock.json, ran npm install and then went into the readme and updated the Heroku deploy link to use the forked version. It worked.

from sample-app-nodejs.

matt-bailey avatar matt-bailey commented on August 20, 2024

I'm going to answer my own question, for anyone else struggling with this. Basically I missed a few things (or at least the documentation doesn't tell you to do this):

  1. Fork the repo - don't just click the 'Deploy to Heroku' button on this repo
  2. I don't know if this is required or not (the error above suggests there's an integrity issue with one of the dependencies), but I removed package-lock.json, and then ran npm install to generate a new one
  3. Make sure you then update the URL on the 'Deploy to Heroku' button to your own forked, updated repo, or you'll only end up trying to deploy the original repo again and getting the same error (this got me a few times)

Hope this helps...

from sample-app-nodejs.

bc-chaz avatar bc-chaz commented on August 20, 2024

This issue has been addressed in #102. Confirmed successful Heroku deploy from main branch

from sample-app-nodejs.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.