【问题标题】:Alloy compiler failed but classic Titanium works合金编译器失败但经典的钛作品
【发布时间】:2020-01-12 10:54:14
【问题描述】:

当我尝试运行基本合金应用程序(双标签模板)时,我收到此错误:

[ERROR] :  : Cannot find module './validators/react/isReactComponent'
[ERROR] :  Alloy compiler failed
[ERROR] Application Installer abnormal process termination. Process exit value was 1

但是当我运行一个没有合金的经典应用程序(双标签模板)时,程序运行正常。

我的系统是:

Operating System
  Name                        = Mac OS X
  Version                     = 10.14.5
  Architecture                = 64bit

Node.js
  Node.js Version             = 8.9.1
  npm Version                 = 5.5.1

Appcelerator CLI
  Installer                   = 4.2.15
  Core Package                = 7.1.2

Titanium CLI
  CLI Version                 = 5.2.2
  node-appc Version           = 0.2.49

【问题讨论】:

    标签: titanium appcelerator titanium-alloy


    【解决方案1】:

    尝试将您的 Node 版本更新到 10.x(例如 https://nodejs.org/dist/latest-v10.x/)。之后再次安装 CLI (npm install -g appcelerator titanium alloy) 并运行 appc use 7.1.2 --force 以确保所有包都已重建并且您应该能够运行该应用程序

    【讨论】:

      猜你喜欢
      • 2015-12-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-20
      • 2021-10-07
      • 1970-01-01
      • 1970-01-01
      • 2021-08-19
      相关资源
      最近更新 更多