-
-
Notifications
You must be signed in to change notification settings - Fork 457
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
Failed to parse source errors #3048
Comments
Some investigation, yes it looks like our source maps are pointing at This might be caused by the move from the typescript-2 to typescript rollup plugin |
Funnily enough, I believe this problem is solved by actually removing I wanted to do something similar anyway, however, it's probably best to do several things while we're fixing this:
Lastly, we may want to insert a lint rule for some JS features that we'd like to not transpile or even use, e.g. currently optional properties rely on a polyfill in TypeScript that can't be disabled (?) and we typically don't use them as they bloat when transpiled anyway. However, the Optional chaining operator is indeed in our support range, so they wouldn't have to be transpiled. |
Describe the bug
I'm getting the following warnings from NPM when running a React app that has urql has a dependency. There's actually 10x warnings relating to 10 different sources, all of which have identical warning message format:
The project compiles and runs fine. The 10 files that get mentioned in these 10 warning messages are:
Here's my package.json that produces the issue. NPM is 8.19.2. Node is 18.12.1.
It can be triggered simply by importing urql as shown below in any of my project components and running
npm start
:The issue has only arisen in urql@3.0.4. Rolling back to urql@3.0.3 resolves it.
Reproduction
Literally any code that imports urql@3.0.4 as described
Urql version
urql@3.0.4
Validations
The text was updated successfully, but these errors were encountered: