我正在尝试构建我的应用以进行制作。
错误:静态解析符号值时出错。调用 函数'makeDecorator',不支持函数调用。考虑 使用对导出的引用替换函数或lambda 功能,解决符号注入 /Users/rossrawlins/Desktop/Work/EngagementFactory/MobileEvent_V2.0/node_modules/@ionic/cloud-angular/node_modules/@angular/core/src/di/metadata.d.ts, 解决符号OpaqueToken in /Users/rossrawlins/Desktop/Work/EngagementFactory/MobileEvent_V2.0/node_modules/@ionic/cloud-angular/node_modules/@angular/core/src/di/opaque_token.d.ts, 解决符号OpaqueToken in /Users/rossrawlins/Desktop/Work/EngagementFactory/MobileEvent_V2.0/node_modules/@ionic/cloud-angular/node_modules/@angular/core/src/di/opaque_token.d.ts
我收到上述错误,我无法解决如何解决此问题。
下面是我当前的配置。
全球套餐:
@ionic/cli-utils : 1.4.0 Cordova CLI : 6.5.0 Ionic CLI : 3.4.0
本地包裹:
@ionic/app-scripts : 1.3.7 @ionic/cli-plugin-cordova : 1.4.0 @ionic/cli-plugin-ionic-angular : 1.3.1 Cordova Platforms : android 6.2.3 ios 4.3.1 Ionic Framework : ionic-angular 3.4.1
系统:
Node : v6.9.4 OS : macOS Sierra Xcode : Xcode 8.2.1 Build version 8C1002 ios-deploy : 1.9.1 ios-sim : 5.0.13 npm : 3.10.10
以下是我的package.JSON
{
"name": "EventsFactory",
"version": "2.6.788",
"author": "Engagement Factory",
"homepage": "https://engagementfactory.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.1.3",
"@angular/compiler": "4.1.3",
"@angular/compiler-cli": "4.1.3",
"@angular/core": "4.1.3",
"@angular/forms": "4.1.3",
"@angular/http": "4.1.3",
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@ionic-native/barcode-scanner": "^3.6.1",
"@ionic-native/calendar": "^3.2.1",
"@ionic-native/call-number": "^3.5.0",
"@ionic-native/core": "3.10.2",
"@ionic-native/diagnostic": "^3.2.1",
"@ionic-native/facebook": "^3.2.1",
"@ionic-native/geofence": "^3.6.1",
"@ionic-native/google-analytics": "^3.2.1",
"@ionic-native/google-plus": "^3.2.1",
"@ionic-native/in-app-browser": "^3.12.1",
"@ionic-native/keyboard": "^3.2.1",
"@ionic-native/launch-navigator": "^3.4.2",
"@ionic-native/linkedin": "^3.12.1",
"@ionic-native/network": "^3.2.1",
"@ionic-native/push": "^3.6.1",
"@ionic-native/social-sharing": "^3.2.1",
"@ionic-native/splash-screen": "3.4.2",
"@ionic-native/status-bar": "3.4.2",
"@ionic/cloud-angular": "^0.11.0",
"@ionic/storage": "2.0.1",
"@ngrx/core": "^1.2.0",
"@ngrx/store": "^2.2.2",
"angular2-moment": "^1.2.0",
"angular2-qrcode": "^2.0.0",
"angular2-signaturepad": "^2.4.0",
"azure-mobile-apps-client": "^2.0.1",
"azure-query-js": "git+https://github.com/Azure/azure-query-js.git",
"esprima": "^3.1.3",
"intl": "^1.2.5",
"ionic-angular": "3.4.1",
"ionicons": "3.0.0",
"lodash": "^4.17.4",
"moment-range": "^3.0.3",
"moment-timezone": "^0.5.13",
"ng2-img-fallback": "^0.2.1",
"ng2-order-pipe": "^0.1.4",
"node-uuid": "^1.4.8",
"rxjs": "5.4.0",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.12"
},
"devDependencies": {
"@ionic/app-scripts": "1.3.7",
"@ionic/cli-plugin-cordova": "1.4.0",
"@ionic/cli-plugin-ionic-angular": "1.3.1",
"@types/moment": "^2.13.0",
"@types/moment-timezone": "^0.2.34",
"typescript": "2.3.3"
},
"cordovaPlugins": [
"cordova-plugin-whitelist",
"cordova-plugin-console",
"cordova-plugin-device",
"cordova-plugin-statusbar",
"cordova-plugin-splashscreen",
"ionic-plugin-keyboard"
],
"config": {
"ionic_webpack": "./webpack.config.js"
},
"cordovaPlatforms": [
"ios",
{
"platform": "ios",
"version": "",
"locator": "ios"
}
],
"description": "EventsFactory: An Ionic project"
}
答案 0 :(得分:1)
我发现他们刚刚发布了更新并解决了构建问题。
更新为0.12.0