heroku搭服务器走到最后一步出了问题
nodejs吧
全部回复
仅看楼主
level 1
Wanz00 楼主
Macbook-Air:~ tonyhsu$ node local.js -s *******.herokuapp.com -l 1080 -m aes-256-cfb -k ******
module.js:327
throw err;
^
Error: Cannot find module './encrypt'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/Users/tonyhsu/local.js:21:15)
at Object.<anonymous> (/Users/tonyhsu/local.js:322:4)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
请问大神这个怎么破……[npm install ./encrypt]已经试过结果如下
npm ERR! addLocal Could not install /Users/tonyhsu/encrypt
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "./encrypt"
npm ERR! node v4.5.0
npm ERR! npm v3.10.7
npm ERR! path /Users/tonyhsu/encrypt
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/Users/tonyhsu/encrypt'
npm ERR! enoent ENOENT: no such file or directory, open '/Users/tonyhsu/encrypt'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /Users/tonyhsu/npm-debug.log
2016年09月15日 16点09分 1
1