angular2-draggable icon indicating copy to clipboard operation
angular2-draggable copied to clipboard

Build issues with latest version 2.1.3

Open stasgaonkar opened this issue 7 years ago • 4 comments

Downloaded the latest version of the library (2.1.3) and found that my application does not build anymore. I get the following error.

ERROR in No NgModule metadata found for 'AppModule'.

Reverting back to 2.1.2 works fine. Am I missing anything? My angular version is 6.1.6.

Thanks in advance. Sushil

stasgaonkar avatar Sep 14 '18 08:09 stasgaonkar

There's a new error now, saying

ERROR in node_modules/angular2-draggable/lib/angular-draggable.directive.d.ts(2,27): error TS2307: Cannot find module './models/position'.
node_modules/angular2-draggable/lib/angular-resizable.directive.d.ts(2,30): error TS2307: Cannot find module './widgets/resize-handle'.
node_modules/angular2-draggable/lib/angular-resizable.directive.d.ts(3,34): error TS2307: Cannot find module './models/resize-handle-type'.
node_modules/angular2-draggable/lib/angular-resizable.directive.d.ts(4,30): error TS2307: Cannot find module './models/resize-event'.
node_modules/angular2-draggable/public_api.d.ts(4,15): error TS2307: Cannot find module './lib/models/position'.

baao avatar Sep 14 '18 10:09 baao

Same thing, had to force 2.1.2 to fix build.

klofi avatar Sep 14 '18 15:09 klofi

I'm getting

ERROR in Couldn't resolve original symbol for ./lib/models/position from C:/my project/node_modules/angular2-draggable/angular2-draggable.d.ts`

clabough avatar Sep 17 '18 00:09 clabough

Sorry for the issue. I published a broken package. Now please upgrade to 2.1.4

xieziyu avatar Sep 17 '18 02:09 xieziyu