【问题标题】:Error: Cannot find module "@firebase/polyfill"错误:找不到模块“@firebase/polyfill”
【发布时间】:2017-12-05 19:49:48
【问题描述】:

我在 Mac 上遇到下面提到的错误:

Error: Cannot find module "@firebase/polyfill"
    at webpackMissingModule (http://localhost:8100/build/vendor.js:71203:65)
    at Object.<anonymous> (http://localhost:8100/build/vendor.js:71203:160)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at Object.<anonymous> (http://localhost:8100/build/vendor.js:71154:71)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at Object.<anonymous> (http://localhost:8100/build/vendor.js:109392:79)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at Object.<anonymous> (http://localhost:8100/build/vendor.js:109376:72)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at Object.<anonymous> (http://localhost:8100/build/vendor.js:36504:70)

工作环境: cli 包:(/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

全局包:

cordova (Cordova CLI) : 7.1.0 

本地包:

@ionic/app-scripts : 2.1.4
Cordova Platforms  : none
Ionic Framework    : ionic-angular 3.9.2

系统:

Node  : v8.9.1
npm   : 5.1.0 
OS    : macOS Sierra
Xcode : Xcode 9.1 Build version 9B55 

有没有办法解决这个问题?

【问题讨论】:

    标签: angularjs firebase ionic-framework


    【解决方案1】:

    此错误已修复。

    npm install @firebase/polyfill

    【讨论】:

      猜你喜欢
      • 2020-10-06
      • 2019-12-12
      • 2018-03-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-03-31
      • 1970-01-01
      • 2020-07-27
      相关资源
      最近更新 更多