-
Notifications
You must be signed in to change notification settings - Fork 964
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
npm install issues on latest master (Seaport support) #560
Comments
These git dependencies did bite me, too, even using Yarn (3). Any chance to replace them with normal regular deps that "just work"? 🙏 Or even bundle them if you need to. |
Thanks for bringing this up, my suspicion is that the |
@esteban-OpenSea I keep reading this argument when someone brings up the installation difficulties, but I don't see why. If you release a well-conforming package, any package manager should be able to install it. You can't make someone swap out a major piece of their stack, just because your package doesn't work well in some cases. It's like saying "then use Firefox" when someone reports your site is broken in Chrome. If you ever worked on a large scale JS project (let's say a monorepo), you know that it may take a lot of effort to make the switch, even for testing purposes. What do you mean by: "my suspicion is that the package-lock.json file might need to be updated." ? NPM keeps I tell you what's wrong: When you are producing a library, you want to make sure it's compatible with as much of the ecosystem as possible. This involves some things:
If you are interested I can perhaps give more guidance in the form of a consultancy session (or similar), but either way, these packages need a lot of cleanup before they are reliable for production usage. I'm currently considering cutting it from my project (and reimplementing required functionality by hand) as it's making it totally unusable with the size bloat and installation flakiness: Since I installed my |
@marcelltoth, you are 100% correct. Unfortunately, all of these issues have been repeatedly brought up over many issues in this repo and have largely all been closed without being addressed. The project is poorly maintained, which isn't a necessarily a problem in and of itself, but consistent feedback and offers to help go ignored, and that certainly is. We've come to the similar conclusion, at great personal financial expense, that this project's definition of "production ready" is not remotely aligned with ours and it is all but unusable. |
@mohoff if possible can you try upgrading to npm greater than version |
For anyone using yarn in need of a workaround:
This will force the resolution of a different version of wyvern-schemas than the one required by opensea-js (which is broken because of a checksum mismatch). |
Ended up upgrading to latest Since this thread mentions solutions for both npm and yarn, I'm closing. Thanks |
Although this was resolved, for the record: as I understand it, The problem is the compression step -- because So, despite the fact that a This isn't a problem for installations of packages from the central NPM package repository, because the file contents and integrity hash were calculated on a fixed machine once, and the same file content should be delivered to whichever machine installs it -- that machine does not have to re-compress any content. As of NPM v8.5.2, installation of dependencies from And an aside: Being able to install and verify packages reliably from Version numbers are certainly more convenient for human-readability (including the value provided by various versioning schemes like SemVer, CalVer, etc), but ultimately if+when anyone wants to inspect the precise changes between two package versions, the common denominator is a pair of commits. |
Hi, my package.json includes:
The 1st line has the latest master commit with Seaport support. The latter is the soon-legacy SDK which installs fine.
On
npm install
I'm getting an integrity check error:I know the node+npm version combo is weird but after trying different setups between npm@6,7,8 and node@12,16 this got me the furthest. The integrity sha512 of the log is not part of the lock file so can't delete that follwing the advice in https://stackoverflow.com/a/65983202. Using yarn is not an option in my case.
Thanks in advance! Excited for Seaport!
The text was updated successfully, but these errors were encountered: