Não consegui executar meu "Olá Mundo!"
Meu main.js
console.log("Olá Mundo!");
Meu package.json
{
"name": "alura-timer",
"version": "1.0.0",
"main": "main.js",
"start": "electron .",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Edison Volpe",
"license": "ISC",
"dependencies": {
"electron": "^1.4.15"
},
"devDependencies": {},
"description": ""
}
Quando executo C:\projetos\alura-timer>npm start
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! missing script: start
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\projetos\alura-timer\npm-debug.log