-
Notifications
You must be signed in to change notification settings - Fork 18
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
Widget upload bug: jQuery.Deferred exception: e is not a function #351
Comments
For what it’s worth, I’m using |
Hey @heymartinadams,
Looks like there are some naming collisions on js minification stage. Are you using the default next.js webpack config or the custom one? |
@nd0ut I’m using the following NextJS config: const nextConfig = {
compiler: {
removeConsole: process.env.ENV !== 'dev'
},
// env variables that don’t begin with `NEXT_PUBLIC_` need to be assigned here
env,
experimental: {
newNextLinkBehavior: true,
images: {
allowFutureImage: true,
unoptimized: process.env.ENV === 'prd_capacitor'
}
},
headers,
images: {
domains: ['images.unsplash.com']
},
pwa: {
dest: 'public',
// TODO: process.env.ENV === 'dev' || process.env.ENV === 'prd_capacitor'
disable: true,
register: true,
skipWaiting: true,
runtimeCaching
},
reactStrictMode: false,
redirects,
swcMinify: true,
webpack: config => config
} |
Is it Next.js v12.3.0? Anyway, please try to disable I will prepare an issue to next.js If it helps. |
Thanks so much, @nd0ut! That was the issue indeed |
Hi @nd0ut can you please share a link to an issue to NextJS please, I've met the same problem, so I would like to subscribe to updates. |
NextJS 13 now has Any update on when we can use it, @nd0ut? |
Sorry guys, I haven't created an issue to next.js repo yet. |
Here it is - swc-project/swc#6463 |
This problem was fixed in |
Description
Upon uploading an image from the desktop, I get the following issue:
jQuery.Deferred exception: e is not a function
Steps to reproduce
![CleanShot 2022-10-18 at 10 18 44@2x](https://user-images.githubusercontent.com/11673745/196500987-f7f6bb2c-8fde-4de5-89b2-6e1cf2f25a94.png)
4. The console says this:Environment
"@uploadcare/react-widget": "^2.2.0",
node -v
:v16.16.0
The text was updated successfully, but these errors were encountered: