console-ninja icon indicating copy to clipboard operation
console-ninja copied to clipboard

[Bug]: Module parse failed issue

Open rnrn99 opened this issue 1 year ago • 2 comments

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

rnrn99 avatar Nov 21 '23 05:11 rnrn99

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.

ArtemGovorov avatar Nov 21 '23 05:11 ArtemGovorov

@ArtemGovorov I appreciate it 🥹

kyoung-jnn avatar Nov 21 '23 06:11 kyoung-jnn