Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] npm error caused by a single quote in username #690

Closed
fbalhawan opened this issue Jan 13, 2020 · 2 comments
Closed

[BUG] npm error caused by a single quote in username #690

fbalhawan opened this issue Jan 13, 2020 · 2 comments
Labels
Bug thing that needs fixing

Comments

@fbalhawan
Copy link

I'm trying to install react native, whenever I execute npx react-native init AwesomeProject
I get

`npm ERR! code ENOLOCAL
npm ERR! Could not install from "HP\AppData\Roaming\npm-cache_npx\2732" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Fouad's HP\AppData\Roaming\npm-cache_logs\2020-01-13T01_20_40_146Z-debug.log
Install for react-native@latest failed with code 1`

As you can see, my windows username is "Fouad's HP", and the error shows that it npm could not install from HP\AppData... instead of Fouad'sHP\AppData...

@ljharb
Copy link
Contributor

ljharb commented Jan 13, 2020

See also npm/npx#31

@darcyclarke darcyclarke added the Bug thing that needs fixing label Oct 30, 2020
@darcyclarke
Copy link
Contributor

npm v6 is no longer in active development; We will continue to push security releases to v6 at our team's discretion as-per our Support Policy.

If your bug is preproducible on v7, please re-file this issue using our new issue template.

If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo

Closing: This is an automated message.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug thing that needs fixing
Projects
None yet
Development

No branches or pull requests

3 participants