You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
menu button and smooth scrolling after side bar clicks do not work.
In browser console you will see Uncaught TypeError: Cannot read property 'textContent' of null
Expected behavior
No errors in console, all the buttons work, scrolling is smooth
Screenshots
Full error:
Uncaught TypeError: Cannot read property 'textContent' of null
at Object../node_modules/next/dist/client/index.js (index.js:66)
at __webpack_require__ (bootstrap:788)
at fn (bootstrap:149)
at Object../node_modules/next/dist/client/next-dev.js (next-dev.js:23)
at __webpack_require__ (bootstrap:788)
at fn (bootstrap:149)
at Object.0 (module.js:22)
at __webpack_require__ (bootstrap:788)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
System information
OS: Kubuntu 18.04
Browser: chromium
Version of Next.js: 8.0.0 from npm
Additional context
CLI command now init creates nextjs-static example with optimistic package.json:
@dav-is Thank you for reply.
Could you please recommend some 'official' way to include some polyfill into nextjs app?
In my case it's static app and I need closest selector.
That solution was fine for next 7, but now I see no signs of life in the project, so chances are low v8 will be supported in the nearest future..
May be I missed some docs about topic?
8.0.0(npm) Bug report
Describe the bug
next app stopped to work on client side after upgrading next to v8.0.0
Coming back to v7.0.3 makes things work.
Here is a broken version with 8.0.0
Here is a working version with 7.0.3
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
it works well by
npm run dev
npm i next@8.0.0
and run an appUncaught TypeError: Cannot read property 'textContent' of null
Expected behavior
No errors in console, all the buttons work, scrolling is smooth
Screenshots
Full error:
System information
Additional context
CLI command
now init
creates nextjs-static example with optimistic package.json:so it was surprise for me to become a tester of pre-release
The text was updated successfully, but these errors were encountered: