Duplicate export 'ReactQueryDevtools' in snowpack-wrap #1312
Replies: 6 comments 22 replies
-
Hi @jsefiani sorry you're getting that error. Do you happen to have the repo in Github? That would help me debug it. |
Beta Was this translation helpful? Give feedback.
-
I have a |
Beta Was this translation helpful? Give feedback.
-
I'm getting a similar issue with https://github.com/accounts-js/accounts
|
Beta Was this translation helpful? Give feedback.
-
Is there a workaround for this? Is there something I could edit in node_modules or in a fork? |
Beta Was this translation helpful? Give feedback.
-
That's really strange, I'll have to find out why it was in the release notes but not the 2.17.0 release. Regardless, this has definitely gone out with 2.18.0 (you can see the commit in the git log). Can someone retry in v2.18 to confirm that this is fixed? |
Beta Was this translation helpful? Give feedback.
-
So kind of related to this issue, I have a dependency which does have duplicate exports in the packaged code, like:
I have no idea why that first export is there, or which bundler is putting it there. Has anyone seen this behaviour before? I'm not entirely sure if this is something Snowpack should address, I guess if I was able to determine which bundler was outputting the duplicate exports and why it might help determine if it's a case Snowpack should intelligently handle. |
Beta Was this translation helpful? Give feedback.
-
This message started appearing after I installed
ReactQueryDevtools
. What could be the problem?I removed my node-modules folder and reinstalled everything, also used the
--reload
flag, but nothing really helped.Does anyone know what this might be?
Whenever I try to start my app in dev mode, I get the following error:
Versions:
snowpack version:
2.13.3
@snowpack/app-scripts-react:
1.10.0
react-query-devtools:
2.6.0
Beta Was this translation helpful? Give feedback.
All reactions