Viczei / ng2-swipe-cards

A kit of cards (including tinder-card) for angular2
MIT License
25 stars 18 forks source link

SwipeCard Module issue when build release APK #69

Open reda-z opened 6 years ago

reda-z commented 6 years ago

Hello ,

I can't build my apk with --prod flag and I get this issue.( my app is working fine in dev mode.)

justurk_build

Please any help , Here's the code of my tsconfig :

{ "compilerOptions": { "allowSyntheticDefaultImports": true, "declaration": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, "lib": [ "dom", "es2015" ], "module": "es2015", "moduleResolution": "node", "sourceMap": true, "target": "es5" }, "include": [ "src//*.ts" ], "exclude": [ "node_modules", "src/*/.spec.ts", "src//tests/*.ts" ], "compileOnSave": false, "atom": { "rewriteTsconfig": false }

}

Mutondi commented 5 years ago

I also have the same issue mate

AdrienV commented 5 years ago

Same for me, anyone have an idea ?

vincent-seibus commented 5 years ago

You need to remove the 'node_modules' directory inside the package 'ng2-swipe-cards'. Hopefully the error will be gone.