Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin broken on angular 5 #4

Open
LordAlastair opened this issue Nov 4, 2017 · 0 comments
Open

Plugin broken on angular 5 #4

LordAlastair opened this issue Nov 4, 2017 · 0 comments

Comments

@LordAlastair
Copy link

Hi, When updating Angular 4.4 for Angular 5 the plugin stopped working, with the following error:
Module build failed: Error: node_modules\ngx-brazilian-helpers\index.ts is not part of the compilation output.
I tried to put the module in the build, but without success:
{ "compileOnSave": false, "compilerOptions": { "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "target": "es5", "typeRoots": [ "node_modules/@types" ], "lib": [ "es2017", "dom" ], "plugins": [ { "name": "tslint-language-service"} ] }, "include": [ "src/**/*.ts", "node_modules/ngx-brazilian-helpers/index.ts" ] }

get this error now :
core.js:1350 ERROR Error: Uncaught (in promise): Error: Unexpected value 'ValidatorsModule' imported by the module 'PortalCadastroIntranetModule'. Please add a @NgModule annotation.

Can you give some tips to work around this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant