wallabyjs / console-ninja

Repository for Console Ninja questions and issues
https://console-ninja.com
Other
384 stars 21 forks source link

[Bug]: Module parse failed issue #235

Open rnrn99 opened 11 months ago

rnrn99 commented 11 months ago

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 commented 11 months ago

We have seen an issue like this before and it was related to SWC compilation: https://github.com/vercel/next.js/issues/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 commented 11 months ago

@ArtemGovorov I appreciate it 🥹