synarque / ng-worldmap

MIT License
0 stars 0 forks source link

How to integrate in an existing angular 4 project. #2

Open khan-yaseen opened 7 years ago

khan-yaseen commented 7 years ago

I'm trying to include this in an existing angular 4 project. But it gave an error as soon as i did an npm install.

ERROR in ./~/ng-worldmap/bundles/ng-worldmap.umd.js Module not found: Error: Can't resolve 'raphael' in '/home/user/projects/hipl/Examples/Angular4_CLI_Starter/node_modules/ng-worldmap/bundles' @ ./~/ng-worldmap/bundles/ng-worldmap.umd.js 1:247-265 @ ./src/app/chartjs/chartjs.module.ts @ ./src async @ ./~/@angular/core/@angular/core.es5.js @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

smtl commented 5 years ago

Still an issue today