ebondu / angular2-keycloak

Angular 2 Keycloak client wrapper
19 stars 26 forks source link

Error when compile only Import KeycloakModule v 0.9 inside app.module.ts #16

Closed pako-g closed 7 years ago

pako-g commented 7 years ago

I use Angular Cli, when import KeycloakModule v 0.9 inside app.module.ts get this error

ERROR in ./~/@ebondu/angular2-keycloak/services/keycloak.core.service.js
Module not found: Error: Can't resolve 'angular2-uuid' in '/home/pasquale/IdeaProjects/onkalo/onkalo-angular/node_modules/@ebondu/angular2-keycloak/services'
 @ ./~/@ebondu/angular2-keycloak/services/keycloak.core.service.js 30:0-37
 @ ./~/@ebondu/angular2-keycloak/keycloak.module.js
 @ ./~/@ebondu/angular2-keycloak/index.js
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
ebondu commented 7 years ago

Hi, Did you tried npm install --save angular2-uuid ? I will also check if the dependency is correctly defined in package.json

pako-g commented 7 years ago

thanks... now work