Comments (7)
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.
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.
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.
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.
I can look into modernizing the dependencies a bit tonight to get around this.
from graphbrainz.
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.
@exogen Were you able to look into modernizing the dependencies?
from graphbrainz.
Related Issues (20)
- Heroku app down HOT 3
- Demo query returns error HOT 1
- Relationship helpers extension
- WikiData extension
- Wikipedia extension
- Genius extension
- Spotify extension HOT 1
- Doesnt the Spec say to to put the documentation in the `description` field? HOT 1
- Media tracks HOT 3
- Batch lookup queries using the search endpoint with ID fields
- Potential expansion to be less MusicBrainz-centric HOT 4
- browse.recordings bugged? HOT 1
- ESOCKETTIMEDOUT
- How to access relationship URLs HOT 3
- __typename-rels is not a valid inc parameter for the artist resource.
- Getting 500 errors HOT 2
- NPM Install Discogs extension on Heroku deploy does not work
- Not querying up to date data?
- https://github.com/exogen/graphbrainz#as-a-client use case not clear
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphbrainz.