-
-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Description
Can you reproduce the problem with latest npm?
Yes
Description
Trying to create an app for create-react
What are you reporting?
error when
Expected behavior
Creates the wireframe for a new react app
Actual behavior
Error installing, all is cleaned up
Environment
whoami root
node -v v7.9.0
npm -v 4.5.0
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
docker -v Docker version 17.03.0-ce, build 3a232c8
Reproducible Demo
#start a docker container based on ubuntu
sudo docker run -ti --name REACT -p 8081:3000 -v /vagrant/apps/healthylinkx-ux-react:/myapp ubuntu /bin/bash
#execute these commands
apt-get update && apt-get -y install npm curl
curl -sL https://deb.nodesource.com/setup_7.x | bash - && apt-get install -y nodejs
npm install -g npm@latest
npm install -g create-react-app
cd /myapp
create-react-app myapp
attached is the log file from /root/.npm/_logs