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
generates the following error: Error: next/document should not be imported outside of pages/_document.js. See https://nextjs.org/docs/messages/no-document-import-in-page.
Seems to happen because nextjs expects _document file to end with a .js extension, but in reality it ends with a .tsx extension
The text was updated successfully, but these errors were encountered:
npm run linters
generates the following error:
Error: next/document should not be imported outside of pages/_document.js. See https://nextjs.org/docs/messages/no-document-import-in-page.
Seems to happen because nextjs expects
_document
file to end with a.js
extension, but in reality it ends with a.tsx
extensionThe text was updated successfully, but these errors were encountered: