Skip to content
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

create-react-app on Ubuntu Server 16.04.1 LTS #576

Closed
sebbor1 opened this issue Sep 4, 2016 · 4 comments · May be fixed by BitOneInc/create-react-app#79
Closed

create-react-app on Ubuntu Server 16.04.1 LTS #576

sebbor1 opened this issue Sep 4, 2016 · 4 comments · May be fixed by BitOneInc/create-react-app#79

Comments

@sebbor1
Copy link

sebbor1 commented Sep 4, 2016

Is the way to run it on Ubuntu Server 16.04
I try to run it, but have an error:

`root@ubuntu:/mnt/hgfs/Apps# create-react-app test
Creating a new React app in /mnt/hgfs/Apps/test.

Installing packages. This might take a couple minutes.
Installing react-scripts from npm...

test@0.1.0 /mnt/hgfs/Apps/test
└── (empty)

npm WARN optional Skipping failed optional dependency /react-scripts/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
npm WARN optional Skipping failed optional dependency /react-scripts/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--save-dev" "--save-exact" "react-scripts"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! path /mnt/hgfs/Apps/test/node_modules/.react-scripts.DELETE/node_modules/Base64
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/mnt/hgfs/Apps/test/node_modules/.react-scripts.DELETE/node_modules/Base64' -> '/mnt/hgfs/Apps/test/node_modules/react-scripts/node_modules/Base64'
npm ERR! enoent ENOENT: no such file or directory, rename '/mnt/hgfs/Apps/test/node_modules/.react-scripts.DELETE/node_modules/Base64' -> '/mnt/hgfs/Apps/test/node_modules/react-scripts/node_modules/Base64'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! /mnt/hgfs/Apps/test/npm-debug.log
npm ERR! code 1
npm install --save-dev --save-exact react-scripts failed
`

@gaearon
Copy link
Contributor

gaearon commented Sep 4, 2016

This looks like either an npm bug or a network issue. I would recommend to update npm and try again.

@aaronplanell
Copy link

Maybe is the version of node. You're using the v4.2.6. I'm using the v6.3.1 with Ubuntu 16.04 and I have no problem with the create-react-app. Can you upgrade it using nvm and try again?

@gaearon
Copy link
Contributor

gaearon commented Sep 5, 2016

I'm going to close because this is not something we could fix either way. Please file an issue with npm if it persists. Sorry we couldn't help you!

@gaearon gaearon closed this as completed Sep 5, 2016
@ntokarsk
Copy link

ntokarsk commented Dec 3, 2016

You just have to use: sudo npm i create-react-app -g

@tgig tgig mentioned this issue Mar 2, 2017
@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants