valor-software / ng2-handsontable

Angular 2 directive for Handsontable
http://valor-software.github.io/ng2-handsontable/
MIT License
274 stars 93 forks source link

Error on build production #478

Open Aofhero opened 7 years ago

Aofhero commented 7 years ago
Error on dependency parsing for ng2-handsontable/bundles/ng2-handsontable.umd.js at file:///Users/xxxx/Documents/ulcalculator/node_modules/ng2-handsontable/bundles/ng2-handsontable.umd.js
Loading dist/tmp/app/pagetable/pagetable.module.js
Loading dist/tmp/app/app.module.js
Loading dist/tmp/app/main.js
Multiple anonymous defines.

Details: originalErr: Error: Multiple anonymous defines. Stack: Error on dependency parsing for ng2-handsontable/bundles/ng2-handsontable.umd.js at file:///Users/xxxx/Documents/ulcalculator/node_modules/ng2-handsontable/bundles/ng2-handsontable.umd.js Loading dist/tmp/app/pagetable/pagetable.module.js Loading dist/tmp/app/app.module.js Loading dist/tmp/app/main.js Error: Multiple anonymous defines.

Help me please. :)

ghost commented 7 years ago

Hello, Can you tell wich version of npm you are running? Have you had any error when you were downloading the modules?

Aofhero commented 7 years ago

npm version 3.10.10

"@angular/common": "^4.1.0",
"@angular/compiler": "^4.1.0",
"@angular/core": "^4.1.0",
"@angular/flex-layout": "2.0.0-rc.1",
"@angular/forms": "^4.1.0",
"@angular/http": "^4.1.0",
"@angular/material": "^2.0.0-beta.7",
"@angular/platform-browser": "^4.1.0",
"@angular/platform-browser-dynamic": "^4.1.0",
"@angular/compiler-cli": "^4.0.0",
"@angular/platform-server": "^4.1.0",
"ng2-handsontable": "^1.0.3",

Thanks for reply