wallabyjs / console-ninja Goto Github PK
View Code? Open in Web Editor NEWRepository for Console Ninja questions and issues
Home Page: https://console-ninja.com
License: Other
Repository for Console Ninja questions and issues
Home Page: https://console-ninja.com
License: Other
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!
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
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
Console Ninja has successfully integrated with webpack, and jest found in your project dependencies, but has not connected to a running instance of it yet.
Can i get a fix for this ?
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?
From product hunt:
Hey nice work, but what about Next 3 support?
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)
Excellent extension congrats !
It would be awesome to use the extension with custom domains like local.mydomain.com rather than only on localhost
when similar functions/ variables exist with similar names webpack gives errors when compiling with console ninja
* ./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 ",
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 :(
We can implement it to works in this case ?
Project seems to be patched as I am seeing the logs being appended with a string at the end:
https://share.cleanshot.com/HxIQq6
However the status bar indicates it is still waiting for a connection: https://share.cleanshot.com/LL7Djy
I've tried placing logs in several places of the codebase, some that run immediately some that run upon user interaction. None seems to trigged Console Ninja to detect the new log.
Any clues to what I should try next?
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.
Hi,
I use a custom webpack config. I modify my host and using a custom domain instead of localhost. When will it support custom domains?
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
Would love to be able to use this with Gatsby.js. Cheers!
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
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.
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"
]
}
}
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'
Not sure how this can be fixed, but when using Prettier in ESLint:
The only differences between the code and Prettier suggestion (just at the start and end):
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.
Right now, Console Ninja only supports localhost, 127.0.0.1.
This feature request is to make the list of acceptable hosts / IP addresses configurable.
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
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
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
The current display should be the time zone of +00 Is it possible to align clients?
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.
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 ",
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!
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 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
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.
π
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.
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:
"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.
Assume we had these file structures:
βββ packages
β βββ nextjs-project
package.json
And then start the next dev server of nextjs-project
, it will not be detected.
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'
}
Please add support for Expo and/or React Native π€©
If so, how to enable it?
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
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!
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.
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"));
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
it makes the whole application to crash when using a console.log() inside NextJs Middleware
error shows that the hostname
is undefined and there is a long random string on the server-side log ( there is no const or var called hostnmae in my middleware)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.