无法解析某些模块:带有ECMAScript的Meteor 1.3

时间:2016-04-09 04:55:02

标签: meteor youtube npm ecmascript-6

我正在将视频上传添加到youtube,因此我使用的是npm模块Youtube-video-api。然后在客户端添加ECMAScript import youtube-video-api。

所以添加了Meteor包:meteor add ecmascript

我收到错误:

Unable to resolve some modules:

  "eventEmitter" in /home/ananth/GREENROOM/greenroom/app/client/lib/plugins/core.min.js (web.browser)
  "eventie" in /home/ananth/GREENROOM/greenroom/app/client/lib/plugins/core.min.js (web.browser)
  "fs" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare-google-oauth2/node_modules/request/lib/har.js (web.browser)
  "path" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare/lib/nightmare.js (web.browser)
  "url" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare-google-oauth2/index.js (web.browser)
  "util" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare-google-oauth2/node_modules/request/request.js (web.browser)
  "querystring" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare-google-oauth2/node_modules/request/lib/har.js (web.browser)
  "net" in /home/ananth/GREENROOM/greenroom/app/node_modules/forever-agent/index.js (web.browser)
  "punycode" in /home/ananth/GREENROOM/greenroom/app/node_modules/tough-cookie/lib/cookie.js (web.browser)
  "crypto" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare-google-oauth2/node_modules/request/lib/oauth.js (web.browser)
  "http" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare-google-oauth2/node_modules/request/request.js (web.browser)
  "https" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare-google-oauth2/node_modules/request/request.js (web.browser)
  "stream" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare-google-oauth2/node_modules/request/request.js (web.browser)
  "zlib" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare-google-oauth2/node_modules/request/request.js (web.browser)
  "buffer" in /home/ananth/GREENROOM/greenroom/app/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js (web.browser)
  "events" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare/lib/ipc.js (web.browser)
  "dgram" in /home/ananth/GREENROOM/greenroom/app/node_modules/request/node_modules/sntp/lib/index.js (web.browser)
  "dns" in /home/ananth/GREENROOM/greenroom/app/node_modules/request/node_modules/sntp/lib/index.js (web.browser)
  "assert" in /home/ananth/GREENROOM/greenroom/app/node_modules/verror/lib/verror.js (web.browser)
  "tls" in /home/ananth/GREENROOM/greenroom/app/node_modules/forever-agent/index.js (web.browser)
  "child_process" in /home/ananth/GREENROOM/greenroom/app/node_modules/nightmare/lib/nightmare.js (web.browser)

Consider running: meteor npm install --save eventEmitter eventie meteor-node-stubs

我该如何解决这个问题?

0 个答案:

没有答案