Conferi o package.json pra ver se tinha algo diferente mas esta normal, alguém ai já passou por isso? Log terminal
> estudo-typescript@1.0.0 start
> concurrently "npm run watch" "npm run server"
sh: concurrently: command not found
npm ERR! code 127
npm ERR! path /Users/juniormoraes/Angular-projetos/Linguagem typescript/estudo-typescript
npm ERR! command failed
npm ERR! command sh -c concurrently "npm run watch" "npm run server"
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/juniormoraes/.npm/_logs/2021-03-05T13_02_29_015Z-debug.log
Package.json
{
"name": "estudo-typescript",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"compile": "tsc",
"watch": "tsc -w",
"server": "lite-server --baseDir=app",
"start": "concurrently \"npm run watch\" \"npm run server\""
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/jquery": "^2.0.42",
"@types/lodash": "^4.14.112",
"@types/underscore": "^1.11.0",
"concurrently": "^3.4.0",
"lite-server": "^2.6.1",
"typescript": "^2.9.2"
}
}
Log
0 verbose cli [
0 verbose cli '/usr/local/Cellar/node/15.10.0_1/bin/node',
0 verbose cli '/usr/local/bin/npm',
0 verbose cli 'start'
0 verbose cli ]
1 info using npm@7.5.3
2 info using node@v15.10.0
3 timing config:load:defaults Completed in 1ms
4 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
5 timing config:load:builtin Completed in 2ms
6 timing config:load:cli Completed in 2ms
7 timing config:load:env Completed in 0ms
8 timing config:load:file:/Users/juniormoraes/Angular-projetos/Linguagem typescript/estudo-typescript/.npmrc Completed in 0ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:/Users/juniormoraes/.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 1ms
14 timing config:load:cafile Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:setUserAgent Completed in 1ms
17 timing config:load:setEnvs Completed in 0ms
18 timing config:load Completed in 8ms
19 verbose npm-session aea69f0301184bb2
20 timing npm:load Completed in 23ms
21 timing command:run-script Completed in 18ms
22 timing command:start Completed in 20ms
23 verbose stack Error: command failed
23 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
23 verbose stack at ChildProcess.emit (node:events:378:20)
23 verbose stack at maybeClose (node:internal/child_process:1067:16)
23 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
24 verbose pkgid estudo-typescript@1.0.0
25 verbose cwd /Users/juniormoraes/Angular-projetos/Linguagem typescript/estudo-typescript
26 verbose Darwin 18.7.0
27 verbose argv "/usr/local/Cellar/node/15.10.0_1/bin/node" "/usr/local/bin/npm" "start"
28 verbose node v15.10.0
29 verbose npm v7.5.3
30 error code 127
31 error path /Users/juniormoraes/Angular-projetos/Linguagem typescript/estudo-typescript
32 error command failed
33 error command sh -c concurrently "npm run watch" "npm run server"
34 verbose exit 127