当我输入npm start
时,它会报告错误。
zxcdeMacBook-Pro:remix-ide zxc$ npm start
> remix-ide@0.7.5 start /Users/zxc/geth/remix-ide
> npm-run-all -lpr serve watch onchange remixd
internal/modules/cjs/loader.js:615
throw err;
^
Error: Cannot find module 'minimatch'
at Function.Module._resolveFilename(internal/modules/cjs/loader.js:613:15)
at Function.Module._load (internal/modules/cjs/loader.js:539:25)
at Module.require (internal/modules/cjs/loader.js:667:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/Users/zxc/geth/remix-ide/node_modules/npm-run-all/lib/match-tasks.js:13:19)
at Module._compile (internal/modules/cjs/loader.js:738:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:749:10)
at Module.load (internal/modules/cjs/loader.js:630:32)
at tryModuleLoad (internal/modules/cjs/loader.js:570:12)
at Function.Module._load (internal/modules/cjs/loader.js:562:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! remix-ide@0.7.5 start: `npm-run-all -lpr serve watch onchange remixd`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the remix-ide@0.7.5 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zxc/.npm/_logs/2019-02-28T11_51_25_461Z-debug.log