Skip to content

docs: update npm-global folder location #1262

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

Merged
merged 2 commits into from
Sep 5, 2024
Merged

Conversation

mdsadiq
Copy link
Contributor

@mdsadiq mdsadiq commented Sep 5, 2024

added a sub folder "lib"

On following the steps mentioned in https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally,
OS : macOS

After completing step 5, i tried doing npx lighthouse https://google.com and it failed with following error

Screenshot 2024-09-05 at 12 19 59 PM

(Note: website url is just for an example)
(Note: i ran the above command, instead of step 6)

To fix this, make the following change to step 2.
Add a subfolder "lib"

References

I can create an issue if needed

@wraithgar wraithgar merged commit 8de2ed8 into npm:main Sep 5, 2024
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

Successfully merging this pull request may close these issues.

2 participants