Closed jforaker closed 8 years ago
@jforaker, thanks, I will fix the README. You should run npm start
.
I am getting the same error not able to resolve it npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev" npm ERR! node v6.2.2 npm ERR! npm v3.10.2
npm ERR! missing script: dev npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues
@ns04stars, as stated above, you should use npm start
. Where did you find any references to npm run dev
?
not perfect yet...npm ERR! missing script: start
Why is this issue closed??... I just encountered the same error
@zalmoxisus ...following instructions from the official electron github page; see the link here
exactly I have same issue and searched a lot but couldn't find solution:(
Try to put this code in your package.json "scripts": { "dev": "webpack-dev-server --progress --colors --inline --hot" },
.
Replace the "test: ..." with "dev: ..."
Hello guys i had same problem. Was wrong doing npm commands from different folder, make sure u run commands from within your project folder.
Yep had same issue. Was in my client folder and not my server folder. Doh!
Resolved by using below in package.json file.
"scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "lite-server" },
Worked for me adding "dev": "lite-server" as @gargvivek86 said.
still not working for me, its showing an error when i add "dev":"lite-server"
I met the same problem,how to solve it?
Not solved yet, you’d better choose another tools!
On Sep 19, 2018, at 11:06 AM, qmzgirl notifications@github.com wrote:
I met the same problem,how to solve it?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zalmoxisus/crossbuilder/issues/30#issuecomment-422634090, or mute the thread https://github.com/notifications/unsubscribe-auth/AT71j9WXm2BTm9PFCYkPmJ2M_r6f5SlIks5ucbTOgaJpZM4HX67v.
solo trata de correr
npm install npm run build && npm run serve
you guys need to add this to your scripts and that should work! "scripts": { "start": "node app", "dev": "nodemon app" },
If you are using @vue/cli npm run dev maybe won't work, instead it worked for me on old cli: npm install vue-cli which install cli 2.9.2
npm install vue-cli => npm run dev npm install @vue/cli => npm start
Let me help you out of this problem : Please go to your project and try running "npm run dev" if it throws error : Like mentioned above please run below command , nano package.json or vi package.json and see if it has not "dev" task inside "scripts" as below , then please see if it is in "start" "scripts": { "build": "webpack --config webpack/webpack.config.prod.js --colors", "dev": "webpack-dev-server --open --config webpack/webpack.config.dev.js" } or "scripts": { "build": "webpack --config webpack/webpack.config.prod.js --colors", "start": "webpack-dev-server --open --config webpack/webpack.config.dev.js" } Then run command like npm run dev or npm run start based on it. Hope it will help. Mark it as resolved if it answered query. Please suggest for improvements, appreciated! .
instead of npm run dev use "npm run serve"
因果関係わかりませんが、routerを直接installしてから実行したらvue init webpackが実行できるようになり、npm run devもできるようになりました。
For anyone landing here in 2019, I was using pluralsight and the instructor tells you to use npm run dev
, as the comments suggested above, the command is actually npm run start
For anyone landing here in 2019, I was using pluralsight and the instructor tells you to use
npm run dev
, as the comments suggested above, the command is actuallynpm run start
Thank you so much. You are a God sent
For anyone landing here in 2019, I was using pluralsight and the instructor tells you to use
npm run dev
, as the comments suggested above, the command is actuallynpm run start
Thank you so much. You are a God sent
still have a problem after using the command: npm run start. pls help
I had the same problem too. If you confirm that you are in the correct folder on your terminal, then just run $ npm start and the will solve the problem. I just got mine fixed
npm run start
npm install --save-dev webpack
npm install --save-dev webpack-dev-server
worked for me.
npm install --save-dev webpack
npm install --save-dev webpack-dev-server
worked for me.
Thank you so much - it worked a treat!
It's also mentioned in Pluralsights course "Javascript Fundamentals" by Mark Zamoyta
only install nodemon and add this in your package.json:
"scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node app", "dev": "nodemon app"
Check out if the vscode it's sending a warning that the content cannot be saved because it is a new file and compare to the older one, after this just save and run.
only install nodemon and add this in your package.json:
"scripts": { "test": "echo "Error: no test specified" && exit 1", "start": "node app", "dev": "nodemon app"
Thanks Very Much !!!
I would just like to add that I found this thread extremely helpful. Especially zalmoxisus' comments, which got me rolling through a tutorial that I'm currently working on. Thanks again!
@jforaker, thanks, I will fix the README. You should run
npm start
.
I still get issue when run npm start
. I got error missing script: start
npm install --save-dev webpack
npm install --save-dev webpack-dev-server
worked for me.
Thanks, this worked for me
try use "npm run serve"
I've tried legit every method that has been suggested here, and nothing is working out ffs :(
i have been facing this issue "Missing script dev" despite of writing in package.json .....................................................................................Finally my solved only by saving the package.json and then "overwrite" it
npm run dev
missing script: "dev"