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

Unable to start a Create react app with Hotel #336

Open
glecetre opened this issue Feb 28, 2019 · 1 comment
Open

Unable to start a Create react app with Hotel #336

glecetre opened this issue Feb 28, 2019 · 1 comment

Comments

@glecetre
Copy link

glecetre commented Feb 28, 2019

I have a pretty basic CRA app in /home/jeahel/dev/the-hive/myapp and I added it to Hotel with hotel add 'npm start' while my CWD was /home/jeahel/dev/the-hive/myapp. The server conf seems good:

{
  "cwd": "/home/jeahel/dev/the-hive/myapp",
  "cmd": "npm start",
  "env": {
    "PORT": 3000
  }
}

But when starting the server from Hotel, the toggle next to its name goes ON then OFF right away. No logging, no error, no mean to know what's happening.

I tried with hotel run and it works OK.

Note: I use the Fish shell.

@emmamones
Copy link

i get the following errorreact-scripts start

'react-scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

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

No branches or pull requests

2 participants