This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Description
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