Skip to content
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

[Bug]: Module parse failed issue #235

Open
rnrn99 opened this issue Nov 21, 2023 · 2 comments
Open

[Bug]: Module parse failed issue #235

rnrn99 opened this issue Nov 21, 2023 · 2 comments

Comments

@rnrn99
Copy link

rnrn99 commented Nov 21, 2023

What happened?

i just use console.log method but issue happend.
i tried another version v 1.0.260, remove .next folder but the problem still persists

Module parse failed: Identifier '_templateObject' has already been declared (45:9)
File was processed with these loaders:
 * ../../.yarn/__virtual__/next-virtual-ab593158bb/0/cache/next-npm-12.3.4-cdaf2db0a7-d96fc4f5bc.zip/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/loader.js
 * ../../.yarn/__virtual__/next-virtual-ab593158bb/0/cache/next-npm-12.3.4-cdaf2db0a7-d96fc4f5bc.zip/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
You may need an additional loader to handle the result of these loaders.

Version

v1.0.261

Steps to reproduce (or sample repo)

just use console.log

Log output

nothing
@ArtemGovorov
Copy link
Member

We have seen an issue like this before and it was related to SWC compilation: vercel/next.js#44113. It was fixed in Console Ninja when it was originally reported.

Please create a sample repo demonstrating the issue, we are happy to take a look and investigate.

In order to get your app working without Console Ninja, you need to run Console Ninja Pause command, then remove .next folder and restart your npm run dev script.

@kyoung-jnn
Copy link

@ArtemGovorov I appreciate it 🥹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants