-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Missing script: start #843
Comments
In your repo, all {
"name": "Demo",
"version": "0.1.0",
"homepage": "https://github.com/chrisfinazzo/react-demo",
"repository": {
"type": "git",
"url": "https://github.com/chrisfinazzo/react-demo.git"
},
"author": {
"name": "Chris Finazzo",
"url": "https://chrisfinazzo.com/",
// none of the keys below should be inside "author"
"private": "true",
"devDependencies": {
"react-scripts": "0.6.1"
},
"dependencies": {
"react": "^15.3.2",
"react-dom": "^15.3.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}
} Did you edit it manually, or was it edited by some tool? This is how it should look like instead: {
"name": "Demo",
"version": "0.1.0",
"homepage": "https://github.com/chrisfinazzo/react-demo",
"repository": {
"type": "git",
"url": "https://github.com/chrisfinazzo/react-demo.git"
},
"author": {
"name": "Chris Finazzo",
"url": "https://chrisfinazzo.com/",
"private": "true",
"devDependencies": {
"react-scripts": "0.6.1"
},
{
"name": "Demo",
"version": "0.1.0",
"homepage": "https://github.com/chrisfinazzo/react-demo",
"repository": {
"type": "git",
"url": "https://github.com/chrisfinazzo/react-demo.git"
},
"author": {
"name": "Chris Finazzo",
"url": "https://chrisfinazzo.com/",
},
"private": "true",
"devDependencies": {
"react-scripts": "0.6.1"
},
"dependencies": {
"react": "^15.3.2",
"react-dom": "^15.3.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Follow up to #82, npm refuses to run
start
claiming that it doesn't exist. However, it is clearly in mypackage.json
and should callreact-scripts-start
.Expected behavior
The server should start and instruct me to open localhost:3000.
Actual behavior
### Environment
1.
2.
node -v
: 6.7.03.
npm -v
: 3.10.7Then, specify:
Reproducible Demo
The repository is located here.
From the looks of it, is this a configuration error b/c of Homebrew?
The text was updated successfully, but these errors were encountered: