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
Error Command failed with exit code 1. On Windows 10 When run " yarn start " any idea? #7
Comments
Hmmm, try to run (from project root): |
Thanks for answering @villeristi, unfortinately it's not work but when yarn fetch the packages, it give me those warnings ( fsevents compatible only with Mac OS, May be the problem is there ) : |
Unfortunately I'm getting the same thing with a freshly cloned repo. Using yarn 0.19.1 on Windows 7. I ran yarn start v0.19.1 |
any solution ? 🐛 |
I believe the problem might be that webpack-validator does not (and has no plans to) support Webpack v2. I tried removing webpack-validator, but unfortunately was still not able to make this starter template work. |
Hi all, unfortunately haven't had any time digging in to this. But the error is not due to webpack-validator as it's not run on start and does not prevent the startup. |
Windows has an issue with the spawn command which is resolved using cross-spawn. Webpack-dashboard has a dependency on cross-spawn, and that's where the error is originating from (FormidableLabs/webpack-dashboard#83). I've tried updating webpack-dashboard to the latest, but it hasn't resolved the issue for me. My Node version is out of date too.. trying that next. |
You can currently work around the issue by not using webpack-dashboard, just replace |
I was able to get it to work by removing the spaces from the -t parameter in the start script defined in package.json,
|
* release/0.9.1: Update Vue-depency to `2.2.2`. Fixes #12 & reported by @shiya. Add Babel-options to package.json. Fixes #10 & reported by @painhardcore. Remove Webpack-validator as redundand. Closes #9. Remove spaces from quoted webpack-dashboard title to actually make the start-script work on Windows. Fixes #7 & reported by @bfhobbes.
error Command failed with exit code 1. |
Which command? |
yarn add webpack - solved this issue for me :) |
I'm on win10, same issue, same error. |
windows7 "yarn start" error, then I "yarn"(may it error also,but it doesnot matter), then "yarn start", it works! |
@ereztdev |
Try that will work |
Hi! Working on a different project but I ran across a similar error in windows. What helped me was changing the single quote for example: Hope it helps! |
Hello guys , My operating system is Windows 10 . Error : Command failed with exit code 1 (Unknown system error -1): yarnpkg Error: Command failed with exit code 1 (Unknown system error -1): yarnpkg
|
Hey dude you don't have gatsby setup for windows properly - |
λ yarn start
yarn start v0.18.1
$ webpack-dashboard -c magenta -t 'Vue.js Starter Template' -- webpack-dev-server --config webpack/development.js --progress
Error: spawn Starter ENOENT
at notFoundError (C:\Users\Dukens\Documents\projects\vue\node_modules\webpack-dashboard\node_modules\cross-spawn\lib\enoent.js:11:11)
at verifyENOENT (C:\Users\Dukens\Documents\projects\vue\node_modules\webpack-dashboard\node_modules\cross-spawn\lib\enoent.js:46:16)
at ChildProcess.cp.emit (C:\Users\Dukens\Documents\projects\vue\node_modules\webpack-dashboard\node_modules\cross-spawn\lib\enoent.js:33:19)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
internal/process.js:172
throw errnoException(err, 'kill');
^
Error: kill ESRCH
at exports._errnoException (util.js:1036:11)
at process.kill (internal/process.js:172:13)
at process. (C:\Users\Dukens\Documents\projects\vue\node_modules\webpack-dashboard\bin\webpack-dashboard.js:70:11)
at emitOne (events.js:101:20)
at process.emit (events.js:188:7)
at process.exit (internal/process.js:146:15)
at Immediate. (C:\Users\Dukens\Documents\projects\vue\node_modules\blessed\lib\widgets\screen.js:221:15)
at runCallback (timers.js:574:20)
at tryOnImmediate (timers.js:554:5)
at processImmediate [as _immediateCallback] (timers.js:533:5)
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: