-
Notifications
You must be signed in to change notification settings - Fork 2
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 while transpiling with Rollup #453
Comments
Hi @PlkMarudny, are you able to share you rollup config? I guess the error could be resolved by using |
Here it is:
|
Actually, it looks like 5.0.44 causes problems, 5.0.43 seems to be fine. I observed this while using snowpack with remote imports; snowpack chokes on 5.0.44, while having no issues with 5.0.43, link here: 2653 |
Thanks for the update. Do you maybe use Node.js v15? I noticed that it introduces some breaking changes and for example throws an |
I use 14.5.1 unfortunately |
I tried to replicate the error with a simple rollup config but wasn't successful. It all worked as expected. I looks like there was no real difference between 5.0.43 and 5.0.44. It was triggered by my automatic release tool. https://diff.intrinsic.com/audio-context-timers/5.0.43/5.0.44 The only difference is that two dependencies got an update. Those dependencies were @babel/runtime and fast-unique-numbers. The update of fast-unique-numbers was triggered by the update of @babel/runtime as well. https://diff.intrinsic.com/fast-unique-numbers/5.0.23/5.0.24 And as it turns out the only change that happened to @babel/runtime was the version number. https://diff.intrinsic.com/@babel/runtime/7.12.13/7.12.18 Long story short: I have no idea what is causing the problem. 🤷♂️ |
Hmm, let me make more tests then in different environments.
…On Mon, Feb 22, 2021, 21:22 Christoph Guttandin ***@***.***> wrote:
I tried to replicate the error with a simple rollup config but wasn't
successful. It all worked as expected.
I looks like there was no real difference between 5.0.43 and 5.0.44. It
was triggered by my automatic release tool.
https://diff.intrinsic.com/audio-context-timers/5.0.43/5.0.44
The only difference is that two dependencies got an update. Those
dependencies were @babel/runtime and fast-unique-numbers. The update of
fast-unique-numbers was triggered by the update of @babel/runtime as well.
https://diff.intrinsic.com/fast-unique-numbers/5.0.23/5.0.24
And as it turns out the only change that happened to @babel/runtime was
the version number.
***@***.***/runtime/7.12.13/7.12.18
Long story short: I have no idea what is causing the problem. 🤷♂️
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#453 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBI2522VXSVANY7X7FUXYTTAKHG5ANCNFSM4XYGE3HA>
.
|
Hi,
I am trying to import the library into a Svelte project transpiled with Rollup:
import * as audioContextTimers from 'audio-context-timers';
and getting an error:
The text was updated successfully, but these errors were encountered: