opdahlmann / ng2-opd-popup-sample

4 stars 13 forks source link

Uncaught Error: Unexpected value #11

Open manuvalentim opened 7 years ago

manuvalentim commented 7 years ago

I have this problem:

Uncaught Error: Unexpected value '[object Object]' imported by the module 'AppModule'. Please add a @NgModule annotation.

asfo commented 7 years ago

Same here.

baremaximum commented 7 years ago

I also have this issue, any solutions?

pmadhavan commented 6 years ago

Same here, any solution will help.

pmadhavan commented 6 years ago

This fixed my issue!! https://github.com/jvandemo/generator-angular2-library/issues/113

Edit your src/tsconfig.app.json file as below "baseUrl": "", "paths": { "@angular/*": [ "../node_modules/@angular/*" ] },

hunterctzl commented 6 years ago

Does not work. Do you have another solution?

CayetanoHerreraLuisRicardo commented 6 years ago

It did not work either

asfo commented 6 years ago

This repo is not going to be updated. I think you should stop losing your time in this repo.

pmadhavan commented 6 years ago

@asfo is right.

The mentioned solution worked for me, however, I stopped using this because it was very difficult to customize the popup and I created my own service to hide and show the bootstrap pop-up.

ShiruJan commented 6 years ago

Inside the folder node_modules/ng2-opd-popup, there is a folder called "node_modules", delete it, after recompiling the project works fine. It works for me, I use Angular5.