Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: console-ninja not working with universal node application on node 20 #160

Closed
constDevDaniel opened this issue Jun 27, 2023 · 26 comments
Assignees

Comments

@constDevDaniel
Copy link

What happened?

I installed console-ninja but it doesn't work, I already deleted the environment variables, uninstalled console-ninja and installed it again and it didn't work, I'm using windows 11 pro nodejs v20.2.0

image

image

Version

v0.0.163

Steps to reproduce (or sample repo)

I followed steps as described on the instruction for Universal Node applications

https://github.com/wallabyjs/console-ninja#universal-node-applications

Log output

10:20:48.145 info uninstalling PATH
10:23:43.038 info extension stopping host
10:23:43.504 info extension host process output: port:[53010]
10:23:43.486 info host ------------ starting ------------
10:23:43.504 info extension 
10:23:43.534 info host client connected: extension { address: '::', family: 'IPv6', port: 53010 }
10:23:43.797 info host starting host: {"extensionFolder":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163","runtimeHookFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"C:\\Users\\danie\\Desktop\\teste optional chaining\\main.js","reason":"search"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"outputMode":"In View","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":false,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension","live-preview-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.106","172.29.224.1"],"host":"127.0.0.1"}
10:23:43.854 info host starting tools discovery and integration
10:23:43.856 info host creating C:\Users\danie\.console-ninja\.bin
10:23:43.863 info host installing C:\Users\danie\.console-ninja\.bin\loader.js
10:23:43.866 info host installing C:\Users\danie\.console-ninja\.bin\console-ninja.ps1
10:23:43.868 info host installing C:\Users\danie\.console-ninja\.bin\console-ninja.cmd
10:23:43.870 info host installing PATH C:\Users\danie\.console-ninja\.bin
10:23:43.884 info host worker Starting Host Worker...
10:23:45.114 info host looking for tools to patch
10:23:45.132 info host found 1 tool file(s) to patch
10:23:45.134 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
10:23:45.140 info host completed tools discovery and integration
10:24:42.117 info extension stopping host
10:24:42.151 info extension client disconnected: 1006 
10:24:42.568 info extension host process output: port:[53010]
10:24:42.529 info host ------------ starting ------------
10:24:42.568 info extension 
10:24:42.589 info host client connected: extension { address: '::', family: 'IPv6', port: 53010 }
10:24:42.706 info host starting host: {"extensionFolder":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163","runtimeHookFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"C:\\Users\\danie\\Desktop\\teste optional chaining\\main.js","reason":"search"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\main.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"autoClearLogViewerOnFileChanges":true,"outputMode":"In View","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension","live-preview-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.106","172.29.224.1"],"host":"127.0.0.1"}
10:24:42.734 info host starting tools discovery and integration
10:24:42.748 info host installing PATH C:\Users\danie\.console-ninja\.bin
10:24:42.795 info host worker Starting Host Worker...
10:24:43.865 info host looking for tools to patch
10:24:43.887 info host found 1 tool file(s) to patch
10:24:43.888 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
10:24:43.893 info host removing cache folder: b06d1b2ee162668b41a8730c8f11d609
10:24:43.894 info host completed tools discovery and integration
10:26:07.351 info extension stopping host
10:26:07.355 info host removing cache folder: 90cca3745e417d467dcee0d35d4b7f7c
10:27:02.282 info extension stopping host
10:27:02.696 info extension host process output: port:[53010]
10:27:02.659 info host ------------ starting ------------
10:27:02.696 info extension 
10:27:02.722 info host client connected: extension { address: '::', family: 'IPv6', port: 53010 }
10:27:02.826 info host starting host: {"extensionFolder":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163","runtimeHookFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"C:\\Users\\danie\\Desktop\\teste optional chaining\\main.js","reason":"search"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\main.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"outputMode":"In View","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension","live-preview-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.106","172.29.224.1"],"host":"127.0.0.1"}
10:27:02.852 info host starting tools discovery and integration
10:27:02.866 info host looking for tools to patch
10:27:02.882 info host worker Starting Host Worker...
10:27:02.886 info host found 1 tool file(s) to patch
10:27:02.887 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
10:27:02.893 info host completed tools discovery and integration
10:27:14.761 info buildHook-5108 installing build hook for node at C:\Users\danie\Desktop\teste optional chaining, node v20.2.0
10:27:14.782 info buildHook-5108 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:27:14.795 info host client connected: buildHook { address: '::', family: 'IPv6', port: 53010 }
10:27:14.782 info buildHook-5108 running tools: node
10:27:14.785 info buildHook-5108 installing fs interceptor
10:27:14.803 info buildHook-5108 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:27:14.803 info buildHook-5108 running tools: node
10:27:14.821 info host client disconnected: buildHook 4100
10:27:14.821 info host client disconnected: buildHook 4100, has clients false
10:36:30.114 info buildHook-9100 installing build hook for live-server-extension at C:\Program Files\Microsoft VS Code, node v16.17.1
10:36:30.140 info buildHook-9100 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:36:30.363 info host client connected: buildHook { address: '::', family: 'IPv6', port: 53010 }
10:36:30.140 info buildHook-9100 running tools: live-server-extension
10:36:30.141 info buildHook-9100 installing fs interceptor
10:36:30.365 info buildHook-9100 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:36:30.365 info buildHook-9100 running tools: live-server-extension
10:36:30.369 info buildHook-9100 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:36:30.370 info buildHook-9100 running tools: live-server-extension
10:36:45.636 info extension stopping host
10:36:45.656 info host removing cache folder: 866abcc59e059d30247c7598c06d9868
10:36:45.668 info buildHook-9100 client disconnected: 1006 
10:36:45.670 info extension client disconnected: 1006 
10:36:45.669 info buildHook-9100 disconnected from host: 53010
10:36:45.669 info buildHook-9100 disconnected from all hosts
10:36:46.030 info extension host process output: port:[53010]
10:36:45.994 info host ------------ starting ------------
10:36:46.030 info extension 
10:36:46.061 info host client connected: extension { address: '::', family: 'IPv6', port: 53010 }
10:36:46.171 info host starting host: {"extensionFolder":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163","runtimeHookFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"C:\\Users\\danie\\Desktop\\teste optional chaining\\index.html","reason":"search"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\index.html","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension","live-preview-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.106","172.29.224.1"],"host":"127.0.0.1"}
10:36:46.195 info host starting tools discovery and integration
10:36:46.207 info host looking for tools to patch
10:36:46.226 info host found 1 tool file(s) to patch
10:36:46.227 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
10:36:46.228 info host worker Starting Host Worker...
10:36:46.233 info host completed tools discovery and integration
10:36:46.287 info buildHook-9100 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:36:46.288 info buildHook-9100 running tools: live-server-extension
10:36:46.294 info host client connected: buildHook { address: '::', family: 'IPv6', port: 53010 }
10:36:46.296 info buildHook-9100 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:36:46.296 info buildHook-9100 running tools: live-server-extension
10:38:00.706 info extension stopping host
10:38:00.725 info host removing cache folder: 107dfc294a20800eafe26856c9b234a1
10:38:00.738 info extension client disconnected: 1006 
10:38:00.739 info buildHook-9100 client disconnected: 1006 
10:38:00.739 info buildHook-9100 disconnected from host: 53010
10:38:00.739 info buildHook-9100 disconnected from all hosts
10:38:01.100 info extension host process output: port:[53010]
10:38:01.065 info host ------------ starting ------------
10:38:01.100 info extension 
10:38:01.122 info host client connected: extension { address: '::', family: 'IPv6', port: 53010 }
10:38:01.217 info host starting host: {"extensionFolder":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163","runtimeHookFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"C:\\Users\\danie\\Desktop\\teste optional chaining\\index.html","reason":"search"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\index.html","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"autoClearLogViewerOnFileChanges":true,"outputMode":"Beside File","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension","live-preview-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.106","172.29.224.1"],"host":"127.0.0.1"}
10:38:01.237 info host starting tools discovery and integration
10:38:01.246 info host looking for tools to patch
10:38:01.263 info host found 1 tool file(s) to patch
10:38:01.264 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
10:38:01.269 info host completed tools discovery and integration
10:38:01.273 info host worker Starting Host Worker...
10:38:01.949 info buildHook-9100 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:38:01.949 info buildHook-9100 running tools: live-server-extension
10:38:01.955 info host client connected: buildHook { address: '::', family: 'IPv6', port: 53010 }
10:38:01.957 info buildHook-9100 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:38:01.957 info buildHook-9100 running tools: live-server-extension
10:38:06.811 info buildHook-9100 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:38:06.811 info buildHook-9100 running tools: live-server-extension
10:46:10.128 info extension stopping host
10:46:10.147 info host removing cache folder: f01641ae34b0fa9a80f62cecfc7740d8
10:46:10.161 info extension client disconnected: 1006 
10:46:10.162 info buildHook-9100 client disconnected: 1006 
10:46:10.162 info buildHook-9100 disconnected from host: 53010
10:46:10.162 info buildHook-9100 disconnected from all hosts
10:47:05.119 info extension stopping host
10:47:57.472 info extension stopping host
10:47:57.875 info extension host process output: port:[53010]
10:47:57.838 info host ------------ starting ------------
10:47:57.875 info extension 
10:47:57.900 info host client connected: extension { address: '::', family: 'IPv6', port: 53010 }
10:47:58.002 info host starting host: {"extensionFolder":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163","runtimeHookFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"C:\\Users\\danie\\Desktop\\teste optional chaining\\index.html","reason":"search"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\index.html","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"outputMode":"Beside File","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension","live-preview-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.106","172.29.224.1"],"host":"127.0.0.1"}
10:47:58.021 info host starting tools discovery and integration
10:47:58.032 info host looking for tools to patch
10:47:58.050 info host found 1 tool file(s) to patch
10:47:58.048 info host worker Starting Host Worker...
10:47:58.052 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
10:47:58.057 info host completed tools discovery and integration
10:54:55.822 info buildHook-16952 installing build hook for node at C:\Users\danie\Desktop\teste optional chaining, node v20.2.0
10:54:55.845 info buildHook-16952 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:54:55.858 info host client connected: buildHook { address: '::', family: 'IPv6', port: 53010 }
10:54:55.845 info buildHook-16952 running tools: node
10:54:55.847 info buildHook-16952 installing fs interceptor
10:54:55.866 info buildHook-16952 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
10:54:55.866 info buildHook-16952 running tools: node
10:54:55.888 info host client disconnected: buildHook 4100
10:54:55.888 info host client disconnected: buildHook 4100, has clients false
11:04:36.490 info extension stopping host
11:04:36.511 info host removing cache folder: 5c22116358f8e6dbc411394af24a66b7
11:04:36.525 info extension client disconnected: 1006 
11:04:36.994 info extension host process output: port:[53010]
11:04:36.949 info host ------------ starting ------------
11:04:36.994 info extension 
11:04:37.025 info host client connected: extension { address: '::', family: 'IPv6', port: 53010 }
11:04:37.143 info host starting host: {"extensionFolder":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163","runtimeHookFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"C:\\Users\\danie\\Desktop\\teste optional chaining\\teste.js","reason":"search"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\index.html","reason":"open"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\teste.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"outputMode":"Beside File","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension","live-preview-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.106","172.29.224.1"],"host":"127.0.0.1"}
11:04:37.162 info host starting tools discovery and integration
11:04:37.172 info host looking for tools to patch
11:04:37.192 info host found 1 tool file(s) to patch
11:04:37.193 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:04:37.198 info host completed tools discovery and integration
11:04:37.199 info host worker Starting Host Worker...
11:28:07.242 info buildHook-4508 installing build hook for node at C:\Users\danie\Desktop\teste optional chaining, node v20.2.0
11:28:07.266 info buildHook-4508 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
11:28:07.280 info host client connected: buildHook { address: '::', family: 'IPv6', port: 53010 }
11:28:07.266 info buildHook-4508 running tools: node
11:28:07.269 info buildHook-4508 installing fs interceptor
11:28:07.291 info buildHook-4508 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
11:28:07.291 info buildHook-4508 running tools: node
11:28:07.312 info host client disconnected: buildHook 4100
11:28:07.312 info host client disconnected: buildHook 4100, has clients false
11:29:39.647 info extension stopping host
11:29:39.665 info host removing cache folder: e846784e3639da839fbf95f8f3f3b450
11:29:39.676 info extension client disconnected: 1006 
11:29:40.066 info extension host process output: port:[53010]
11:29:40.031 info host ------------ starting ------------
11:29:40.066 info extension 
11:29:40.083 info host client connected: extension { address: '::', family: 'IPv6', port: 53010 }
11:29:40.185 info host starting host: {"extensionFolder":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163","runtimeHookFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"C:\\Users\\danie\\Desktop\\teste optional chaining\\teste.js","reason":"search"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\index.html","reason":"open"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\teste.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"outputMode":"Beside File","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension","live-preview-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.106","172.29.224.1"],"host":"127.0.0.1"}
11:29:40.205 info host starting tools discovery and integration
11:29:40.213 info host looking for tools to patch
11:29:40.230 info host found 1 tool file(s) to patch
11:29:40.231 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:29:40.235 info host completed tools discovery and integration
11:29:40.238 info host worker Starting Host Worker...
11:29:46.834 info buildHook-12596 installing build hook for node at C:\Users\danie\Desktop\teste optional chaining, node v20.2.0
11:29:46.855 info buildHook-12596 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
11:29:46.866 info host client connected: buildHook { address: '::', family: 'IPv6', port: 53010 }
11:29:46.855 info buildHook-12596 running tools: node
11:29:46.857 info buildHook-12596 installing fs interceptor
11:29:46.875 info buildHook-12596 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
11:29:46.875 info buildHook-12596 running tools: node
11:29:46.895 info host client disconnected: buildHook 4100
11:29:46.895 info host client disconnected: buildHook 4100, has clients false
11:29:50.909 info extension stopping host
11:29:50.936 info extension client disconnected: 1006 
11:29:51.308 info extension host process output: port:[53010]
11:29:51.274 info host ------------ starting ------------
11:29:51.308 info extension 
11:29:51.327 info host client connected: extension { address: '::', family: 'IPv6', port: 53010 }
11:29:51.427 info host starting host: {"extensionFolder":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163","runtimeHookFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\danie\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.163\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"C:\\Users\\danie\\Desktop\\teste optional chaining\\teste.js","reason":"search"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\index.html","reason":"open"},{"path":"c:\\Users\\danie\\Desktop\\teste optional chaining\\teste.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"outputMode":"Beside File","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension","live-preview-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.106","172.29.224.1"],"host":"127.0.0.1"}
11:29:51.451 info host starting tools discovery and integration
11:29:51.462 info host looking for tools to patch
11:29:51.481 info host found 1 tool file(s) to patch
11:29:51.482 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:29:51.483 info host worker Starting Host Worker...
11:29:51.487 info host completed tools discovery and integration
11:30:51.318 info host removing cache folder: 7308317ff170b5013e49715b171ab0a3
11:33:28.239 info host starting tools discovery and integration
11:33:28.246 info host looking for tools to patch
11:33:28.257 info host found 1 tool file(s) to patch
11:33:28.259 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:33:28.261 info host completed tools discovery and integration
11:33:33.258 info buildHook-12148 installing build hook for node at C:\Users\danie\Desktop\teste optional chaining, node v20.2.0
11:33:33.298 info host client connected: buildHook { address: '::', family: 'IPv6', port: 53010 }
11:33:33.284 info buildHook-12148 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
11:33:33.284 info buildHook-12148 running tools: node
11:33:33.287 info buildHook-12148 installing fs interceptor
11:33:33.304 info buildHook-12148 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
11:33:33.304 info buildHook-12148 running tools: node
11:33:33.309 info buildHook-12148 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
11:33:33.309 info buildHook-12148 running tools: node
11:33:33.327 info host client disconnected: buildHook 4100
11:33:33.327 info host client disconnected: buildHook 4100, has clients false
11:33:49.566 info buildHook-8828 installing build hook for node at C:\Users\danie\Desktop\teste optional chaining, node v20.2.0
11:33:49.588 info buildHook-8828 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
11:33:49.601 info host client connected: buildHook { address: '::', family: 'IPv6', port: 53010 }
11:33:49.588 info buildHook-8828 running tools: node
11:33:49.590 info buildHook-8828 installing fs interceptor
11:33:49.609 info buildHook-8828 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
11:33:49.609 info buildHook-8828 running tools: node
11:33:49.612 info buildHook-8828 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
11:33:49.612 info buildHook-8828 running tools: node
11:33:49.632 info host client disconnected: buildHook 4100
11:33:49.632 info host client disconnected: buildHook 4100, has clients false
11:38:42.082 info host starting tools discovery and integration
11:38:42.087 info host looking for tools to patch
11:38:42.094 info host found 1 tool file(s) to patch
11:38:42.095 info host patching c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:38:42.098 info host completed tools discovery and integration
@NAsriGhada
Copy link

same issue here.

@constDevDaniel
Copy link
Author

same issue here.

Not work for me

@smcenlly
Copy link
Member

We're investigating the problem. While we do that, can you please ensure that Console Ninja is not Paused in your VS Code status bar, as that will also stop it from working. If Console Ninja is paused, you will need to stop your dev script, unpause, and then start your dev script again.

@NAsriGhada
Copy link

NAsriGhada commented Jun 27, 2023 via email

@smcenlly
Copy link
Member

@NAsriGhada - can you also please provide your ~/.console-ninja/trace.log?

I also want to confirm that you're launching from the terminal with console-ninja node <filename>? If not, can you please let us know how you're launching your dev environment?

@constDevDaniel
Copy link
Author

We're investigating the problem. While we do that, can you please ensure that Console Ninja is not Paused in your VS Code status bar, as that will also stop it from working. If Console Ninja is paused, you will need to stop your dev script, unpause, and then start your dev script again.

My console ninja not paused

@smcenlly smcenlly changed the title [Bug]: console-ninja is inactive [Bug]: console-ninja not working with universal node application Jun 28, 2023
@NikGovorov
Copy link
Member

image
@constDevDaniel do you have any other files in the project directory? Could you please clone our simple repository and try to run it there?

cd ~
git clone https://github.com/wallabyjs/console-ninja-160
cd console-ninja-160
code .

Check if Console Ninja is started, open teste.js, start the built-in terminal, first run $PSVersionTable and then run console-ninja node --watch teste.js.

@NikGovorov
Copy link
Member

Thanks for reporting the issue. We've reproduced and fixed it in v0.0.164. The issue was related to the way node 20+ loads ES modules. I guess you've got them enabled in your package.json:

  "type": "module"

@NikGovorov NikGovorov changed the title [Bug]: console-ninja not working with universal node application [Bug]: console-ninja not working with universal node application with ESM on node 20 Jun 28, 2023
@NikGovorov
Copy link
Member

Another option to consider is utilizing Quokka, which can offer you additional insights into your code.

@constDevDaniel
Copy link
Author

imagem @constDevDanielvocê tem algum outro arquivo no diretório do projeto? Você poderia, por favor, clonar nosso repositório simples e tentar executá-lo lá?

cd ~
git clone https://github.com/wallabyjs/console-ninja-160
cd console-ninja-160
code .

Verifique se o Console Ninja foi iniciado, abra teste.js, inicie o terminal integrado, primeiro execute $PSVersionTablee depois execute console-ninja node --watch teste.js.

Hi, I did this and it still does the same. Console Ninja is inactive.

@constDevDaniel
Copy link
Author

Obrigado por relatar o problema. Nós o reproduzimos e corrigimos na v0.0.164. O problema estava relacionado à maneira como o nó 20+ carrega os módulos ES. Eu acho que você os ativou em seu package.json:

  "type": "module"

I didn't do that, and even me adding type:"module" or type:"commonjs" doesn't work on both

@NikGovorov
Copy link
Member

NikGovorov commented Jun 29, 2023

Please close all instances of VS Code, open pwsh/powershell session in Windows Terminal and execute the following commands:

cd
rm .console-ninja/trace.log
$env:CONSOLE_NINJA_LOG_LEVEL='verbose'
cd console-ninja-160
code .

Then check that Console Ninja is not paused, start it if it's paused, open teste.js, start the built-in terminal, run console-ninja node --watch teste.js, open trace.log and share its content.

Screenshot 2023-06-29 140017

@NikGovorov NikGovorov reopened this Jun 29, 2023
@constDevDaniel
Copy link
Author

I did all the steps follow the log

09:49:59.039 verb host received message extension.openedFiles
09:49:59.039 verb host received method call: openedFiles
09:50:06.894 verb host received message extension.openedFiles
09:50:06.894 verb host received method call: openedFiles
09:50:23.096 info buildHook-5476 installing build hook for node at C:\Users\danie\console-ninja-160, node v20.2.0
09:50:23.124 info buildHook-5476 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
09:50:23.149 info host client connected: buildHook { address: '::', family: 'IPv6', port: 57518 }
09:50:23.124 info buildHook-5476 running tools: node
09:50:23.154 verb host received message buildHook.toolsUsedAtBuildTime
09:50:23.155 verb extension received method call: toolsUsedAtBuildTime
09:50:23.155 verb host received method call: toolsUsedAtBuildTime
09:50:23.158 verb host received message buildHook.toolsUsedAtBuildTime
09:50:23.159 verb host received method call: toolsUsedAtBuildTime
09:50:23.126 info buildHook-5476 installing fs interceptor
09:50:23.157 verb buildHook-5476 received method call: start
09:50:23.158 info buildHook-5476 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
09:50:23.158 info buildHook-5476 running tools: node
09:50:23.159 verb buildHook-5476 received method call: filesToInstrument
09:50:23.511 info buildHook-5476 installing build hook for node at C:\Users\danie\console-ninja-160, node v20.2.0
09:50:23.536 info host client connected: buildHook { address: '::', family: 'IPv6', port: 57518 }
09:50:23.524 info buildHook-5476 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
09:50:23.540 verb host received message buildHook.toolsUsedAtBuildTime
09:50:23.540 verb host received method call: toolsUsedAtBuildTime
09:50:23.524 info buildHook-5476 running tools: node
09:50:23.550 verb host received message buildHook.toolsUsedAtBuildTime
09:50:23.550 verb host received method call: toolsUsedAtBuildTime
09:50:23.526 info buildHook-5476 installing fs interceptor
09:50:23.549 verb buildHook-5476 received method call: start
09:50:23.550 info buildHook-5476 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
09:50:23.550 info buildHook-5476 running tools: node
09:50:23.551 verb buildHook-5476 received method call: filesToInstrument
09:50:23.555 info host client disconnected: buildHook 1006
09:50:23.555 info host client disconnected: buildHook 1006, has clients true
09:50:23.563 info host client disconnected: buildHook 4100
09:50:23.563 info host client disconnected: buildHook 4100, has clients false
09:50:23.564 verb extension received method call: toolsUsedAtBuildTime
09:50:35.774 verb host received message extension.openedFiles
09:50:35.774 verb host received method call: openedFiles
09:50:35.775 verb host received message extension.openedFiles
09:50:35.775 verb host received method call: openedFiles

@NikGovorov
Copy link
Member

NikGovorov commented Jun 30, 2023

Please update Console Ninja extension to v0.0.172 or higher and follow the same set of instructions:

Please close all instances of VS Code, open pwsh/powershell session in Windows Terminal and execute the following commands:

cd
rm .console-ninja/trace.log
$env:CONSOLE_NINJA_LOG_LEVEL='verbose'
cd console-ninja-160
code .

Then check that Console Ninja is not paused, start it if it's paused, open teste.js, start the built-in terminal, run console-ninja node --watch teste.js, open trace.log and share its content.
Screenshot 2023-06-29 140017

@constDevDaniel
Copy link
Author

Atualize a extensão Console Ninja para v0.0.172 ou superior e siga o mesmo conjunto de instruções:

Feche todas as instâncias do VS Code, abra a sessão pwsh/powershell no Windows Terminal e execute os seguintes comandos:

cd
rm .console-ninja/trace.log
$env:CONSOLE_NINJA_LOG_LEVEL='verbose'
cd console-ninja-160
code .

Em seguida, verifique se o Console Ninja não está pausado, inicie-o se estiver pausado, abra teste.js, inicie o terminal integrado, execute console-ninja node --watch teste.js, abra trace.loge compartilhe seu conteúdo.
Captura de tela 2023-06-29 140017

image

11:04:38.928 info extension stopping host
11:04:39.293 info extension host process output: port:[57518]
11:04:39.259 info host ------------ starting ------------
11:04:39.294 info extension
11:04:39.318 info host client connected: extension { address: '::', family: 'IPv6', port: 57518 }
11:04:39.419 verb host received message extension.start
11:04:39.419 verb host received method call: start
11:04:39.420 info host starting host: {"extensionFolder":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.172","runtimeHookFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\tracer.js","globalErrorHandlerFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\errorHandler.js","filesToInstrument":[{"path":"C:\Users\danie\console-ninja-160\teste.js","reason":"search"},{"path":"c:\Users\danie\console-ninja-160\teste.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"autoClearLogViewerOnFileChanges":true,"outputMode":"In View","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","172.29.224.1","192.168.10.184"],"host":"127.0.0.1"}
11:04:39.445 info host starting tools discovery and integration
11:04:39.460 verb host patching c:\Users\danie.vscode\extensions\wallabyjs.console-ninja-0.0.172 Set(15) {
11:04:39.463 verb extension received method call: toolsIntegrationStarted
11:04:39.468 info host worker Starting Host Worker...
11:04:39.461 verb host 'vite',
11:04:39.461 verb host 'jest',
11:04:39.461 verb host 'webpack',
11:04:39.461 verb host 'next.js',
11:04:39.461 verb host 'cypress',
11:04:39.461 verb host 'http-server',
11:04:39.461 verb host 'serve',
11:04:39.461 verb host 'live-server',
11:04:39.461 verb host 'nuxt',
11:04:39.461 verb host 'remix',
11:04:39.461 verb host 'qwik',
11:04:39.461 verb host 'hydrogen',
11:04:39.461 verb host 'serverless',
11:04:39.461 verb host 'astro',
11:04:39.461 verb host 'live-server-extension'
11:04:39.484 verb extension received method call: toolsReadyForUseAtBuildTime
11:04:39.487 verb extension received method call: packageManagersDetected
11:04:39.461 verb host } [{"type":"ClassicNodeModule","value":"C:\Users\danie\console-ninja-160"},{"type":"CustomFilePath","value":"c:\Users\danie\.vscode\extensions"}]
11:04:39.461 verb host patching(unlocked)
11:04:39.461 info host looking for tools to patch
11:04:39.462 verb host unpatching 0
11:04:39.462 verb host unpatched
11:04:39.480 info host found 1 tool file(s) to patch
11:04:39.480 verb host building live-server-extension patcher [
11:04:39.480 verb host 'c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js'
11:04:39.480 verb host ]
11:04:39.480 verb host patching 1
11:04:39.481 info host patching c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:04:39.482 verb host reading c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:04:39.483 verb host file c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js does not need to be changed
11:04:39.483 verb host patched
11:04:39.486 info host completed tools discovery and integration
11:05:05.292 info buildHook-3676 installing build hook for node at C:\Users\danie\console-ninja-160, node v20.2.0
11:05:05.315 verb buildHook-3676 Files to instrument: C:\Users\danie\console-ninja-160\teste.js
11:05:05.315 info buildHook-3676 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
11:05:05.324 info host client connected: buildHook { address: '::', family: 'IPv6', port: 57518 }
11:05:05.329 verb host received message buildHook.toolsUsedAtBuildTime
11:05:05.329 verb host received method call: toolsUsedAtBuildTime
11:05:05.330 verb extension received method call: toolsUsedAtBuildTime
11:05:05.333 verb host received message buildHook.toolsUsedAtBuildTime
11:05:05.333 verb host received method call: toolsUsedAtBuildTime
11:05:05.315 info buildHook-3676 running tools: node
11:05:05.317 info buildHook-3676 installing fs interceptor
11:05:05.320 verb buildHook-3676 not allowed to intercept: C:\Users\danie.console-ninja\trace.log
11:05:05.331 verb buildHook-3676 received method call: start
11:05:05.331 verb buildHook-3676 Files to instrument: C:\Users\danie\console-ninja-160\teste.js
11:05:05.331 info buildHook-3676 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
11:05:05.331 info buildHook-3676 running tools: node
11:05:05.332 verb buildHook-3676 not allowed to intercept: C:\Users\danie.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\tracer.js
11:05:05.333 verb buildHook-3676 not allowed to intercept: C:\Users\danie.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\errorHandler.js
11:05:05.579 verb buildHook-3676 not allowed to intercept: C:
11:05:05.579 verb buildHook-3676 not allowed to intercept: C:\Users\danie\console-ninja-160
11:05:05.579 verb buildHook-3676 not allowed to intercept: C:\Users\danie\console-ninja-160\teste.js
11:05:05.561 info buildHook-3676 installing build hook for node at C:\Users\danie\console-ninja-160, node v20.2.0
11:05:05.586 info host client connected: buildHook { address: '::', family: 'IPv6', port: 57518 }
11:05:05.590 verb host received message buildHook.toolsUsedAtBuildTime
11:05:05.590 verb host received method call: toolsUsedAtBuildTime
11:05:05.594 verb host received message buildHook.toolsUsedAtBuildTime
11:05:05.594 verb host received method call: toolsUsedAtBuildTime
11:05:05.574 verb buildHook-3676 Files to instrument: C:\Users\danie\console-ninja-160\teste.js
11:05:05.574 info buildHook-3676 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
11:05:05.574 info buildHook-3676 running tools: node
11:05:05.577 info buildHook-3676 installing fs interceptor
11:05:05.583 verb buildHook-3676 not allowed to intercept: C:\Users\danie.console-ninja\trace.log
11:05:05.591 verb buildHook-3676 received method call: start
11:05:05.591 verb buildHook-3676 Files to instrument: C:\Users\danie\console-ninja-160\teste.js
11:05:05.591 info buildHook-3676 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
11:05:05.591 info buildHook-3676 running tools: node
11:05:05.592 verb buildHook-3676 not allowed to intercept: C:\Users\danie.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\tracer.js
11:05:05.593 verb buildHook-3676 not allowed to intercept: C:\Users\danie.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\errorHandler.js
11:05:05.596 verb buildHook-3676 not allowed to intercept: C:\Users\danie\console-ninja-160\teste.js
11:05:05.604 info host client disconnected: buildHook 1006
11:05:05.604 info host client disconnected: buildHook 1006, has clients true
11:05:05.610 info host client disconnected: buildHook 4100
11:05:05.610 info host client disconnected: buildHook 4100, has clients false
11:05:05.610 verb extension received method call: toolsUsedAtBuildTime
11:05:50.728 verb host received message extension.openedFiles
11:05:50.728 verb host received method call: openedFiles
11:05:50.731 verb host received message extension.openedFiles
11:05:50.732 verb host received method call: openedFiles
11:06:00.588 verb host received message extension.openedFiles
11:06:00.588 verb host received method call: openedFiles

not worked version 0.0.172

@NikGovorov
Copy link
Member

Thanks for providing the log files. In your Console Ninja extension settings, you've got Show Logs From Log Points Only setting enabled.
image
Please disable the setting to get console.log reporting logs to Console Ninja.

@NikGovorov NikGovorov changed the title [Bug]: console-ninja not working with universal node application with ESM on node 20 [Bug]: console-ninja not working with universal node application on node 20 Jul 1, 2023
@NikGovorov NikGovorov removed the bug label Jul 1, 2023
@constDevDaniel
Copy link
Author

Thanks for providing the log files. In your Console Ninja extension settings, you've got Show Logs From Log Points Only setting enabled. image Please disable the setting to get console.log reporting logs to Console Ninja.

Yes all activate
image

not working with me

@NikGovorov
Copy link
Member

Please disable the setting to get console.log reporting logs to Console Ninja.
Desative a configuração para obter os logs de relatório console.log para o Console Ninja.

@constDevDaniel
Copy link
Author

This ?

image

@smcenlly
Copy link
Member

smcenlly commented Jul 3, 2023

Yes, that is the correct setting. Is it working for you now with this setting unchecked?

@constDevDaniel
Copy link
Author

Yes, that is the correct setting. Is it working for you now with this setting unchecked?

still does not work

@NikGovorov
Copy link
Member

Could you please provide your trace.log?

@NikGovorov NikGovorov reopened this Jul 4, 2023
@constDevDaniel
Copy link
Author

11:04:38.928 info extension stopping host
11:04:39.293 info extension host process output: port:[57518]
11:04:39.259 info host ------------ starting ------------
11:04:39.294 info extension
11:04:39.318 info host client connected: extension { address: '::', family: 'IPv6', port: 57518 }
11:04:39.419 verb host received message extension.start
11:04:39.419 verb host received method call: start
11:04:39.420 info host starting host: {"extensionFolder":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.172","runtimeHookFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\tracer.js","globalErrorHandlerFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\errorHandler.js","filesToInstrument":[{"path":"C:\Users\danie\console-ninja-160\teste.js","reason":"search"},{"path":"c:\Users\danie\console-ninja-160\teste.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"autoClearLogViewerOnFileChanges":true,"outputMode":"In View","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","172.29.224.1","192.168.10.184"],"host":"127.0.0.1"}
11:04:39.445 info host starting tools discovery and integration
11:04:39.460 verb host patching c:\Users\danie.vscode\extensions\wallabyjs.console-ninja-0.0.172 Set(15) {
11:04:39.463 verb extension received method call: toolsIntegrationStarted
11:04:39.468 info host worker Starting Host Worker...
11:04:39.461 verb host 'vite',
11:04:39.461 verb host 'jest',
11:04:39.461 verb host 'webpack',
11:04:39.461 verb host 'next.js',
11:04:39.461 verb host 'cypress',
11:04:39.461 verb host 'http-server',
11:04:39.461 verb host 'serve',
11:04:39.461 verb host 'live-server',
11:04:39.461 verb host 'nuxt',
11:04:39.461 verb host 'remix',
11:04:39.461 verb host 'qwik',
11:04:39.461 verb host 'hydrogen',
11:04:39.461 verb host 'serverless',
11:04:39.461 verb host 'astro',
11:04:39.461 verb host 'live-server-extension'
11:04:39.484 verb extension received method call: toolsReadyForUseAtBuildTime
11:04:39.487 verb extension received method call: packageManagersDetected
11:04:39.461 verb host } [{"type":"ClassicNodeModule","value":"C:\Users\danie\console-ninja-160"},{"type":"CustomFilePath","value":"c:\Users\danie\.vscode\extensions"}]
11:04:39.461 verb host patching(unlocked)
11:04:39.461 info host looking for tools to patch
11:04:39.462 verb host unpatching 0
11:04:39.462 verb host unpatched
11:04:39.480 info host found 1 tool file(s) to patch
11:04:39.480 verb host building live-server-extension patcher [
11:04:39.480 verb host 'c:\Users\danie\.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js'
11:04:39.480 verb host ]
11:04:39.480 verb host patching 1
11:04:39.481 info host patching c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:04:39.482 verb host reading c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:04:39.483 verb host file c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js does not need to be changed
11:04:39.483 verb host patched
11:04:39.486 info host completed tools discovery and integration
11:05:05.292 info buildHook-3676 installing build hook for node at C:\Users\danie\console-ninja-160, node v20.2.0
11:05:05.315 verb buildHook-3676 Files to instrument: C:\Users\danie\console-ninja-160\teste.js
11:05:05.315 info buildHook-3676 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
11:05:05.324 info host client connected: buildHook { address: '::', family: 'IPv6', port: 57518 }
11:05:05.329 verb host received message buildHook.toolsUsedAtBuildTime
11:05:05.329 verb host received method call: toolsUsedAtBuildTime
11:05:05.330 verb extension received method call: toolsUsedAtBuildTime
11:05:05.333 verb host received message buildHook.toolsUsedAtBuildTime
11:05:05.333 verb host received method call: toolsUsedAtBuildTime
11:05:05.315 info buildHook-3676 running tools: node
11:05:05.317 info buildHook-3676 installing fs interceptor
11:05:05.320 verb buildHook-3676 not allowed to intercept: C:\Users\danie.console-ninja\trace.log
11:05:05.331 verb buildHook-3676 received method call: start
11:05:05.331 verb buildHook-3676 Files to instrument: C:\Users\danie\console-ninja-160\teste.js
11:05:05.331 info buildHook-3676 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
11:05:05.331 info buildHook-3676 running tools: node
11:05:05.332 verb buildHook-3676 not allowed to intercept: C:\Users\danie.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\tracer.js
11:05:05.333 verb buildHook-3676 not allowed to intercept: C:\Users\danie.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\errorHandler.js
11:05:05.579 verb buildHook-3676 not allowed to intercept: C:
11:05:05.579 verb buildHook-3676 not allowed to intercept: C:\Users\danie\console-ninja-160
11:05:05.579 verb buildHook-3676 not allowed to intercept: C:\Users\danie\console-ninja-160\teste.js
11:05:05.561 info buildHook-3676 installing build hook for node at C:\Users\danie\console-ninja-160, node v20.2.0
11:05:05.586 info host client connected: buildHook { address: '::', family: 'IPv6', port: 57518 }
11:05:05.590 verb host received message buildHook.toolsUsedAtBuildTime
11:05:05.590 verb host received method call: toolsUsedAtBuildTime
11:05:05.594 verb host received message buildHook.toolsUsedAtBuildTime
11:05:05.594 verb host received method call: toolsUsedAtBuildTime
11:05:05.574 verb buildHook-3676 Files to instrument: C:\Users\danie\console-ninja-160\teste.js
11:05:05.574 info buildHook-3676 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
11:05:05.574 info buildHook-3676 running tools: node
11:05:05.577 info buildHook-3676 installing fs interceptor
11:05:05.583 verb buildHook-3676 not allowed to intercept: C:\Users\danie.console-ninja\trace.log
11:05:05.591 verb buildHook-3676 received method call: start
11:05:05.591 verb buildHook-3676 Files to instrument: C:\Users\danie\console-ninja-160\teste.js
11:05:05.591 info buildHook-3676 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, node
11:05:05.591 info buildHook-3676 running tools: node
11:05:05.592 verb buildHook-3676 not allowed to intercept: C:\Users\danie.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\tracer.js
11:05:05.593 verb buildHook-3676 not allowed to intercept: C:\Users\danie.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\errorHandler.js
11:05:05.596 verb buildHook-3676 not allowed to intercept: C:\Users\danie\console-ninja-160\teste.js
11:05:05.604 info host client disconnected: buildHook 1006
11:05:05.604 info host client disconnected: buildHook 1006, has clients true
11:05:05.610 info host client disconnected: buildHook 4100
11:05:05.610 info host client disconnected: buildHook 4100, has clients false
11:05:05.610 verb extension received method call: toolsUsedAtBuildTime
11:05:50.728 verb host received message extension.openedFiles
11:05:50.728 verb host received method call: openedFiles
11:05:50.731 verb host received message extension.openedFiles
11:05:50.732 verb host received method call: openedFiles
11:06:00.588 verb host received message extension.openedFiles
11:06:00.588 verb host received method call: openedFiles
11:22:47.067 verb host received message extension.openedFiles
11:22:47.067 verb host received method call: openedFiles
11:22:47.807 verb host received message extension.openedFiles
11:22:47.807 verb host received method call: openedFiles
11:22:53.287 info extension stopping host
11:22:53.289 verb host received message extension.dispose
15:04:17.831 info extension stopping host
16:06:30.716 info buildHook-17804 installing build hook for live-server-extension at C:\Program Files\Microsoft VS Code, node v16.17.1
17:13:16.531 info extension stopping host
15:17:58.373 info extension stopping host
15:18:02.563 info extension host process output: port:[57518]
15:17:59.360 info host ------------ starting ------------
15:18:02.564 info extension
15:18:02.596 info host client connected: extension { address: '::', family: 'IPv6', port: 57518 }
15:18:03.016 info host worker Starting Host Worker...
15:18:03.477 info host starting host: {"extensionFolder":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.172","runtimeHookFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\tracer.js","globalErrorHandlerFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.172\out\runtimeHook\errorHandler.js","filesToInstrument":[{"path":"C:\Users\danie\console-ninja-160\teste.js","reason":"search"},{"path":"c:\Users\danie\console-ninja-160\index.html","reason":"open"},{"path":"c:\Users\danie\console-ninja-160\teste.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"outputMode":"In View","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","172.29.224.1","192.168.15.98"],"host":"127.0.0.1"}
15:18:04.587 info host starting tools discovery and integration
15:18:04.621 info host looking for tools to patch
15:18:04.656 info host found 1 tool file(s) to patch
15:18:04.659 info host patching c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
15:18:04.692 info host completed tools discovery and integration
15:22:44.912 info extension stopping host
15:22:44.922 info host removing cache folder: 6840563de45cd572a7f15012c20209dd
11:45:14.806 info extension stopping host
11:47:07.047 info extension stopping host
11:47:07.438 info extension host process output: port:[56746]
11:47:07.399 info host ------------ starting ------------
11:47:07.438 info extension
11:47:07.468 info host client connected: extension { address: '::', family: 'IPv6', port: 56746 }
11:47:07.593 info host starting host: {"extensionFolder":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.174","runtimeHookFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.174\out\runtimeHook\tracer.js","globalErrorHandlerFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.174\out\runtimeHook\errorHandler.js","filesToInstrument":[{"path":"C:\Users\danie\Desktop\teste console-ninja\teste.js","reason":"search"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"autoClearLogViewerOnFileChanges":true,"outputMode":"In View","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":true,"showLogsFromMultipleRunningToolsTogether":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","172.29.224.1","192.168.10.81"],"host":"127.0.0.1"}
11:47:07.618 info host starting tools discovery and integration
11:47:07.626 info host updating C:\Users\danie.console-ninja.bin\loader.js
11:47:07.625 info host worker Starting Host Worker...
11:47:07.633 info host looking for tools to patch
11:47:07.650 info host found 1 tool file(s) to patch
11:47:07.651 info host patching c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:47:07.712 info host completed tools discovery and integration
11:49:53.808 info extension stopping host
11:49:53.824 info host removing cache folder: 42d7bfac021a7c36cc1d3370f2fa8b0d
11:49:53.838 info extension client disconnected: 1006
11:49:54.191 info extension host process output: port:[56746]
11:49:54.158 info host ------------ starting ------------
11:49:54.192 info extension
11:49:54.209 info host client connected: extension { address: '::', family: 'IPv6', port: 56746 }
11:49:54.304 info host starting host: {"extensionFolder":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.174","runtimeHookFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.174\out\runtimeHook\tracer.js","globalErrorHandlerFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.174\out\runtimeHook\errorHandler.js","filesToInstrument":[{"path":"C:\Users\danie\Desktop\teste console-ninja\teste.js","reason":"search"},{"path":"c:\Users\danie\Desktop\teste console-ninja\teste.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"autoClearLogViewerOnFileChanges":false,"outputMode":"In View","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","172.29.224.1","192.168.10.81"],"host":"127.0.0.1"}
11:49:54.330 info host starting tools discovery and integration
11:49:54.341 info host looking for tools to patch
11:49:54.358 info host found 1 tool file(s) to patch
11:49:54.360 info host patching c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
11:49:54.359 info host worker Starting Host Worker...
11:49:54.364 info host completed tools discovery and integration
11:51:24.378 info extension stopping host
11:51:24.386 info host removing cache folder: 2701e6623ecc1d3d0b7ac2fd7d171640
10:30:29.303 info extension stopping host
10:30:30.016 info extension host process output: port:[56746]
10:30:29.958 info host ------------ starting ------------
10:30:30.017 info extension
10:30:30.060 info host client connected: extension { address: '::', family: 'IPv6', port: 56746 }
10:30:30.327 info host starting host: {"extensionFolder":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.174","runtimeHookFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.174\out\runtimeHook\tracer.js","globalErrorHandlerFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.174\out\runtimeHook\errorHandler.js","filesToInstrument":[{"path":"C:\Users\danie\Desktop\teste console-ninja\teste.js","reason":"search"},{"path":"c:\Users\danie\Desktop\teste console-ninja\teste.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"outputMode":"In View","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.81","172.31.144.1"],"host":"127.0.0.1"}
10:30:30.365 info host starting tools discovery and integration
10:30:30.397 info host looking for tools to patch
10:30:30.426 info host worker Starting Host Worker...
10:30:30.437 info host found 1 tool file(s) to patch
10:30:30.439 info host patching c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
10:30:30.458 info host completed tools discovery and integration
10:30:35.830 info extension stopping host
10:30:47.420 info extension stopping host
10:30:47.896 info extension host process output: port:[56746]
10:30:47.856 info host ------------ starting ------------
10:30:47.896 info extension
10:30:47.928 info host client connected: extension { address: '::', family: 'IPv6', port: 56746 }
10:30:48.046 info host starting host: {"extensionFolder":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.177","runtimeHookFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.177\out\runtimeHook\tracer.js","globalErrorHandlerFile":"c:\Users\danie\.vscode\extensions\wallabyjs.console-ninja-0.0.177\out\runtimeHook\errorHandler.js","filesToInstrument":[{"path":"C:\Users\danie\Desktop\teste console-ninja\teste.js","reason":"search"},{"path":"c:\Users\danie\Desktop\teste console-ninja\teste.js","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":16,"outputMode":"In View","captureFunctions":true,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":true,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":true},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","ISS-AZOULAY","192.168.10.81","172.31.144.1"],"host":"127.0.0.1"}
10:30:48.074 info host starting tools discovery and integration
10:30:48.082 info host updating C:\Users\danie.console-ninja.bin\loader.js
10:30:48.088 info host looking for tools to patch
10:30:48.109 info host found 1 tool file(s) to patch
10:30:48.110 info host patching c:\Users\danie.vscode\extensions\ritwickdey.liveserver-5.7.9\node_modules\live-server\index.js
10:30:48.121 info host worker Starting Host Worker...
10:30:48.174 info host completed tools discovery and integration
10:31:47.894 info host removing cache folder: bf35e97cafd52c75e7b77ca48ce2361e

@NikGovorov
Copy link
Member

Could you please follow the instructions below?

Please close all instances of VS Code, open pwsh/powershell session in Windows Terminal and execute the following commands:

cd
rm .console-ninja/trace.log
$env:CONSOLE_NINJA_LOG_LEVEL='verbose'
cd console-ninja-160
code .

Then check that Console Ninja is not paused, start it if it's paused, open teste.js, start the built-in terminal, run console-ninja node --watch teste.js, open trace.log and share its content.
Screenshot 2023-06-29 140017

@constDevDaniel
Copy link
Author

Hello, I updated the console-ninja and ran the commands and it worked, then I tested it in another folder, and I realized that I always have to run using the console-ninja node teste.js , is this command that will always be used?

@NikGovorov
Copy link
Member

Yes, for Universal Node Apps you always need to add console-ninja prefix to your run commands, for example: console-ninja node --watch teste.js. If your application uses a tech that is supported out of the box then you don't have to use console-ninja prefix.

Also, I would recommend you disable (uncheck) Show Logs Only From Opened Files setting:

image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants