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
I verified that the issue exists in Next.js canary release
Provide environment information
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 21.4.0: Mon Feb 21 20:34:37 PST 2022; root:xnu-8020.101.4~2/RELEASE_X86_64
Binaries:
Node: 16.14.0
npm: 8.3.2
Yarn: 1.22.17
pnpm: N/A
Relevant packages:
next: 12.1.1-canary.14
react: 17.0.2
react-dom: 17.0.2
What browser are you using? (if relevant)
chrome 99.0.4844.74
How are you deploying your application? (if relevant)
No response
Describe the Bug
after upgrade next from 12.0.1 to 12.1.0 i got an error on grpc generated files
error - ./proto_build/todo_grpc_web_pb.js
Module parse failed: Cannot use 'import.meta' outside a module (144:16)
File was processed with these loaders:
./node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
You may need an additional loader to handle the result of these loaders.
| // still a Refresh Boundary later.
| // @ts-ignore importMeta is replaced in the loader
import.meta.webpackHot.accept();
Expected Behavior
no error expected like for version 12.0.1
To Reproduce
upgrade next to v12.1.0
The text was updated successfully, but these errors were encountered:
This issue has been automatically closed because it received no activity for a month and had no reproduction to investigate. If you think this was closed by accident, please leave a comment. If you are running into a similar issue, please open a new issue with a reproduction. Thank you.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Verify canary release
Provide environment information
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 21.4.0: Mon Feb 21 20:34:37 PST 2022; root:xnu-8020.101.4~2/RELEASE_X86_64
Binaries:
Node: 16.14.0
npm: 8.3.2
Yarn: 1.22.17
pnpm: N/A
Relevant packages:
next: 12.1.1-canary.14
react: 17.0.2
react-dom: 17.0.2
What browser are you using? (if relevant)
chrome 99.0.4844.74
How are you deploying your application? (if relevant)
No response
Describe the Bug
after upgrade next from 12.0.1 to 12.1.0 i got an error on grpc generated files
error - ./proto_build/todo_grpc_web_pb.js
Module parse failed: Cannot use 'import.meta' outside a module (144:16)
File was processed with these loaders:
You may need an additional loader to handle the result of these loaders.
| // still a Refresh Boundary later.
| // @ts-ignore importMeta is replaced in the loader
Expected Behavior
no error expected like for version 12.0.1
To Reproduce
upgrade next to v12.1.0
The text was updated successfully, but these errors were encountered: