0
Good afternoon guys, I’m having trouble trying while running an angular js project, because I only worked with angular 2+, at the time I run an npm start the following error occurs:
npm ERR! Missing script: start
npm ERR! A complete log of this run can be found in: npm ERR!
D: Users pedro.mindtek Appdata Roaming npm-cache_logs 2019-02-19T15_33_46_553Z-debug.log
Log in:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'D:\\Users\\pedro.mindtek\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: missing script: start
4 verbose stack at run (D:\Users\pedro.mindtek\AppData\Roaming\npm\node_modules\npm\lib\run-script.js:155:19)
4 verbose stack at D:\Users\pedro.mindtek\AppData\Roaming\npm\node_modules\npm\lib\run-script.js:63:5
4 verbose stack at D:\Users\pedro.mindtek\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:115:5
4 verbose stack at D:\Users\pedro.mindtek\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:418:5
4 verbose stack at checkBinReferences_ (D:\Users\pedro.mindtek\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:373:45)
4 verbose stack at final (D:\Users\pedro.mindtek\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:416:3)
4 verbose stack at then (D:\Users\pedro.mindtek\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:160:5)
4 verbose stack at ReadFileContext.<anonymous> (D:\Users\pedro.mindtek\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:332:20)
4 verbose stack at ReadFileContext.callback (D:\Users\pedro.mindtek\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:90:16)
4 verbose stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:420:13)
5 verbose cwd D:\IBGE\workspaces\Agatha\adaptacao-RedHat-OpenShift\agatha\codigo-fonte\cliente
6 verbose Windows_NT 10.0.14393
7 verbose argv "C:\\Program Files\\nodejs\\node.exe" "D:\\Users\\pedro.mindtek\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
8 verbose node v8.11.3
9 verbose npm v6.7.0
10 error missing script: start
11 verbose exit [ 1, true ]
Could someone tell me how to mount the Angular Js server? I already got the project ready here at the company and it’s hard to make it work.
Are you saying that there is no script called start.
– Jéf Bueno