-
Notifications
You must be signed in to change notification settings - Fork 787
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
[0.17.0-1] Pre-release: Rollup: Plugin Error Cannot read property 'warn' of undefined #1326
Comments
Maybe also related to #1306 |
Hi @adamdbradley, as discussed on Slack here is the repo. I've added you as a collabo as it's private. https://github.com/bitflower/caseos-ui Matt |
@bitflower do you have a full stack-trace of the plugin error or is that all it throws? |
@simonhaenisch DO you mean adding
|
I can add you as collaborator to the private repo? |
The repo uses |
I forked |
@bitflower there is a couple plugins being used and a few custom ones: stencil/src/compiler/bundle/rollup-bundle.ts Lines 46 to 62 in adc94ce
Just searching through the source, the most likely reason I can think of is that it's related to a copy task (i. e. trying to access |
That would be awesome, I have added you to the repo at: https://github.com/bitflower/stencil-rollup-issues |
Just |
I think the issue is related to I'm not exactly sure how it all happens though, because this is the rollup error being caught:
I added a |
Hi @simonhaenisch, thank a lot for the hard work! Your workaround works perfectly: Will track the rollup plugin issue.... |
I guess this can be closed then? |
Just letting you know that the upstream issue has been fixed in rollup/rollup-plugin-commonjs#370, so we'll just need to make sure that Stencil uses a version >= v9.2.1. |
Awesome, thanks for following the topic and keep us informed! WIll the Stencil core team check this thread out? Or can you make a PR for that? |
rollup-plugin-commonjs@9.2.1 fixes an upstream issue that caused a build error when conflicting packages exist and preferBuiltins is unset. Closes #1326.
Current master now has Line 108 in 5a45828
|
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
After reading that pre-release
0.17.0-*
fixes stencil-community/stencil-router#86 I installed it. Now I get this but not sure if it is related to the changes by @simonhaenisch :Expected behavior:
Runs dev and build successfully.
The text was updated successfully, but these errors were encountered: