Error integration with Ionic2
See original GitHub issueI am using ng2d3 with ionic2. It works very well when we compile it locally, but if I make a build for Android it retrieves the following error:
[16:36:11] copy finished in 110 ms [16:36:13] Error: Unexpected value ‘NG2D3Module’ imported by the module ‘AppModule’ [16:36:13] ngc failed [16:36:13] ionic-app-script task: “build” [16:36:13] Error: Error
I am using the following config:
{
"name": "ionic-prototype",
"author": "blabla",
"homepage": "http://www.blabla.com/",
"private": true,
"scripts": {
"build": "ionic-app-scripts build",
"watch": "ionic-app-scripts watch",
"serve:before": "watch",
"emulate:before": "build",
"deploy:before": "build",
"build:before": "build",
"run:before": "build"
},
"dependencies": {
"@angular/common": "^2.2.3",
"@angular/compiler": "^2.2.3",
"@angular/compiler-cli": "^2.2.3",
"@angular/core": "^2.2.3",
"@angular/forms": "^2.2.3",
"@angular/http": "^2.2.3",
"@angular/platform-browser": "^2.2.3",
"@angular/platform-browser-dynamic": "^2.2.3",
"@angular/platform-server": "^2.2.3",
"@ionic/storage": "1.1.6",
"d3": "^4.4.0",
"ionic-angular": "2.0.0-rc.3",
"ionic-native": "^2.2.7",
"ionicons": "3.0.0",
"lodash": "^4.16.6",
"moment": "^2.17.0",
"ng2d3": "^1.6.2",
"rxjs": "5.0.0-beta.12",
"zone.js": "^0.7.2"
},
"devDependencies": {
"@ionic/app-scripts": "0.0.46",
"typescript": "^2.1.1"
},
"description": "ionic-prototype: An Ionic project",
"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard"
],
"cordovaPlatforms": []
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Error when integrating Ionic2 Auth service - Stack Overflow
I'm trying to integrate Facebook login to my ionic 2 app. I was following the guide here and all is good until I...
Read more >Build error: in razorpay integration - Ionic Forum
Build error: in razorpay integration · Ionic Framework ... i am using capacitor 3.4 in ionic 6,i am getting above error while taking...
Read more >Ionic Error Logging with Sentry using Capacitor - YouTube
Learn to integrate Sentry.io in your Ionic application to setup error logging for Ionic and Capacitor apps! Learn Ionic faster with...
Read more >Using Sentry - Error Monitoring with Ionic Angular Applications
In this tutorial, we will see how we can integrate Sentry — Error Monitoring with the Ionic Angular application. Why Error Monitoring is...
Read more >Troubleshooting the Bitbucket Integration - Ionic
Topics in this Article: Errors during setup Commits not visible in Appflow Repo not selectable Errors during setup: The Bitbucket...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
W00t!
@amcdnl I am experience the same issue as @zeornelas when building. Ionic serve is working as expected.
Error:
Environment: