generator-electron-naive
generator-electron-naive copied to clipboard
Error is thrown at npm run dev
`
[email protected] dev /vagrant/youtube-downloader
node ./node_modules/.bin/gulp dev
[06:52:22] Using gulpfile /vagrant/youtube-downloader/gulpfile.js [06:52:22] Starting 'dev'... [06:52:23] 'dev' errored after 1.17 s [06:52:23] Error: Command failed: node ./node_modules/.bin/electron ./src/
at ChildProcess.exithandler (child_process.js:270:12)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at maybeClose (internal/child_process.js:921:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
```
I just tried, it's working. Can you provide more error information?
I am using vagrant for development.
OS is Ubuntu 14.04.
If i run node ./node_modules/.bin/electron ./src/ in terminal it runs successfully. but with npm run dev
it fails..
I have attached gulpfile.js .
If you need any more information .please let me know
gulpfile.txt
That's weird! What is the version of node.js you are using?
I am using node v8.2.1
As described in npm doc run-script, see below:

npm run dev is equivalent to node_modules/.bin/gulp dev. What is the error? Caused by gulpfile.js? Please provide full error message

i created new project named naive and then ran npm run dev command..i got error as shown in the image. Do you want me to lower node version to 6(stable) and check if its giving error on my system?
@ns23 can you try node ./node_modules/.bin/electron ./src/ in CLI to see if this command working? I don't have a ubuntu env, need your help for confirming this issue
coomand is executed successfully...window appers ..but when i press alt + tab,window disappears
