-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Uncaught ReferenceError: dll is not defined #5702
Comments
Please provide a full reproduction. I still can't reproduce. |
Can confirm the bug, reverting to v7.0.1 solves the problem for me |
I keep repeating myself in these issues 😢 It's really hard to look into or fix anything without a full reproduction of this issue. |
@timneutkens if you just clone the project that I sent, and write |
@PrimarchAlpharius for me it doesn't work :( |
Just tried the repo, which is a Next.js app with one page, meaning it's the equivalent of our test suites, and had no issue at all. I'm on chrome 70.0.3538.102. |
We are experiencing the same issue. Will try to figure out what's happening there. |
...also while I am getting above error in chrome console in the same time I see in node console TypeError: Cannot read property 'finished' of undefined
at HotReloader._callee2$ (/node_modules/next/dist/server/hot-reloader.js:276:34)
at tryCatch (/node_modules/@babel/runtime-corejs2/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/node_modules/@babel/runtime-corejs2/node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (/node_modules/@babel/runtime-corejs2/node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (/node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js:5:24)
at _next (/node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js:27:9)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:182:7) I am not sure whether this one is connected 🤔 |
I read out there a workaround that seems like fix this problem, could you try guys if that works for you as well? just add in their
|
I reproduced this issue when trying to install both Adding a resolution key in my package.json for |
So the issue could be |
I am also getting this error today on a fresh NextJS build - it only happens on localhost (does not happen once the project is deployed) - I am developing on a Windows machine at the minute, perhaps issue is an edge case with webpack on windows node? Console warning is present in firefox and chrome.
Package.json deps
|
Same happening to me, still not fixed on latests versions. |
Just had the same error on |
Same issue! Did anyone find a solution? |
Not sure 100% how to repro what I just did to get this error to show up, but stopping my next dev process and re-installing my node dependencies before restarting next resolved for me. Seems like it could be related to not having certain dependencies next needs at runtime, or yanking them out with I had it happen as a result of a pretty large refactor and haven't been able to repro it however. I imagine most of ya'll could fix this by |
Same error with Next.JS Build. @aguilarm 's solution worked, I npm install'd again, restarted server. |
I stopped my server, running 'npm install' and restart the server, after it the problem disappear. |
I am running nextjs with express as backend. My nextjs runs on localhost:3000 and express runs on localhost:3001. Often times when I change my code, the page doesn't refresh. When I manually refresh, it shows the 404 not found page and Uncaught ReferenceError: dll is not defined in the console. I have to manually run npm run dev and refresh. This is time-consuming. It would be great if somebody shares a solution. |
I get this issue but on windows OS AND when the project folder is in a deep path. In essence, I think the issue is related to accessing webpack cache files with long path (longer than 260 chars) which fails the process accessing it. Try moving your project folder to a shorter path and see if you get this issue so you can verify my theory. |
It was not at all clear to me, from the error message, but in my case I had multiple next apps running in a parent now app, and the issues was module.exports = {
assetPrefix: '/store/'
} |
In my case, I stopped my server, rm -rf node_modules, npm install, and restarted my server. All was back to normal. I believe it was caused when I "npm installed" while running the dev server, as mentioned above. |
@lucasgerard Use If cleaning the node_modules not working and you work at localhost:3000 on multiple projects, you need to clear your browser cache/application cache/services workers. A simple way to full clear all caches for a domain/website (Chrome dev tools): |
I fixed the problem by forcing service workers to update the site, as they were caching files generating the
Another approach could be -as @comxd said- unregistering service workers from your browser with the |
@comxd Clearing the browser data worked for me! Thanks! |
I had a similar issue in local development and running |
Can you try latest Next.js, the dll plugin was removed |
I just experienced it, while setting up Material UI & Co, did not have to delete my Browser Data for localhost On Chrome Browser:
This will force refresh all the page assets and it should work |
Don't use : npm start |
@KeitelDOG's answer worked perfectly while the others didn't do the trick this time |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
The error
Uncaught ReferenceError: dll_xxxxxx is not defined
it happens a soon as you create a empty project and open it. Please take a look the following demo project.It does only happening in Chrome! in FF it's works fine.
my dev dependencies:
Expected behavior
Should not show any message error.
Screenshots
Additional context
This bug was closed but it's still there and I change the name of the bug in order to be more searchable.
The text was updated successfully, but these errors were encountered: