Quando executo o npm run watch ele me retorna o seguinte erro:
npm ERR! missing script: watch
npm ERR! A complete log of this run can be found in:
npm ERR! /home/elton/.npm/_logs/2019-04-01T11_05_03_956Z-debug.log
Consequentemente a função de importar negociações do projeto não funciona.
O debug.log é esse
0 info it worked if it ends with ok
1 verbose cli [ '/home/elton/.nvm/versions/node/v10.15.0/bin/node',
1 verbose cli '/home/elton/.nvm/versions/node/v10.15.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'watch' ]
2 info using npm@6.4.1
3 info using node@v10.15.0
4 verbose stack Error: missing script: watch
4 verbose stack at run (/home/elton/.nvm/versions/node/v10.15.0/lib/node_modules/npm/lib/run-script.js:155:19)
4 verbose stack at /home/elton/.nvm/versions/node/v10.15.0/lib/node_modules/npm/lib/run-script.js:63:5
4 verbose stack at /home/elton/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:115:5
4 verbose stack at /home/elton/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:418:5
4 verbose stack at checkBinReferences_ (/home/elton/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:373:45)
4 verbose stack at final (/home/elton/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:416:3)
4 verbose stack at then (/home/elton/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:160:5)
4 verbose stack at /home/elton/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:280:12
4 verbose stack at /home/elton/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
5 verbose cwd /home/elton/.local/share/Trash/files/projeto-webpack/client
6 verbose Linux 4.9.0-8-amd64
7 verbose argv "/home/elton/.nvm/versions/node/v10.15.0/bin/node" "/home/elton/.nvm/versions/node/v10.15.0/bin/npm" "run" "watch"
8 verbose node v10.15.0
9 verbose npm v6.4.1
10 error missing script: watch
11 verbose exit [ 1, true ]
Já fiz o npm install.