Viczei / ng2-swipe-cards

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

Production build issue Ionic #65

Open Yogeshjuya1993 opened 6 years ago

Yogeshjuya1993 commented 6 years ago

When creating Ionic production build, I am running into errors. I have tried with latest Ionic version i.e 3.9.2 and earlier versions up to 3.4.0 and I am not able to create production build with either of those.

I have create a sample repo to highlight the issue so it is easy for anyone to replicate. Following is the repo url: https://github.com/Yogeshjuya1993/Ionic-Swipe-cards-Demo

I am planning on using this on production app which is due to be launched soon so any help on this is appreciated. Basically this is the only issue which is preventing me from releasing the build.

Looking forward to any help on this.

screen shot 2018-06-11 at 3 00 04 pm

egesu commented 6 years ago

Compiler works when node_modules folder is removed from package folder. I guess if dependencies from package.json is removed or upgraded, the package can work with Ionic.

marmuel commented 6 years ago

I have the same problem. What do I have exactly to do?

egesu commented 6 years ago

I removed the node_modules/ng2-swipe-cards/node_modules folder in my project.

Mutondi commented 5 years ago

@egesu I have this issue. I need the cards as part of my application. Do you know any solution

Mutondi commented 5 years ago

@marmuel @Yogeshjuya1993 did you guys find a solution to this, please help

AdrienV commented 5 years ago

Get the same error :(

idanb007 commented 5 years ago

same error ... any solution?

idanb007 commented 5 years ago

I removed the node_modules/ng2-swipe-cards/node_modules folder in my project. than it worked in --prod mode . what's its node modules issue ??

Mutondi commented 5 years ago

The Module was made with an earlier version of angular and it just needs to be updated. I believe it was developed for ionic2. The developer has gone awol so I can help change it but on an individual basis

On Tue, 17 Sep 2019 at 07:22, idanb notifications@github.com wrote:

I removed the node_modules/ng2-swipe-cards/node_modules folder in my project. than it worked in --prod mode . what's its node modules issue ??

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ViCode/ng2-swipe-cards/issues/65?email_source=notifications&email_token=AGYU47PIYWEH6CMBJ5YIP5LQKBSPVA5CNFSM4FEJXSTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63KJFI#issuecomment-532063381, or mute the thread https://github.com/notifications/unsubscribe-auth/AGYU47LRBFXJDQBGK6ZRB43QKBSPVANCNFSM4FEJXSTA .

-- This message and attachments are subject to a disclaimer. Please refer to

http://www.it.up.ac.za/documentation/governance/disclaimer/ http://www.it.up.ac.za/documentation/governance/disclaimer/ for full details.

idanb007 commented 5 years ago

Is it possible to contribute this “update” for ionic 3 developers and push it to github project ? Because each time I run “npm install” for other packages the node_modules of this package returns and annoying us .

Some other developers even don’t know that the node_modules of this package need to be removed in order to go to —prod mode .

We have to fix this package ....

Any idea how ?