-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] pack wrongly errors with npm@7.11.0 #3132
Comments
So the error comes from 42e0587#diff-eabad0b45ec780b8b57ae6e3d47fd7d063680bea3acdc6b98a4b45ba3b808cccR56-R58 introduced through #3115. $ npx pacote manifest ory-prettier-styles
{
name: 'ory-prettier-styles',
version: '1.1.2',
devDependencies: {
prettier: '^2.1.1',
typescript: '^4.0.2',
'@types/node': '^14.6.2',
'@types/prettier': '^2.1.0'
},
dist: {
integrity: 'sha512-J7YcNdGlfTKCXAHEoFl9lp5EhnIASGgM5ua9Y+8OdWtS9tXJTik5xFYCF6xS46tpI3sk8cxFguKWhZeaeb6Z/A==',
shasum: '750a35ab29d09ae1a95173ff6d11f70ec262aaaa',
tarball: 'https://registry.npmjs.org/ory-prettier-styles/-/ory-prettier-styles-1.1.2.tgz',
fileCount: 20,
unpackedSize: 31706,
'npm-signature': '-----BEGIN PGP SIGNATURE-----\r\n' +
'Version: OpenPGP.js v3.0.13\r\n' +
'Comment: https://openpgpjs.org\r\n' +
'\r\n' +
'wsFcBAEBCAAQBQJf9NoKCRA9TVsSAnZWagAAdcEP/3LTxjl7kdcKFgr/EwFG\n' +
'd/g73qTRgj9olKXZDBmUD6bOgiW+zGiwQF51mMDq9AlY2EL8WYGMdqnW7bmI\n' +
'0eFDbogEqwp40bcFcLhdDoQsuXNQAQBgACA3ph1/p0XxzaGCs/0UE2ufs7J0\n' +
'6i/rdq9wzZeTMOCPJndIG9kDjNc3oUiZAIqk/MgtHpg8v+92Xp6RXvUqRCU1\n' +
'yxO/PtU0gVzlHQ8R/Aey8k3zalV7n/CDRs0PnUpmCXVSpHMhvDtKQB6A26/q\n' +
'MgIzovQxSC6PpGXMa9f8G2atu+9zbDwcRfQpIhSom0UJsjo4CmYZ215RYx5O\n' +
'ap61z5xAQkVmlYDj7F7ZtvWNIu43PX3SjCrsZWwRfJOfai3Em2S9gQUrQTt+\n' +
'8PoQnUdUT29kBB7RMAYE1rApnlD1vEJUBifKCEQfRdnZ4f3bUoF6HbkBm+gl\n' +
'PKOU/daQH4TdAc+nQQ1fdb6xebiHp9GKsQAconc3A/wfVaicoWoh5m2ETcnM\n' +
'Mu9oiZDwtZFaQUgPU4Vn/2K81/Nag4pMeOaiJzinV8uxOEzeifYUuX3zYyT4\n' +
'f94f45Y8gt9Su/7LZWKmEMih4F1Vw53UI4tJJ1iQoh4voW13sWwTDhvHMCGI\n' +
'ZE2auFaZCnO5aGmgQcmJcQPIxgzR/uIq4nsr45L1D/+UZl5o3GRccbua/z94\n' +
'19pW\r\n' +
'=Bk+6\r\n' +
'-----END PGP SIGNATURE-----\r\n'
},
_resolved: 'https://registry.npmjs.org/ory-prettier-styles/-/ory-prettier-styles-1.1.2.tgz',
_from: 'ory-prettier-styles@',
_integrity: 'sha512-J7YcNdGlfTKCXAHEoFl9lp5EhnIASGgM5ua9Y+8OdWtS9tXJTik5xFYCF6xS46tpI3sk8cxFguKWhZeaeb6Z/A=='
} |
We'll have to dig into why pacote isn't adding that id to these items. afaik it's supposed to be. |
Yeah when it fetches the manifest from the registry it uses a completely different codepath, resulting in a wholly different manifest format. |
Current Behavior:
With npm@7.11.0 we see problems with some scripts that use
npm pack
, it works without a problem on npm@7.10.0It errors recently with
Invalid package, must have name and version
, while it worked before without a problem.Expected Behavior:
npm pack
to work as beforeSteps To Reproduce:
Environment:
see steps above
Thanks a lot ❤️
The text was updated successfully, but these errors were encountered: