Hi i have an error when i run 'npm run dev' or 'npm start' even after sucessfully run 'npm install'.
got this error message :
npm ERR! Missing script: "dev"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\me\AppData\Local\npm-cache_logs\2023-09-03T20_06_33_642Z-debug-0.log
I have tried to run 'npm run' it does nothing
and here is the full log :
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@9.5.1
2 info using node@v18.16.0
3 timing npm:load:whichnode Completed in 7ms
4 timing config:load:defaults Completed in 9ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 8ms
6 timing config:load:builtin Completed in 8ms
7 timing config:load:cli Completed in 8ms
8 timing config:load:env Completed in 2ms
9 timing config:load:file:C:\Users\me\Downloads\toofake-main.npmrc Completed in 0ms
10 timing config:load:project Completed in 6ms
11 timing config:load:file:C:\Users\me.npmrc Completed in 1ms
12 timing config:load:user Completed in 2ms
13 timing config:load:file:C:\Users\me\AppData\Roaming\npm\etc\npmrc Completed in 1ms
14 timing config:load:global Completed in 1ms
15 timing config:load:setEnvs Completed in 5ms
16 timing config:load Completed in 45ms
17 timing npm:load:configload Completed in 46ms
18 timing npm:load:mkdirpcache Completed in 1ms
19 timing npm:load:mkdirplogs Completed in 1ms
20 verbose title npm run dev
21 verbose argv "run" "dev"
22 timing npm:load:setTitle Completed in 6ms
23 timing config:load:flatten Completed in 14ms
24 timing npm:load:display Completed in 17ms
25 verbose logfile logs-max:10 dir:C:\Users\me\AppData\Local\npm-cache_logs\2023-09-03T20_06_33_642Z-
26 verbose logfile C:\Users\me\AppData\Local\npm-cache_logs\2023-09-03T20_06_33_642Z-debug-0.log
27 timing npm:load:logFile Completed in 25ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 106ms
31 silly logfile start cleaning logs, removing 6 files
32 timing command:run Completed in 30ms
33 verbose stack Error: Missing script: "dev"
33 verbose stack
33 verbose stack To see a list of scripts, run:
33 verbose stack npm run
33 verbose stack at RunScript.run (C:\Program Files\nodejs\node_modules\npm\lib\commands\run-script.js:99:13)
33 verbose stack at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli.js:134:5)
34 verbose cwd C:\Users\me\Downloads\toofake-main
35 verbose Windows_NT 10.0.19045
36 verbose node v18.16.0
37 verbose npm v9.5.1
38 error Missing script: "dev"
38 error
38 error To see a list of scripts, run:
38 error npm run
39 verbose exit 1
40 timing npm Completed in 278ms
41 verbose code 1
42 error A complete log of this run can be found in:
42 error C:\Users\me\AppData\Local\npm-cache_logs\2023-09-03T20_06_33_642Z-debug-0.log
Hi i have an error when i run 'npm run dev' or 'npm start' even after sucessfully run 'npm install'. got this error message : npm ERR! Missing script: "dev" npm ERR! npm ERR! To see a list of scripts, run: npm ERR! npm run
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\me\AppData\Local\npm-cache_logs\2023-09-03T20_06_33_642Z-debug-0.log
I have tried to run 'npm run' it does nothing
and here is the full log :
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js 1 info using npm@9.5.1 2 info using node@v18.16.0 3 timing npm:load:whichnode Completed in 7ms 4 timing config:load:defaults Completed in 9ms 5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 8ms 6 timing config:load:builtin Completed in 8ms 7 timing config:load:cli Completed in 8ms 8 timing config:load:env Completed in 2ms 9 timing config:load:file:C:\Users\me\Downloads\toofake-main.npmrc Completed in 0ms 10 timing config:load:project Completed in 6ms 11 timing config:load:file:C:\Users\me.npmrc Completed in 1ms 12 timing config:load:user Completed in 2ms 13 timing config:load:file:C:\Users\me\AppData\Roaming\npm\etc\npmrc Completed in 1ms 14 timing config:load:global Completed in 1ms 15 timing config:load:setEnvs Completed in 5ms 16 timing config:load Completed in 45ms 17 timing npm:load:configload Completed in 46ms 18 timing npm:load:mkdirpcache Completed in 1ms 19 timing npm:load:mkdirplogs Completed in 1ms 20 verbose title npm run dev 21 verbose argv "run" "dev" 22 timing npm:load:setTitle Completed in 6ms 23 timing config:load:flatten Completed in 14ms 24 timing npm:load:display Completed in 17ms 25 verbose logfile logs-max:10 dir:C:\Users\me\AppData\Local\npm-cache_logs\2023-09-03T20_06_33_642Z- 26 verbose logfile C:\Users\me\AppData\Local\npm-cache_logs\2023-09-03T20_06_33_642Z-debug-0.log 27 timing npm:load:logFile Completed in 25ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 106ms 31 silly logfile start cleaning logs, removing 6 files 32 timing command:run Completed in 30ms 33 verbose stack Error: Missing script: "dev" 33 verbose stack 33 verbose stack To see a list of scripts, run: 33 verbose stack npm run 33 verbose stack at RunScript.run (C:\Program Files\nodejs\node_modules\npm\lib\commands\run-script.js:99:13) 33 verbose stack at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli.js:134:5) 34 verbose cwd C:\Users\me\Downloads\toofake-main 35 verbose Windows_NT 10.0.19045 36 verbose node v18.16.0 37 verbose npm v9.5.1 38 error Missing script: "dev" 38 error 38 error To see a list of scripts, run: 38 error npm run 39 verbose exit 1 40 timing npm Completed in 278ms 41 verbose code 1 42 error A complete log of this run can be found in: 42 error C:\Users\me\AppData\Local\npm-cache_logs\2023-09-03T20_06_33_642Z-debug-0.log