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

lots of warnings with primeng #541

Closed
MurhafSousli opened this issue Apr 26, 2016 · 8 comments
Closed

lots of warnings with primeng #541

MurhafSousli opened this issue Apr 26, 2016 · 8 comments

Comments

@MurhafSousli
Copy link

MurhafSousli commented Apr 26, 2016

Hi, I'm trying to integrate PrimeNG in my project, It works fine, but I get a lot of warnings (+75 warnings).

warning:
Cannot find source file 'uitreenode.ts': Error: Cannot resolve 'file' or 'directory' ./uitreenode.ts in C:\myproject\node_modules\primeng\components\tree

How can I remove them?

@MarkPieszak
Copy link

This is a PrimeNG issue not something with the starter, please look there:

https://github.com/primefaces/primeng/issues

@MurhafSousli
Copy link
Author

@MarkPieszak I've already opened the issue there, they told me to open it here!

@PatrickJS
Copy link
Owner

the warning are a problem with their source maps. you need to ignore them here https://github.com/AngularClass/angular2-webpack-starter/blob/master/config/webpack.common.js#L110...L115
I also made a branch for primeng
https://github.com/AngularClass/angular2-webpack-starter/tree/primeng

@MurhafSousli
Copy link
Author

Thank you so much @gdi2290 problem solved.
I have a noob question, how is primeng branch different from the master, is that branch have primeng integrated or it's only meant for opening primeng related issues?

@PatrickJS
Copy link
Owner

I created the primeng branch for anyone who wants to debug the issue. I'll have an offical branch later in the month

@truongnmt
Copy link

how to fix in webpack.dev.js file? Mine run in webpack dev enviroment and I dont know where to fix, here is my webpack.dev.js file: http://pastie.org/10875854 @gdi2290

@PatrickJS
Copy link
Owner

@truongnmt
Copy link

truongnmt commented Jun 16, 2016

Ahh got it, took the suggestion and it worked. link

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

4 participants