Skip to content
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 in case of that pnpm project is in nested form #99

Open
Kang3498 opened this issue Jul 10, 2024 · 1 comment
Open

Bug in case of that pnpm project is in nested form #99

Kang3498 opened this issue Jul 10, 2024 · 1 comment

Comments

@Kang3498
Copy link

Kang3498 commented Jul 10, 2024

Hello,
ENOLOCK error occurs if pnpm project is in nested form.
I didn't use the pnpm workspace.

ex)
root
├── package.json
├── pnpm-lock.yaml
├── sub-folder
│      ├── package.json
│      └── pnpm-lock.yaml <- ENOLOCK error.
`

@bestickley
Copy link

I've run into this issue as well. Here is the output from my aggregated_results.txt:

>>>>>> Begin pnpm audit output for /tmp/ash-run-scan.etIU >>>>>>

No known vulnerabilities found

<<<<<< End pnpm audit output for /tmp/ash-run-scan.etIU <<<<<<


>>>>>> Begin npm audit output for /tmp/ash-run-scan.etIU >>>>>>

npm error code ENOLOCK
npm error audit This command requires an existing lockfile.
npm error audit Try creating one first with: npm i --package-lock-only
npm error audit Original error: loadVirtual requires existing shrinkwrap file
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-07-18T11_28_38_330Z-debug-0.log

<<<<<< End npm audit output for /tmp/ash-run-scan.etIU <<<<<<

I'll have open source repository to reproduce soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants