Por favor alguém conseguiria me ajudar com o erro descrito abaixo?
concurrently "npm run watch" "npm run server"
[0]
16:58:22 - Starting compilation in watch mode...
[0]
[1] C:\Dev\Angular\TypeScript parte 2 Mais técnicas e boas práticas\alurabank\alurabank\node_modules\micromatch\index.js:44
[1] let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);
[1] ^^^
[1]
[1] SyntaxError: Unexpected token ...
[1] at createScript (vm.js:56:10)
[1] at Object.runInThisContext (vm.js:97:10)
[1] at Module.compile (module.js:549:28)
[1] at Object.Module.extensions..js (module.js:586:10)
[1] at Module.load (module.js:494:32)
[1] at tryModuleLoad (module.js:453:12)
[1] at Function.Module.load (module.js:445:3)
[1] at Module.require (module.js:504:17)
[1] at require (internal/module.js:20:19)
[1] at Object. (C:\Dev\Angular\TypeScript parte 2 Mais técnicas e boas práticas\alurabank\alurabank\nodemodules\browser-sync\dist\public\stream.js:3:18)
[1]
[1] npm ERR! Windows_NT 10.0.19041
[1] npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "server"
[1] npm ERR! node v6.17.1
[1] npm ERR! npm v3.10.10
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! alurabank@1.0.0 server: lite-server --baseDir=app
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the alurabank@1.0.0 server script 'lite-server --baseDir=app'.
[1] npm ERR! Make sure you have the latest version of node.js and npm installed.
[1] npm ERR! If you do, this is most likely a problem with the alurabank package,
[1] npm ERR! not with npm itself.
[1] npm ERR! Tell the author that this fails on your system:
[1] npm ERR! lite-server --baseDir=app
[1] npm ERR! You can get information on how to open an issue for this project with:
[1] npm ERR! npm bugs alurabank
[1] npm ERR! Or if that isn't available, you can get their info via:
[1] npm ERR! npm owner ls alurabank
[1] npm ERR! There is likely additional logging output above.
[1]
[1] npm ERR! Please include the following file with any support request:
[1] npm run server exited with code 1
[0] 16:58:24 - Found 0 errors. Watching for file changes.
th code 1
uso a versão 6.17.1 do Node
e a versão 3.10.10 do npm
segue meu package.json:
{
"name": "alurabank",
"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",
"concurrently": "^3.4.0",
"lite-server": "^2.3.0",
"typescript": "^2.3.2"
} }