我剛買了一臺運行Ubuntu 14.4的VPS,我安裝了Nodejs 1.4,但是當我運行我的腳本(node tradebot.js
)時,它只是說這個錯誤! : -/Node.js錯誤(NPM錯誤)
module.js:327 throw err; ^
Error: Cannot find module 'is-property'
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. (/home/Eazyskinz/node_modules/steamcommunity-mobile-confirmations/node_modules/request/node_modules/harvalidator/node_modules/is-my-json-valid/node_modules/generate-object-property/index.js:1:80)
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)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
我不是Ubuntu的專家,所以pleeeasy的幫助! :-)
嘗試'在終端NPM安裝是-property' – Komo
於是說:[email protected] node_modules /是-property –
你的腳本現在工作嗎? – Komo