Giter Club home page Giter Club logo

Comments (7)

exogen avatar exogen commented on May 21, 2024 1

I ran into some difficulties upgrading, but for now an easy workaround was to reset the lockfile completely and reinstall, letting everything re-resolve while keeping the same version specifiers in package.json.

So things are still fairly out of date, but it should be installable now! I'm working on the upgrade issues.

from graphbrainz.

exogen avatar exogen commented on May 21, 2024

Which dependencies 404? I don't think any npm dep should ever 404 since they're supposed to be immutable.

It's more that there's not much left to do on this project besides bumping dependencies or a major refactor. Otherwise, all the features I need exist.

from graphbrainz.

BradNut avatar BradNut commented on May 21, 2024

I forked the project and tried just straight pointing Heroku at the repository and I had an issue when it tried to build. Maybe I am just doing it wrong since I didn't see any example for deploying to Heroku.
The following output:

-----> Building on the Heroku-20 stack
-----> Node.js app detected
-----> Creating runtime environment
       NPM_CONFIG_LOGLEVEL=error

       USE_YARN_CACHE=true

       NODE_VERBOSE=false

       NODE_ENV=production

       NODE_MODULES_CACHE=true

       

-----> Installing binaries

       engines.node (package.json):  >=8.10.0

       engines.npm (package.json):   >=5.2.0

       engines.yarn (package.json):  unspecified (use default)

       

       Resolving node version >=8.10.0...

       Downloading and installing node 15.11.0...

       Bootstrapping npm >=5.2.0 (replacing 7.6.0)...

       npm >=5.2.0 installed

       Resolving yarn version 1.22.x...

       Downloading and installing yarn (1.22.10)

       Installed yarn 1.22.10

       

-----> Installing dependencies

       Installing node modules (yarn.lock)

       yarn install v1.22.10

       [1/4] Resolving packages...

       [2/4] Fetching packages...

       error An unexpected error occurred: "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.6.tgz: Request failed \"404 Not Found\"".

       info If you think this is a bug, please open a bug report with the information provided in "/tmp/build_bcb8e13d/yarn-error.log".

       info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

-----> Build failed

       

       We're sorry this build is failing! You can troubleshoot common issues here:

       https://devcenter.heroku.com/articles/troubleshooting-node-deploys

       

       Some possible problems:

       

       - Dangerous semver range (>) in engines.node

         https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version

       

       Love,

       Heroku

       

 !     Push rejected, failed to compile Node.js app.

 !     Push failed

from graphbrainz.

exogen avatar exogen commented on May 21, 2024

It looks to just be unlucky that a vulnerable version of event-stream was captured in the dependencies: https://blog.npmjs.org/post/180565383195/details-about-the-event-stream-incident

Although I'm a bit confused at how that could happen since there's no lockfile or anything in this repo that would be specifying that specific of a version. Maybe a subdep species a specific version?

from graphbrainz.

exogen avatar exogen commented on May 21, 2024

I can look into modernizing the dependencies a bit tonight to get around this.

from graphbrainz.

BradNut avatar BradNut commented on May 21, 2024

Ok yeah that may be helpful. I was looking through the dependencies locally and trying to update but obviously the person who wrote it would be quicker haha.

from graphbrainz.

BradNut avatar BradNut commented on May 21, 2024

@exogen Were you able to look into modernizing the dependencies?

from graphbrainz.

Related Issues (20)

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.