【问题标题】:Uncaught TypeError: function call() { [native code] } is not a function reactjsUncaught TypeError: function call() { [native code] } is not a function reactjs
【发布时间】:2019-05-16 10:45:05
【问题描述】:

我已经使用yarn build 创建了 reactjs 构建并且它成功创建了。当我在服务器上部署代码时出现错误,请参阅:http://prntscr.com/npbia7 构建见:http://prntscr.com/npb62e

请提出解决方法

【问题讨论】:

  • 请贴出代码。

标签: reactjs deployment build yarnpkg


【解决方案1】:

我曾在 Angular 6 和 Firebase 中工作过,但我曾经遇到过类似的错误。

要修复它,请仔细按照以下步骤操作:

  1. ng build
  2. npm install firebase-tools -g(即使已经安装也可以安装)
  3. firebase init hosting
  4. firebase deploy --only hosting

【讨论】:

    猜你喜欢
    • 2018-04-20
    • 2022-01-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-30
    • 2014-08-15
    • 2021-12-16
    相关资源
    最近更新 更多