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

[lockfile-explorer] missing dependencies for first init #4705

Closed
harttle opened this issue May 14, 2024 · 1 comment
Closed

[lockfile-explorer] missing dependencies for first init #4705

harttle opened this issue May 14, 2024 · 1 comment

Comments

@harttle
Copy link
Contributor

harttle commented May 14, 2024

Summary

I installed lockfile-explorer and run it immediately.

Repro steps

Following docs here: https://github.com/microsoft/rushstack/tree/main/apps/lockfile-explorer

npm install -g @rushstack/lockfile-explorer
lockfile-explorer

The second command fails.

Expected result:

Not throw error.

Actual result:

Outputs following and exits with non-zero code.

➜  tmp git:(macos) ✗ npm install -g @rushstack/lockfile-explorer


changed 178 packages in 2s
➜  tmp git:(macos) ✗ lockfile-explorer

node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module '@microsoft/rush-lib/lib/api/RushConfiguration'
Require stack:
- ~/.nvm/versions/node/v18.12.1/lib/node_modules/@rushstack/lockfile-explorer/lib/init.js
- ~/.nvm/versions/node/v18.12.1/lib/node_modules/@rushstack/lockfile-explorer/lib/start.js
- ~/.nvm/versions/node/v18.12.1/lib/node_modules/@rushstack/lockfile-explorer/bin/lockfile-explorer

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@rushstack/lockfile-explorer version? 1.4.3
Operating system? Mac
Would you consider contributing a PR? Yes
Node.js version (node -v)? v18.12.1
@iclanton
Copy link
Member

This was fixed by #4697.

@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants