Giter Site home page Giter Site logo

console-ninja's People

Contributors

artemgovorov avatar mburnell avatar mrsinarj avatar satyamgupta1495 avatar smcenlly avatar wallabyjs-build avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

console-ninja's Issues

Add support for remote docker volumes

Hi, so had a quick play with this and works brilliantly when running in a directory on my machine, nice work πŸ‘ŒπŸ»

One issue I hit when working with a docker compose setup where my node_modules are mounted in a volume;

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/<<myusername>>/.vscode/extensions/wallabyjs.console-ninja-0.0.18/out/buildHook/index.js' imported from /app/node_modules/webpack/lib/index.js
     at new NodeError (node:internal/errors:393:5)
     at finalizeResolution (node:internal/modules/esm/resolve:260:11)
     at moduleResolve (node:internal/modules/esm/resolve:879:10)
     at defaultResolve (node:internal/modules/esm/resolve:1087:11)
     at nextResolve (node:internal/modules/esm/loader:161:28)
     at ESMLoader.resolve (node:internal/modules/esm/loader:831:30)
     at ESMLoader.getModuleJob (node:internal/modules/esm/loader:413:18)
     at ESMLoader.import (node:internal/modules/esm/loader:514:22)
     at importModuleDynamically (node:internal/modules/cjs/loader:1151:29)
     at importModuleDynamicallyWrapper (node:internal/vm/module:438:21) {
   code: 'ERR_MODULE_NOT_FOUND'
 }
 
 Node.js v19.2.0

I can see the issue - the working directory for the volume in Docker is set at /app where the extension is looking at the root directory of my machine for the extension. This causes Webpack / Vite to crash so had to disable the extension for this project.

Totally understand this might be a complex one to fix and will continue to use for other non-Dockerised projects, but thought would flag it!

Support for JetBrains products

Hi, I'm not sure what is the right place to ask for support, but as an old time user of Quokka/Wallaby on WebStorm (I even remember spyjs ;)), I would like to see console ninja for JB products too.

In case this is the right place to track this, for anyone who supports the idea I ask to add πŸ‘ to this issue.
Thank you

No logs appearing, stuck in "waiting for runtime events" with create react app

The extension doesn't move from "waiting for runtime events", it seems to detect my create-react-app starting, via yarn start, I then navigate to http://localhost:3000 whereby I can view the console logs in chrome debugger, however not in editor.

I am running VSCode + the webpack server under Ubuntu 20.04.4 LTS on windows WSL2.

Logs are;

info extension stopping host
info host ------------ starting ------------
info host worker Starting Host Worker...
info extension host process output: port:[41011]
info extension 
ERR! extension error while searching files: {"message":"spawn /home/wsl-tom/.vscode-server/bin/6261075646f055b99068d3688932416f2346dd3b/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg ENOENT","code":5}
info host client connected: extension { address: '::', family: 'IPv6', port: 41011 }
info host starting host: {"extensionFolder":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.32","runtimeHookFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.32/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.32/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/server.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/common/db_entities/ServerStats.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/game/main.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/PhaserEntityRenderer.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/bot/stressBot.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/systems/PlayerSystem.ts"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","hydrogen"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LAPTOP-3T3IEPN6","172.18.232.187"]}
info host starting tools discovery and integration
info host looking for tools to patch
info host starting host: {"extensionFolder":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.32","runtimeHookFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.32/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.32/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/server.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/common/db_entities/ServerStats.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/game/main.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/PhaserEntityRenderer.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/bot/stressBot.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/systems/PlayerSystem.ts"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","hydrogen"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LAPTOP-3T3IEPN6","172.18.232.187"]}
info host found 6 tool file(s) to patch
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest-runner/build/testWorker.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info host starting tools discovery and integration
info host looking for tools to patch
info host found 6 tool file(s) to patch
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest-runner/build/testWorker.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info buildHook-2457 installing build hook for webpack at /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend
info buildHook-2457 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, hydrogen
info buildHook-2457 running tools: webpack
info buildHook-2457 installing fs interceptor
info host client connected: buildHook { address: '::', family: 'IPv6', port: 41011 }
info buildHook-2457 file processed (stat): 5 log points, error handler: false
info buildHook-2457 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, hydrogen
info buildHook-2457 running tools: webpack
info buildHook-2457 file processed (stat): 0 log points, error handler: true
info buildHook-2457 file processed (stat): 1 log points, error handler: false
info buildHook-2457 file processed (stat): 0 log points, error handler: false
info buildHook-2457 file processed (stat): 1 log points, error handler: false
info host client disconnected: buildHook 4100
info host client disconnected: buildHook 4100, has clients false
info buildHook-3136 installing build hook for webpack at /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend
info buildHook-3136 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, hydrogen
info buildHook-3136 running tools: webpack
info host client connected: buildHook { address: '::', family: 'IPv6', port: 41011 }
info buildHook-3136 installing fs interceptor
info buildHook-3136 file processed (stat): 1 log points, error handler: false
info buildHook-3136 file processed (stat): 1 log points, error handler: false
info buildHook-3136 file processed (stat): 5 log points, error handler: false
info buildHook-3136 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, hydrogen
info buildHook-3136 running tools: webpack
info buildHook-3136 file processed (stat): 0 log points, error handler: true
info buildHook-3136 file processed (stat): 0 log points, error handler: false
info buildHook-3136 file processed (stat): 1 log points, error handler: false
info buildHook-3136 file processed (stat): 1 log points, error handler: false
info buildHook-3136 file processed (stat): 0 log points, error handler: false
info buildHook-3136 file processed (stat): 1 log points, error handler: false
info buildHook-3136 file processed (stat): 1 log points, error handler: false
info buildHook-3136 file processed (stat): 0 log points, error handler: false
info buildHook-3136 file processed (stat): 1 log points, error handler: false
info extension stopping host
info host ------------ starting ------------
info host worker Starting Host Worker...
info extension host process output: port:[42547]
info extension 
ERR! extension error while searching files: {"message":"spawn /home/wsl-tom/.vscode-server/bin/6261075646f055b99068d3688932416f2346dd3b/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg ENOENT","code":5}
info host client connected: extension { address: '::', family: 'IPv6', port: 42547 }
info host starting host: {"extensionFolder":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35","runtimeHookFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/server.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/common/db_entities/ServerStats.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/game/main.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/game/index.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/App.tsx","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/features/toolbar/Toolbar.tsx","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/features/playerhud/GameStatusHUD.tsx","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/PhaserEntityRenderer.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/bot/stressBot.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/systems/PlayerSystem.ts"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","hydrogen"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LAPTOP-3T3IEPN6","172.18.232.187"]}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 6 tool file(s) to patch
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest-runner/build/testWorker.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info host starting host: {"extensionFolder":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35","runtimeHookFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/server.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/common/db_entities/ServerStats.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/game/main.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/game/index.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/App.tsx","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/features/toolbar/Toolbar.tsx","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/features/playerhud/GameStatusHUD.tsx","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/PhaserEntityRenderer.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/bot/stressBot.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/systems/PlayerSystem.ts"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","hydrogen"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LAPTOP-3T3IEPN6","172.18.232.187"]}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 6 tool file(s) to patch
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest-runner/build/testWorker.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info extension stopping host
info host ------------ starting ------------
info extension host process output: port:[37185]
info host worker Starting Host Worker...
info extension 
ERR! extension error while searching files: {"message":"spawn /home/wsl-tom/.vscode-server/bin/6261075646f055b99068d3688932416f2346dd3b/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg ENOENT","code":5}
info host client connected: extension { address: '::', family: 'IPv6', port: 37185 }
info host starting host: {"extensionFolder":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35","runtimeHookFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/game/main.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/systems/PlayerSystem.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/scenes/level-one.ts"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","hydrogen"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LAPTOP-3T3IEPN6","172.18.232.187"]}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 3 tool file(s) to patch
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info host starting host: {"extensionFolder":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35","runtimeHookFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/game/main.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/systems/PlayerSystem.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/scenes/level-one.ts"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","hydrogen"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LAPTOP-3T3IEPN6","172.18.232.187"]}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 3 tool file(s) to patch
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info host removing cache folder: e53e7a8f07311d646f5c85759e12e363
info extension stopping host
info host removing cache folder: 6df53f76995c65d3728fc3302d9d2d3e
info extension stopping host
info extension host process output: port:[40317]
info host ------------ starting ------------
info extension 
info host worker Starting Host Worker...
ERR! extension error while searching files: {"message":"spawn /home/wsl-tom/.vscode-server/bin/6261075646f055b99068d3688932416f2346dd3b/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg ENOENT","code":5}
info host client connected: extension { address: '::', family: 'IPv6', port: 40317 }
info host starting host: {"extensionFolder":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35","runtimeHookFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/game/main.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/scenes/level-one.ts"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","hydrogen"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LAPTOP-3T3IEPN6","172.18.232.187"]}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 3 tool file(s) to patch
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info host starting host: {"extensionFolder":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35","runtimeHookFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/wsl-tom/git/personal/zombie-io-game-matter-port/server/src/game/main.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/scenes/level-one.ts"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","hydrogen"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LAPTOP-3T3IEPN6","172.18.232.187"]}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 3 tool file(s) to patch
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/server/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info extension stopping host
info host ------------ starting ------------
info host worker Starting Host Worker...
info extension host process output: port:[40583]
info extension 
ERR! extension error while searching files: {"message":"spawn /home/wsl-tom/.vscode-server/bin/6261075646f055b99068d3688932416f2346dd3b/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg ENOENT","code":5}
info host client connected: extension { address: '::', family: 'IPv6', port: 40583 }
info host starting host: {"extensionFolder":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35","runtimeHookFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/scenes/level-one.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/game/Main.tsx","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/Simulator.ts"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","hydrogen"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LAPTOP-3T3IEPN6","172.18.232.187"]}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 3 tool file(s) to patch
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info host starting host: {"extensionFolder":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35","runtimeHookFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/wsl-tom/.vscode-server/extensions/wallabyjs.console-ninja-0.0.35/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/scenes/level-one.ts","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/game/Main.tsx","/home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/src/Simulator.ts"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","hydrogen"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LAPTOP-3T3IEPN6","172.18.232.187"]}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 3 tool file(s) to patch
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/webpack/lib/webpack.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest/bin/jest.js
info host patching /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info host removing cache folder: 5392084ddb38d93fdc623c1f8c497866
info buildHook-7268 installing build hook for webpack at /home/wsl-tom/git/personal/zombie-io-game-matter-port/frontend
info buildHook-7268 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, hydrogen
info buildHook-7268 running tools: webpack
info buildHook-7268 installing fs interceptor
info host client connected: buildHook { address: '::', family: 'IPv6', port: 40583 }
info buildHook-7268 file processed (stat): 3 log points, error handler: false
info buildHook-7268 file processed (stat): 6 log points, error handler: false
info buildHook-7268 file processed (stat): 12 log points, error handler: false
info buildHook-7268 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, hydrogen
info buildHook-7268 running tools: webpack
info buildHook-7268 file processed (stat): 0 log points, error handler: true

yarn not working when extentions remove

when i was remove ninja plugin from vscode and .vscode/extentions/{{ninja extention directory}}. yarn is not working.

Do you think it is ninja's problem?

Nuxt 3 Support

From product hunt:

Hey nice work, but what about Next 3 support?

Console Ninja corrupted yarn with plugin

After latest update of this extension and tried to run any yarn commands ex:

 yarn ts-node src/test.ts

And i started seeing this error:

Internal Error: Cannot find module '/home/alexxgrib/.vscode/extensions/wallabyjs.console-ninja-0.0.18/out/integrations/yarn/plugin.js'
Require stack:
- /home/alexxgrib/.cache/node/corepack/yarn/3.3.0/yarn.js
Require stack:
- /home/alexxgrib/.cache/node/corepack/yarn/3.3.0/yarn.js
   at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
   at Module._load (node:internal/modules/cjs/loader:841:27)
   at Module.require (node:internal/modules/cjs/loader:1061:19)
   at require (/usr/lib/node_modules/corepack/dist/vcc.js:170:20)
   at o3 (/home/alexxgrib/.cache/node/corepack/yarn/3.3.0/yarn.js:390:10475)
   at Nf (/home/alexxgrib/.cache/node/corepack/yarn/3.3.0/yarn.js:390:11318)
   at D (/home/alexxgrib/.cache/node/corepack/yarn/3.3.0/yarn.js:391:21596)
   at Ga.find (/home/alexxgrib/.cache/node/corepack/yarn/3.3.0/yarn.js:391:22213)
   at async i (/home/alexxgrib/.cache/node/corepack/yarn/3.3.0/yarn.js:446:10711)
   at async t (/home/alexxgrib/.cache/node/corepack/yarn/3.3.0/yarn.js:446:10278)

Support for other local subdomains

Excellent extension congrats !

It would be awesome to use the extension with custom domains like local.mydomain.com rather than only on localhost

Webpack Error

when similar functions/ variables exist with similar names webpack gives errors when compiling with console ninja

I'm using swc in react app not nextjs.

 * ./node_modules/@pmmmwh/react-refresh-webpack-plugin/loader/index.js
 * ./node_modules/swc-loader/src/index.js
You may need an additional loader to handle the result of these loaders.
|     return data;
| }
> function _templateObject() {
|     var data = _taggedTemplateLiteral([
|         "\n  display: flex;\n  flex-direction: column;\n  align-items: start;\n  width: 100%;\n  position: relative;\n\n  .input-content {\n    width: 100%;\n\n    > div:first-child {\n      position: relative;\n      display: flex;\n      flex-direction: column;\n      width: 100%;\n    }\n  }\n\n  label {\n    color: #333333;\n    font-size: 14px;\n    font-weight: 600;\n    letter-spacing: 0;\n    padding-bottom: 8px;\n    align-self: flex-start;\n  }\n\n  input {\n    box-sizing: border-box;\n    height: 36px;\n    width: 100%;\n    border: 1px solid ",

Implement a watch on vite BUILD

Hey, first i think this extension is amazing.

I have a case in that I link ( npm link )the package to my Application, in my APP the console ninja works fine, but not works on my Package. I think because NINJA waiting for server command of my Package ( using vite serve / start / dev ) BUT in my case I using a build command with watch flag to build if I change something . I this case NINJA not works :(

image

We can implement it to works in this case ?

Escape key not working on a multi cursor selection

image

How to reproduce the issue

  1. Select multi line by clicking ctrl + alt + down arrow.
  2. Hit Esc key on the keyboard.

Instead of deselecting the lines like it should, it displays a message "(Escape) was pressed. Waiting for second key of chord..."
If I disable the extension for the workspace, Esc key works as usual.

Does not work with Shopify's Hydrogen Framework

Hi Wallaby team,

Is there any chance that you guys will support Shopify Hydrogen Framework? seems like it does not work with Hydrogen as of the moment. Or I'm not sure if I needed to do something with the configuration of vite since Hydrogen uses vite which console-ninja already supported

Add support for Quasar

I tried this extension on couple of my projects build with Quasar framework and it doesn't work. After dev server start, extension status is "waiting for vite to start" even though it's already running. It seems to be because Quasar is using its wrapper over vite.
P.S. On default vue project on vite the extension seems to work properly

Chorded "Escape" keybinding applied to all editors.

The default keybinding for console-ninja.clearOutput causes Escape to be chorded in all editors. I was able to fix it by grouping the when criteria that followed ||:

{
  "key": "escape escape",
  "command": "console-ninja.clearOutput",
  "when": "activeWebviewPanelId == 'console-ninja.output' || (editorTextFocus && !editorHasSelection && !findWidgetVisible && !inReferenceSearchEditor && !parameterHintsVisible && !quickFixWidgetVisible && !referenceSearchVisible && !renameInputVisible && !suggestWidgetVisible)"
}

I'm not persuaded that's the smartest way to do it, but it did it.

Support @salesforce/sfdx-lwc-jest

I have a Salesforce LWC project and I am using Jest for Unti Testing. The project does have a Jest Unit tests. But the extension is showing that it is waiting for Jest to start/restart. Please note that I have console.log statement as well but nothing happens.

Here is the code -

import { createElement } from "lwc";
import helloLWC from "c/helloLWC";

it("displays greeting", () => {
// Create element
const element = createElement("c-hello-lwc", {
is: helloLWC
});
document.body.appendChild(element);

// Verify displayed greeting
const div = element.shadowRoot.querySelector("div");
console.log(div.textContent);
expect(div.textContent).toBe("Hello World!");

});

package.json

{
"name": "salesforce-app",
"private": true,
"version": "1.0.0",
"description": "Salesforce App",
"scripts": {
"lint": "eslint /{aura,lwc}/",
"test": "npm run test:unit",
"test:unit": "sfdx-lwc-jest",
"test:unit:watch": "sfdx-lwc-jest --watch",
"test:unit:debug": "sfdx-lwc-jest --debug",
"test:unit:coverage": "sfdx-lwc-jest --coverage",
"prettier": "prettier --write "/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}"",
"prettier:verify": "prettier --list-different "
/.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}"",
"postinstall": "husky install",
"precommit": "lint-staged"
},
"devDependencies": {
"@lwc/eslint-plugin-lwc": "^1.1.2",
"@prettier/plugin-xml": "^2.0.1",
"@salesforce/eslint-config-lwc": "^3.2.3",
"@salesforce/eslint-plugin-aura": "^2.0.0",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^1.2.1",
"eslint": "^8.11.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.2",
"husky": "^7.0.4",
"jest": "^29.3.1",
"lint-staged": "^12.3.7",
"prettier": "^2.6.0",
"prettier-plugin-apex": "^1.10.0"
},
"lint-staged": {
"**/
.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
],
"/{aura,lwc}/": [
"eslint"
]
}
}

Error in console when starting a Nextjs app

When starting a Nextjs (v13) app. I'm getting this error in the console. The extension does work regardless of this error.

error - uncaughtException: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Buffer
    at new NodeError (node:internal/errors:371:5)
    at validateString (node:internal/validators:119:11)
    at Object.basename (node:path:1309:5)
    at yc.<computed> [as _errorHandlerTargetFileFilter] (/Users/<user>/.vscode/extensions/wallabyjs.console-ninja-0.0.18/out/buildHook/index.js:1:2103700)
    at yc._shouldInsertErrorHandler (/Users/<user>/.vscode/extensions/wallabyjs.console-ninja-0.0.18/out/buildHook/index.js:1:2111877)
    at yc._allowedToIntercept (/Users/<user>/.vscode/extensions/wallabyjs.console-ninja-0.0.18/out/buildHook/index.js:1:2111695)
    at Object.lstat (/Users/<user>/.vscode/extensions/wallabyjs.console-ninja-0.0.18/out/buildHook/index.js:1:2107462)
    at lstat (node:fs:1439:11)
    at _rimraf (node:internal/fs/rimraf:68:3)
    at rimraf (node:internal/fs/rimraf:47:3) {
  code: 'ERR_INVALID_ARG_TYPE'

eslint isn't totally disabled when Prettier is integrated with it

Not sure how this can be fixed, but when using Prettier in ESLint:

2022-12-08 at 12 05 45

Screenshot 2022-12-08 at 12 05 50

The only differences between the code and Prettier suggestion (just at the start and end):

2022-12-08 at 12 08 31

Screenshot 2022-12-08 at 12 08 36

Adding an extra // eslint-disable above the console.log doesn't fix this either πŸ€” I can only make the error go away by adding // eslint-disable-next-line prettier/prettier to the line above.

Websocket error

When running a vite application there are endless websocket failures in the browser console.

The errors dont appear when the app is first created or if console ninja is paused before the application starts and the console ninja is restarted

viteconsoleninja

Improve status reporting when unsupported tech (e.g. node version) is used

I am having a nuxt 2 project and when I run the project the status of console ninja in the taskbar is the following
"Console Ninja is βŒ› waiting for webpack to start. Console Ninja has successfully integrated with webpack found in your project dependencies, but has not connected to a running instance of it yet."

I don't know what is the problem, didn't find anything online

Breaks Angular CLI ng build command. Index html generation failed

When Console Ninja is enabled it's causing the index.html generation step to fail. I believe it's webpack related but not sure. If you disable plugin the build works as expected.

ng build <app-name>

βœ” Browser application bundle generation complete.
βœ” Copying assets complete.
βœ– Index html generation failed.
(intermediate value).default is not a constructor

Console Ninja v0.0.31
Angular v15.0.2

Support for collapsing nested objects

Awesome extension, already using it on all of my products! Congrats!

Our team is working with big big nested objects.

A good enhancement will be, instead of JSON.stringify(console) output, to grant the user the possibility of collapsing or expanding parts of nested objects.

example

Using Console Ninja in Nx tool

Hi πŸ‘‹

We're using Angular 14, with Nx CLI tool

Any chance to add support for Nx build and serve tool?
Currently, the extension does not handle and show those logs

Not working with Vite/React.

Currently unable to get the extension working. Tried on both a current React / Vite project and a new barebones project...both with the same error.

Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/react.js?v=fe5f9519' does not provide an export named 'default' (at app.tsx:1:1)

Trace log:

info host ------------ starting ------------
info host client connected: extension { address: '::', family: 'IPv6', port: 34071 }
info host starting host: {"extensionFolder":"/home/scrubz/.vscode/extensions/wallabyjs.console-ninja-0.0.18","runtimeHookFile":"/home/scrubz/.vscode/extensions/wallabyjs.console-ninja-0.0.18/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/scrubz/.vscode/extensions/wallabyjs.console-ninja-0.0.18/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/scrubz/code/github/website/src/app.tsx"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve"]}}
info host starting tools discovery and integration
info host looking for tools to patch
info host worker Starting Host Worker...
info host found 1 tool file(s) to patch
info host patching /home/scrubz/code/github/website/node_modules/vite/bin/vite.js
info host completed tools discovery and integration
info buildHook-813806 installing build hook for vite at /home/scrubz/code/github/website
info buildHook-813806 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve
info buildHook-813806 running tools: vite
info host client connected: buildHook { address: '::', family: 'IPv6', port: 34071 }
info buildHook-813806 installing fs interceptor
info buildHook-813806 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve
info buildHook-813806 running tools: vite
info buildHook-813806 file processed (stat): 0 log points, error handler: true
info buildHook-813806 file processed (stat): 1 log points, error handler: false
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 34071 }
info host client disconnected: buildHook 1006
info host client disconnected: buildHook 1006, has clients false
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook

Can provide the barebones project used to repro this issue along with the node_modules if needed.

React.StrictMode double output

Wrapping a React component in <React.StrictMode> makes all the children mount twice and any console.logs that are triggered the second time appear faded out in the console, to underline this effect. Would be nice to have something similar in ninja, if possible, or an option to ignore these.

2022-12-09 at 09 56 26

2022-12-09 at 09 55 52

webpack error

when similar functions/ variables exist with similar names webpack gives errors when compiling with console ninja

File was processed with these loaders:
 * ./node_modules/@pmmmwh/react-refresh-webpack-plugin/loader/index.js
 * ./node_modules/swc-loader/src/index.js
You may need an additional loader to handle the result of these loaders.
|     return data;
| }
> function _templateObject() {
|     var data = _taggedTemplateLiteral([
|         "\n  display: flex;\n  flex-direction: column;\n  align-items: start;\n  width: 100%;\n  position: relative;\n\n  .input-content {\n    width: 100%;\n\n    > div:first-child {\n      position: relative;\n      display: flex;\n      flex-direction: column;\n      width: 100%;\n    }\n  }\n\n  label {\n    color: #333333;\n    font-size: 14px;\n    font-weight: 600;\n    letter-spacing: 0;\n    padding-bottom: 8px;\n    align-self: flex-start;\n  }\n\n  input {\n    box-sizing: border-box;\n    height: 36px;\n    width: 100%;\n    border: 1px solid ",

[Feature request] Add the //? syntax to log

I have both quokka and wallaby and I feel it's missing being able to use the //? to console the values.

Maybe you could add this as a bonus to people who have a license for either quokka and/or wallaby?

I'm really enjoying the extension so far. Thank you!

Not detecting next.js start

Extension is stuck on "Console Ninja is βŒ› waiting for next.js to start. Console Ninja has successfully integrated with next.js found in your project dependencies, but has not connected to a running instance of it yet.", even after starting via "pnpm dev".

These are the logs:

info host ------------ starting ------------
info extension host process output: port:[65437]
info host worker Starting Host Worker...
info extension 
info host client connected: extension { address: '::', family: 'IPv6', port: 65437 }
info host starting host: {"extensionFolder":"/Users/alex/.vscode-insiders/extensions/wallabyjs.console-ninja-0.0.24","runtimeHookFile":"/Users/alex/.vscode-insiders/extensions/wallabyjs.console-ninja-0.0.24/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/Users/alex/.vscode-insiders/extensions/wallabyjs.console-ninja-0.0.24/out/runtimeHook/errorHandler.js","filesToInstrument":["(...long list of files)"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["next.js","http-server"]}}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 10 tool file(s) to patch
info host patching /Users/alex/dev/statsig/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /Users/alex/dev/statsig/console/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /Users/alex/dev/statsig/intern/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /Users/alex/dev/statsig/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host patching /Users/alex/dev/statsig/console/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host patching /Users/alex/dev/statsig/intern/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host patching /Users/alex/dev/statsig/node_modules/.pnpm/[email protected]_hoopuhfcxzwq3qcfqmjjrgp5yu/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /Users/alex/dev/statsig/node_modules/.pnpm/[email protected]_u5oxe5ddziuyvtw2sb5xyxdf6a/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /Users/alex/dev/statsig/node_modules/.pnpm/[email protected]_hoopuhfcxzwq3qcfqmjjrgp5yu/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host patching /Users/alex/dev/statsig/node_modules/.pnpm/[email protected]_u5oxe5ddziuyvtw2sb5xyxdf6a/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host completed tools discovery and integration
info buildHook-96350 installing build hook for next.js at /Users/alex/dev/statsig/console

The project I'm working on is located at statsig/console, which seems to have been patched based on the logs.

ninja won't work yarn pnp(3.2.4 and 3.3.0) use worksapce feature(monorepo)

ninja won't work my environment.
Vscode status
Version: 1.74.0 (Universal)
Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91
Date: 2022-12-05T16:43:37.594Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin arm64 21.6.0
Sandboxed: No

yarn pnp 3.2.4, use workspace
스크란샷 2022-12-09 α„‹α…©α„Œα…₯ᆫ 11 20 32

status said.

Current status
Console Ninja is πŸ’€ inactive. Console Ninja has scanned your project dependencies, but has not found any tools that are supported.

What to do next
If you are using a tool supported by Console Ninja, such as webpack, or next.js, or next.js browser, or next.js server, or vite, or jest, or cypress, or http-server, or serve, then

Check that the tool is enabled in the [extension settings](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html).
Try running npm/yarn/pnpm install and after that make sure that node modules exist in your project directory.

πŸ™

CONTENT_LENGTH_MISMATCH for js file lazy loaded (Vite + React)

Console Ninja appears to break the importing/loading process of the Monaco editor. It causes a CONTENT_LENGTH_MISTMATCH error to occur when the editor.main.js file is loaded.

I confirmed that disabling Console Ninja causes this to work again. And it worked before.

I am running a Vite app. I have the necessary Monaco files in my public folder. I am using the @monaco-editor/react package to get the editor to appear. I basically expect these js files to be available so the Monaco editor can load them or whatever it does.

I assume Console Ninja is modifying these files in transit somehow? I further assume that the Vite dev server is specifying a content length that Console Ninja affects? If so, it'd be great if there is some way to exclude files from the Console Ninja treatment. In this case, I only want to activate on files in my src/ tree instead of public/.

For reference, both the loader.js and editor.main.js files contain console.XXX commands which presumably are being rewritten?

I am mostly guessing about the mechanism here. Please let me know if I can provide more useful information.

image

Console ninja uncaught exception

I have recently installed console ninja in my project.
When i start the project i get the following error in my terminal coming from console ninja:

error - uncaughtException: TypeError: _0x4cf998.startsWith is not a function
    at od (c:\Users\a_4n\.vscode\extensions\wallabyjs.console-ninja-0.0.29\out\buildHook\index.js:1:2104031)
    at Object.lstat (c:\Users\a_4n\.vscode\extensions\wallabyjs.console-ninja-0.0.29\out\buildHook\index.js:1:2108668)
    at lstat (node:fs:1491:11)
    at _rimraf (node:internal/fs/rimraf:68:3)
    at rimraf (node:internal/fs/rimraf:47:3)
    at node:internal/fs/rimraf:146:7
    at Array.forEach (<anonymous>)
    at node:internal/fs/rimraf:143:5
    at FSReqCallback.oncomplete (node:fs:196:23)

I am running a nextJS 12 project with typescript.
Here is a list of my dependencies and dev dependencies if it helps:

Project Dependencies
  "dependencies": {
  "@headlessui/react": "^1.6.5",
  "@hello-pangea/dnd": "^16.0.0",
  "@heroicons/react": "^1.0.6",
  "@next-auth/firebase-adapter": "^1.0.1",
  "@next-auth/prisma-adapter": "^1.0.5",
  "@prisma/client": "^4.7.1",
  "@reduxjs/toolkit": "^1.8.3",
  "@sendgrid/mail": "^7.7.0",
  "@stripe/react-stripe-js": "^1.12.0",
  "@stripe/stripe-js": "^1.38.1",
  "@tailwindcss/line-clamp": "^0.4.2",
  "@tanstack/react-query": "^4.18.0",
  "@tanstack/react-query-devtools": "^4.18.0",
  "chart.js": "^3.9.1",
  "cookies-next": "^2.1.1",
  "date-fns": "^2.29.2",
  "fast-geoip": "^1.1.88",
  "filepond": "^4.30.4",
  "filepond-plugin-file-validate-size": "^2.2.7",
  "filepond-plugin-file-validate-type": "^1.2.8",
  "filepond-plugin-image-crop": "^2.0.6",
  "filepond-plugin-image-edit": "^1.6.3",
  "filepond-plugin-image-exif-orientation": "^1.0.11",
  "filepond-plugin-image-preview": "^4.6.11",
  "filepond-plugin-image-resize": "^2.0.10",
  "filepond-plugin-image-transform": "^3.8.7",
  "firebase": "^9.9.3",
  "flowbite": "^1.4.7",
  "flowbite-react": "^0.0.27",
  "formidable": "^2.0.1",
  "formik": "^2.2.9",
  "geolib": "^3.3.3",
  "google-map-react": "^2.2.0",
  "jose": "^4.10.0",
  "localforage": "^1.10.0",
  "lru-cache": "^7.12.0",
  "mapbox-gl": "^2.10.0",
  "micro": "^9.4.1",
  "moment": "^2.29.3",
  "next": "^12.2.5",
  "next-auth": "^4.16.4",
  "next-seo": "^5.5.0",
  "next-share": "^0.12.1",
  "next-themes": "^0.2.0",
  "nprogress": "^0.2.0",
  "react": "18.2.0",
  "react-chartjs-2": "^4.3.1",
  "react-csv": "^2.2.2",
  "react-date-range": "^1.4.0",
  "react-dom": "18.2.0",
  "react-filepond": "^7.1.2",
  "react-firebase-hooks": "^5.0.3",
  "react-flags-select": "^2.2.3",
  "react-map-gl": "^7.0.19",
  "react-places-autocomplete": "^7.3.0",
  "react-player": "^2.10.1",
  "react-redux": "^8.0.2",
  "react-select": "^5.4.0",
  "react-to-print": "^2.14.7",
  "react-toastify": "^9.0.7",
  "request-ip": "^3.3.0",
  "sharp": "^0.31.2",
  "stripe": "^10.13.0",
  "tailwind-scrollbar-hide": "^1.1.7",
  "yup": "^0.32.11"
},
"devDependencies": {
  "@types/formidable": "^2.0.5",
  "@types/geoip-lite": "^1.4.1",
  "@types/google-map-react": "^2.1.7",
  "@types/node": "^18.0.0",
  "@types/nodemailer": "^6.4.4",
  "@types/nprogress": "^0.2.0",
  "@types/react": "18.0.14",
  "@types/react-beautiful-dnd": "^13.1.2",
  "@types/react-csv": "^1.1.3",
  "@types/react-date-range": "^1.4.4",
  "@types/react-dom": "18.0.5",
  "@types/react-places-autocomplete": "^7.2.9",
  "@types/request-ip": "^0.0.37",
  "@types/uuid": "^8.3.4",
  "autoprefixer": "^10.4.7",
  "cross-env": "^7.0.3",
  "eslint": "8.18.0",
  "eslint-config-next": "12.2.0",
  "install": "^0.13.0",
  "npm": "^8.13.2",
  "postcss": "^8.4.14",
  "prisma": "^4.7.1",
  "tailwind-scrollbar": "^1.3.1",
  "tailwindcss": "^3.1.4",
  "ts-node": "^10.8.2",
  "typescript": "^4.7.4"
},

The extension is working, it's just seeing this error on every page i navigate to kinda sucks.

Log details are no longer available.

I am using console ninja in react project. it shows the console log in inline as well as in new file but not able to see the full object if the output object is too big if i try to expand the object it shows logs details are no longer available
Screenshot 2022-12-14 at 12 35 01 AM
Screenshot 2022-12-14 at 12 36 04 AM

Error launching on NextJS

I'm using version 0.0.28 and NextJS 12.3.1
I added a console.log at the start of a page and launching the app in development gets me this error that prevent the app from running, note that before this error happens, I get the console.log in the editor as expected. Removing the console.log and restarting the dev command solves the error

error - Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
    at renderElement (/Users/demo/Documents/Dev/JS/ewi-frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6043:9)
    at renderNodeDestructiveImpl (/Users/demo/Documents/Dev/JS/ewi-frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11)
    at renderNodeDestructive (/Users/demo/Documents/Dev/JS/ewi-frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14)
    at renderNode (/Users/demo/Documents/Dev/JS/ewi-frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12)
    at renderHostElement (/Users/demo/Documents/Dev/JS/ewi-frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5642:3)
    at renderElement (/Users/demo/Documents/Dev/JS/ewi-frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5952:5)
    at renderNodeDestructiveImpl (/Users/demo/Documents/Dev/JS/ewi-frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11)
    at renderNodeDestructive (/Users/demo/Documents/Dev/JS/ewi-frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14)
    at renderNode (/Users/demo/Documents/Dev/JS/ewi-frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12)
    at renderChildrenArray (/Users/demo/Documents/Dev/JS/ewi-frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) {
  page: '/auth'
}

Issue with Cypress v10.5

When I run Cypress with console-ninja installed I get the following error in Cypress:

Error: "Cannot find module 'tslib'

image

I tried disabling Cypress but problem persisted. I had to delete my Cypress cache and reinstall to get the Cypress app working again.

Problem with yarn berry integrations

Since today, I could not run the project on the yarn berry version due to problems with the extension. Removing the extension from vscode does not allow yarn to work properly at all

image

Add support for Remix

I'm developing with remix.run and vitest for unit testing. With the remix dev server running I can't use Ninja because it's automatically integrating with Vite instead of Remix (which I think is using esbuild)

Remix docs: https://remix.run/docs/en/v1

Trace logs:

info extension stopping host
info host ------------ starting ------------
info host worker Starting Host Worker...
info extension host process output: port:[55480]
info extension 
info host client connected: extension { address: '::', family: 'IPv6', port: 55480 }
info host starting host: {"extensionFolder":"/Users/fergusmeiklejohn/.vscode/extensions/wallabyjs.console-ninja-0.0.20","runtimeHookFile":"/Users/fergusmeiklejohn/.vscode/extensions/wallabyjs.console-ninja-0.0.20/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/Users/fergusmeiklejohn/.vscode/extensions/wallabyjs.console-ninja-0.0.20/out/runtimeHook/errorHandler.js","filesToInstrument":["/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/api.signout.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/user.editprofile.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.home.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/api.refresh-token.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.$eventid.main.$mediaid.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.$eventid.main.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/utils/helpers.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.$eventid.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.$eventid.edit.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.$eventid._index.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/tests.components.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/user.login.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/supabasePlayground.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/presentations.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/poll.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/focusRoom.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/user.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/root.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/event.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/organisation.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/mediaCarousel.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/comment.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/poll.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/comment.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/WriteComment.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/comments.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/userNavDropDownMenu.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/eventSearchComboBox.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/signIn.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/atoms/dropDownMenu.stories.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/socialLogin.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/likeButton.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/atoms/buttons.stories.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/polls.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/navbar.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/atoms/dropDownMenu.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/landingPage/header.tsx"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve"]}}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 1 tool file(s) to patch
info host patching /Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/node_modules/vite/bin/vite.js
info host completed tools discovery and integration
info extension stopping host
info extension client disconnected: 1006 
info extension host process output: port:[55873]
info host ------------ starting ------------
info extension 
info host client connected: extension { address: '::', family: 'IPv6', port: 55873 }
info host worker Starting Host Worker...
info host starting host: {"extensionFolder":"/Users/fergusmeiklejohn/.vscode/extensions/wallabyjs.console-ninja-0.0.20","runtimeHookFile":"/Users/fergusmeiklejohn/.vscode/extensions/wallabyjs.console-ninja-0.0.20/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/Users/fergusmeiklejohn/.vscode/extensions/wallabyjs.console-ninja-0.0.20/out/runtimeHook/errorHandler.js","filesToInstrument":["/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.$eventid._index.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.$eventid.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.$eventid.edit.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/tests.components.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/api.refresh-token.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.$eventid.main.$mediaid.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/user.editprofile.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.$eventid.main.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/events.home.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/user.login.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/routes/api.signout.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/event.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/user.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/poll.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/focusRoom.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/presentations.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/root.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/comment.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/supabasePlayground.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/db/models/organisation.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/socialLogin.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/likeButton.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/signIn.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/mediaCarousel.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/poll.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/polls.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/landingPage/header.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/comment.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/WriteComment.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/utils/helpers.server.ts","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/comments.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/userNavDropDownMenu.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/eventSearchComboBox.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/navbar.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/atoms/buttons.stories.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/atoms/dropDownMenu.stories.tsx","/Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/app/components/atoms/dropDownMenu.tsx"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve"]}}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 1 tool file(s) to patch
info host patching /Users/fergusmeiklejohn/dev/evesa-proj/evesa-dev/node_modules/vite/bin/vite.js
info host completed tools discovery and integration

Support svelte and sveltekit framework

From product hunt:

can you support svelte and sveltekit framework? the JS code is inside the script tag (I don't know why isn't working). thanks a lot if you solve it wallaby!

Other loggers than console

Can console-nija support other loggers like pino.
I don`t want to litter my project with console.log calls which is not recommended for production.
Can it support other methods in near future.

BUG [T3 Stack, Next.js]: Module parse failed: Identifier '_react' has already been declared

This doesn’t work using the T3 Stack.

When importing stuff from React instead of using React functionality directly (import { useStateΒ } from "react" instead of using React.useState(...)) following message occurs:

Module parse failed: Identifier '_react' has already been declared (15:6)
File was processed with these loaders:
 * ./node_modules/next/dist/compiled/@next/react-refresh-utils/dist/loader.js
 * ./node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
You may need an additional loader to handle the result of these loaders.
| const _link = /*#__PURE__*/ _interopRequireDefault(require("next/link"));
| const _router = require("next/router");
> const _react = require("react");
| const _image = /*#__PURE__*/ _interopRequireDefault(require("next/image"));

Issue when running on Next.js inside a Monorepo Setup (Lerna)

Hi Wallaby team,

When trying to console.log() in Next.js app, which under a Monorepo setup using Lerna.
the console-ninja does not work and shows the below error on the trace log.
I'm not sure if the issue is related to the error show below but if I'm not mistaken the Monorepo is still not supported by Console-ninja?

info extension stopping host
info extension client disconnected: 1006 
info extension host process output: port:[35337]
info host ------------ starting ------------
info extension 
ERR! extension error while searching files: {"message":"spawn /home/omersonc/.vscode-server/bin/6261075646f055b99068d3688932416f2346dd3b/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg ENOENT","code":5}
info host client connected: extension { address: '::', family: 'IPv6', port: 35337 }
info host starting host: {"extensionFolder":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.18","runtimeHookFile":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.18/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.18/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/omersonc/ws/entourage-web-local/apps/grapesjs/components/grapes/v3/GrapesStyleWrapper.js","/home/omersonc/ws/entourage-web-local/apps/grapesjs/components/grapes/v3/GrapesjsMain.js","/home/omersonc/ws/entourage-web-local/apps/grapesjs/components/grapes/WebBuilder-v2.js","/home/omersonc/ws/entourage-web-local/apps/grapesjs/pages/grapesjs/site-builder.js","/home/omersonc/ws/entourage-web-local/apps/next12-react-router-v6/pages/404.js","/home/omersonc/ws/entourage-web-local/apps/next12-react-router-v6/views/NotFound.js"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"In View","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve"]}}
info host starting tools discovery and integration
info host found yarn package manager usages in /home/omersonc/ws/entourage-web-local
info host updating yarn plugin in /home/omersonc/.yarnrc.yml
info host looking for tools to patch
info host worker Starting Host Worker...
info host found 24 tool file(s) to patch
info host patching /home/omersonc/ws/entourage-web-local/node_modules/webpack/lib/index.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/css-loader/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/html-webpack-plugin/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/style-loader/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/terser-webpack-plugin/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/webpack-dev-middleware/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@storybook/core-common/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@storybook/core-server/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@storybook/manager-webpack4/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@vuepress/core/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/jest/bin/jest.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/jest-runner/build/testWorker.js
info host patching /home/omersonc/ws/entourage-web-local/apps/grapes-official/node_modules/jest/bin/jest.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/grapesjs/node_modules/jest/bin/jest.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/jest-cli/node_modules/jest-runner/build/testWorker.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@jest/core/node_modules/jest-runner/build/testWorker.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host patching /home/omersonc/ws/entourage-web-local/apps/swr-context/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /home/omersonc/ws/entourage-web-local/apps/swr-context/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@entourage-web-local/swr-context/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@entourage-web-local/swr-context/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host completed tools discovery and integration
info host starting host: {"extensionFolder":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.18","runtimeHookFile":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.18/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.18/out/runtimeHook/errorHandler.js","filesToInstrument":["/home/omersonc/ws/entourage-web-local/apps/grapesjs/components/grapes/v3/GrapesStyleWrapper.js","/home/omersonc/ws/entourage-web-local/apps/grapesjs/components/grapes/v3/GrapesjsMain.js","/home/omersonc/ws/entourage-web-local/apps/grapesjs/components/grapes/WebBuilder-v2.js","/home/omersonc/ws/entourage-web-local/apps/grapesjs/pages/grapesjs/site-builder.js","/home/omersonc/ws/entourage-web-local/apps/next12-react-router-v6/pages/404.js","/home/omersonc/ws/entourage-web-local/apps/next12-react-router-v6/views/NotFound.js"],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss.SSS","openLinksInEditor":true,"maxLogViewerEntries":15000,"autoClearLogViewerOnFileChanges":true,"outputMode":"In View","toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve"]}}
info host starting tools discovery and integration
info host found yarn package manager usages in /home/omersonc/ws/entourage-web-local
info host updating yarn plugin in /home/omersonc/.yarnrc.yml
info host looking for tools to patch
info host found 24 tool file(s) to patch
info host patching /home/omersonc/ws/entourage-web-local/node_modules/webpack/lib/index.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/css-loader/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/html-webpack-plugin/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/style-loader/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/terser-webpack-plugin/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/webpack-dev-middleware/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@storybook/core-common/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@storybook/core-server/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@storybook/manager-webpack4/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@vuepress/core/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/jest/bin/jest.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/jest-runner/build/testWorker.js
info host patching /home/omersonc/ws/entourage-web-local/apps/grapes-official/node_modules/jest/bin/jest.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/grapesjs/node_modules/jest/bin/jest.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/jest-cli/node_modules/jest-runner/build/testWorker.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@jest/core/node_modules/jest-runner/build/testWorker.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /home/omersonc/ws/entourage-web-local/apps/swr-context/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host patching /home/omersonc/ws/entourage-web-local/apps/swr-context/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@entourage-web-local/swr-context/node_modules/next/dist/compiled/webpack/bundle5.js
info host patching /home/omersonc/ws/entourage-web-local/node_modules/@entourage-web-local/swr-context/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
info host completed tools discovery and integration

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.