我的服务器环境:找不到模块” ../../../../[email protected]/index.js',而使用‘松露服务’命令
Linux 4.4.0-57-generic (ubuntu 16.04 Xenial)
node v6.9.2
npm v3.10.9
truffle v2.1.1
我试图用truffle和ethereum-testrpc设置Ethereum开发环境,在命令“松露服务”之后出现错误。似乎错误是由无法找到is-buffer/index.js引起的,实际上它已经安装在: /usr/local/nodejs/lib/node_modules/truffle/node_modules/[email protected]$/index.js
我是否需要更改某个文件以将其指向正确的路径?
Completed with errors on Tue Dec 27 2016 17:04:56 GMT+0800 (CST) Error: Cannot find module '../../../../[email protected]/index.js' from '/usr/local/nodejs/lib/node_modules/truffle/node_modules/[email protected]/lib' at /usr/local/nodejs/lib/node_modules/truffle/node_modules/[email protected]/lib/async.js:55:21 at load (/usr/local/nodejs/lib/node_modules/truffle/node_modules/[email protected]/lib/async.js:69:43) at onex (/usr/local/nodejs/lib/node_modules/truffle/node_modules/[email protected]/lib/async.js:92:31) at /usr/local/nodejs/lib/node_modules/truffle/node_modules/[email protected]/lib/async.js:22:47 at FSReqWrap.oncomplete (fs.js:123:15)