Error: Cannot find module 'node-wit'
Error: Cannot find module 'node-wit'
Error: Cannot find module 'node-wit'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/user/Documents/Projects/NodeJS/node-wit/examples/quickstart.js:10:9)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
我不知道为什么我在使用 https://github.com/wit-ai/node-wit.git
时遇到了那个错误
我的节点版本是v5.11.1
但是我安装了 npm install --save node-wit
得到了以下错误:
您正在使用存储库本身内的快速入门示例。它要求在第 7+8 行中使用 node-wit
,如果第 7+8 行失败,则在 catch 中。
只需在 catch 中记录错误,您就会看到哪里出了问题。我怀疑模块本身不是 working/buggy,因为 require 看起来是正确的(require(../')
将需要 index.js
)
Error: Cannot find module 'node-wit'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/user/Documents/Projects/NodeJS/node-wit/examples/quickstart.js:10:9)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
我不知道为什么我在使用 https://github.com/wit-ai/node-wit.git
时遇到了那个错误我的节点版本是v5.11.1
但是我安装了 npm install --save node-wit
得到了以下错误:
您正在使用存储库本身内的快速入门示例。它要求在第 7+8 行中使用 node-wit
,如果第 7+8 行失败,则在 catch 中。
只需在 catch 中记录错误,您就会看到哪里出了问题。我怀疑模块本身不是 working/buggy,因为 require 看起来是正确的(require(../')
将需要 index.js
)