Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

Error when running new react-component #566

Open
sb89 opened this issue Jan 27, 2021 · 0 comments
Open

Error when running new react-component #566

sb89 opened this issue Jan 27, 2021 · 0 comments

Comments

@sb89
Copy link

sb89 commented Jan 27, 2021

This issue is a: Bug report

Whenever I try to create a new react component, I get the following:

nwb new react-component react-facebook-login-2
Creating a react-component project...
? Do you want to create an ES modules build for use by compatible bundlers? Yes
? Do you want to create a UMD build for global usage via <script> tag? No
  create .gitignore
  create .travis.yml
  create CONTRIBUTING.md
  create README.md
  create demo/src/index.js
  create nwb.config.js
  create package.json
  create src/index.js
  create tests/.eslintrc
  create tests/index.test.js
✖ Installing react and react-dom
Error running command: npm install failed
Error: npm install failed
    at ChildProcess.<anonymous> (/home/steven/.nvm/versions/node/v15.5.1/lib/node_modules/nwb/lib/utils.js:179:17)
    at ChildProcess.emit (node:events:376:20)
    at maybeClose (node:internal/child_process:1063:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:295:5)

Node: 15.5.1
NPM: 7.3.0
NWB: 0.25.2

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

No branches or pull requests

1 participant