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
prepare script error is ignored on install #4038
Comments
The prepare script is only executed during local development. When running |
|
so its a bug in the npm package, cos the pnpm could detect this too, since package.json has "main": "dist/index.js",
"files": [
"index.d.ts",
"dist/",
"lib/"
],
currently, this npm init -y
npm i @snyk/graphlib
node -e "require('@snyk/graphlib')" will give a runtime error
|
im trying to install @snyk/graphlib
the package is broken, so the
prepare
script throws, but pnpm hides the errorgraphlib/package.json
should be
and
tsconfig.json
is missingsimilar #3756
The text was updated successfully, but these errors were encountered: