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

Error in angular 5 #10

Open
ghost opened this issue Dec 19, 2017 · 3 comments
Open

Error in angular 5 #10

ghost opened this issue Dec 19, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 19, 2017

Hello, actually I'm working in an project with angular 5, before that I worked with angular 4. But I decided upgraded angular. However the following errors appeared. Does someone has a ide about that?.
Please I need your help.

ERROR in ./node_modules/ng2-stomp-service/dist/stomp.service.ts
Module build failed: Error: /home/jose/projects/OpenMDM-FrontEnd-master/node_modules/ng2-stomp-service/dist/stomp.service.ts is not part of the compilation output. Please check the other error messages for details.
at AngularCompilerPlugin.getCompiledFile (/home/jose/projects/OpenMDM-FrontEnd-master/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:649:23)
at plugin.done.then (/home/jose/projects/OpenMDM-FrontEnd-master/node_modules/@ngtools/webpack/src/loader.js:467:39)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
@ ./node_modules/ng2-stomp-service/index.js 2:20-51
@ ./src/app/devices/devices.module.ts
@ ./src/app/layout/shared/layout.module.ts
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

@nedpuganti
Copy link

nedpuganti commented Jan 5, 2018

@joseSierra94
add this into your tsconfig.json

"include": [
"src/**/*",
"node_modules/ng2-stomp-service/dist/stomp.service.ts"
]

@trihex
Copy link

trihex commented Jan 29, 2018

That is a hack and not a solution. The project should be packaged in the proper Angular package format. Are there any plans to do this?

@lmyslinski
Copy link

Any progress on this? Also, the hack works for running the app, but I didn't get it to work with karma and jasmine. Does anyone have a temporary workaround for testing?

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

3 participants