wallabyjs / console-ninja

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

[Bug]: I can not you console-ninja ts-node in Linux #205

Closed tuan-zigvy closed 1 year ago

tuan-zigvy commented 1 year ago

What happened?

when i run console-ninja ts-node convert-data.ts error : "zsh: command not found: console-ninja"

Version

last

Steps to reproduce (or sample repo)

i write file ts to convert data, i want to measure function running time , so i run CI console-ninja ts-node file.ts

Log output

00:11:48.618 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.225","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.225/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.225/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/tuan-dd/repos/Tranning-nest/mentor-session/src/database/migrations/1694426120089-seed-role-2.ts","reason":"search"},{"path":"/home/tuan-dd/repos/Tranning-nest/mentor-session/src/chat/boxChat.gateway.ts","reason":"search"},{"path":"/home/tuan-dd/repos/Tranning-nest/mentor-session/src/filter/exception.filter.ts","reason":"search"},{"path":"/home/tuan-dd/repos/Tranning-nest/mentor-session/src/user/entities/user.entity.ts","reason":"open"},{"path":"/home/tuan-dd/repos/Tranning-nest/mentor-session/src/user/controllers/user.controller.ts","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
00:11:48.708 info host starting tools discovery and integration
00:11:48.731 info host looking for tools to patch
00:11:49.687 info host found 4 tool file(s) to patch
00:11:49.690 info host patching /home/tuan-dd/repos/Tranning-nest/mentor-session/node_modules/jest/bin/jest.js
00:11:49.691 info host patching /home/tuan-dd/repos/Tranning-nest/mentor-session/node_modules/jest-runner/build/testWorker.js
00:11:49.692 info host patching /home/tuan-dd/repos/Tranning-nest/mentor-session/node_modules/webpack/lib/index.js
00:11:49.692 info host patching /home/tuan-dd/repos/Tranning-nest/mentor-session/node_modules/webpack/lib/webpack.js
00:11:49.695 info host completed tools discovery and integration
01:14:27.215 info extension stopping host
01:14:27.820 info host ------------ starting ------------
01:14:28.023 info extension host process output: port:[39837]
01:14:28.023 info extension 
01:14:28.424 info host worker Starting Host Worker...
01:14:28.629 info host client connected: extension { address: '::', family: 'IPv6', port: 39837 }
01:14:28.740 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.225","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.225/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.225/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/tuan-dd/repos/Tranning-nest/mentor-session/src/database/migrations/1694426120089-seed-role-2.ts","reason":"search"},{"path":"/home/tuan-dd/repos/Tranning-nest/mentor-session/src/filter/exception.filter.ts","reason":"search"},{"path":"/home/tuan-dd/repos/Tranning-nest/mentor-session/src/chat/boxChat.gateway.ts","reason":"search"},{"path":"/home/tuan-dd/repos/Tranning-nest/mentor-session/src/user/entities/user.entity.ts","reason":"open"},{"path":"/home/tuan-dd/repos/Tranning-nest/mentor-session/src/user/controllers/user.controller.ts","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
01:14:29.151 info host starting tools discovery and integration
01:14:29.248 info host looking for tools to patch
01:14:31.708 info host found 4 tool file(s) to patch
01:14:31.711 info host patching /home/tuan-dd/repos/Tranning-nest/mentor-session/node_modules/webpack/lib/index.js
01:14:31.712 info host patching /home/tuan-dd/repos/Tranning-nest/mentor-session/node_modules/webpack/lib/webpack.js
01:14:31.713 info host patching /home/tuan-dd/repos/Tranning-nest/mentor-session/node_modules/jest/bin/jest.js
01:14:31.713 info host patching /home/tuan-dd/repos/Tranning-nest/mentor-session/node_modules/jest-runner/build/testWorker.js
01:14:31.799 info host completed tools discovery and integration
01:14:31.830 info host removing cache folder: c4dd237ff8a2552b994f6b3cbf4832eb
01:15:00.388 info extension stopping host
01:15:00.563 info extension client disconnected: 1006 
01:15:20.951 info extension stopping host
01:15:24.685 info extension stopping host
09:35:57.239 info extension stopping host
09:36:40.519 info extension stopping host
09:37:03.062 info extension stopping host
14:28:52.617 info extension stopping host
15:16:25.915 info extension stopping host
15:24:04.107 info extension stopping host
15:44:55.968 info extension stopping host
15:45:03.887 info extension stopping host
15:48:03.141 info extension stopping host
15:49:53.184 info extension stopping host
23:38:12.391 info extension stopping host
00:30:52.042 info extension stopping host
09:36:25.721 info extension stopping host
09:36:31.426 info extension stopping host
09:37:01.003 info extension stopping host
10:01:56.273 info extension stopping host
10:34:38.963 info extension stopping host
14:11:59.179 info extension stopping host
14:13:21.231 info extension stopping host
14:16:05.190 info extension stopping host
16:32:11.900 info extension stopping host
16:32:12.275 info host ------------ starting ------------
16:32:12.291 info host removing cache folder: 96ccc5cc2a4f86bd60370c75e2f9db73
16:32:12.312 info extension host process output: port:[46527]
16:32:12.313 info extension 
16:32:12.387 info host client connected: extension { address: '::', family: 'IPv6', port: 46527 }
16:32:12.475 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/tuan-dd/repos/booking-strapi-project/database/migrations/2023.08.11T00.00.00.data.js","reason":"open"},{"path":"/home/tuan-dd/repos/booking-strapi-project/config/server.ts","reason":"search"},{"path":"/home/tuan-dd/repos/booking-strapi-project/src/api/where-we-are-country/services/where-we-are-country.ts","reason":"open"},{"path":"/home/tuan-dd/repos/booking-strapi-project/src/index.ts","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
16:32:12.544 info host starting tools discovery and integration
16:32:12.556 info host updating /home/tuan-dd/.console-ninja/.bin/loader.js
16:32:12.561 info host looking for tools to patch
16:32:12.568 info host worker Starting Host Worker...
16:32:13.454 info host found 2 tool file(s) to patch
16:32:13.455 info host patching /home/tuan-dd/repos/booking-strapi-project/node_modules/webpack/lib/index.js
16:32:13.456 info host patching /home/tuan-dd/repos/booking-strapi-project/node_modules/webpack/lib/webpack.js
16:32:13.511 info host completed tools discovery and integration
16:51:42.702 info extension stopping host
16:51:42.971 info extension host process output: port:[36831]
16:51:42.955 info host ------------ starting ------------
16:51:42.972 info extension 
16:51:43.021 info host client connected: extension { address: '::', family: 'IPv6', port: 36831 }
16:51:43.120 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/customMessage/aws-ses.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/customMessage/handler.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/authorizer.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/handler.ts","reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/funcs.ts","reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/convert-data.ts","reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/preTokenGeneration/handler.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/email-templates/index.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/shared/services/config.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/user/user.controller.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/user/user.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/test/auth.guard.spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/question/question.controller.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/question/question.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/qualtrics/qualtrics.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/survey.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/category/category.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/project/project.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/base/base.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/auth.guard.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/roles.guard.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/configuration.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/app.module.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/init-test-app.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/health-check/healthCheck.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/users/getUserById.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/users/getUsersByQuery.e2e-spec.ts","reason":"search"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
16:51:43.136 info host worker Starting Host Worker...
16:51:43.167 info host starting tools discovery and integration
16:51:43.175 info host looking for tools to patch
16:51:43.767 info host found 4 tool file(s) to patch
16:51:43.769 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/jest/bin/jest.js
16:51:43.769 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/jest-runner/build/testWorker.js
16:51:43.770 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/webpack/lib/index.js
16:51:43.770 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/webpack/lib/webpack.js
16:51:43.828 info host completed tools discovery and integration
16:58:14.927 info extension stopping host
16:58:14.940 info host removing cache folder: dd8945eadcd7bfea3a67b7b76cad52f6
16:58:15.100 info extension client disconnected: 1006 
16:58:27.340 info extension stopping host
16:58:27.907 info host ------------ starting ------------
16:58:28.193 info host worker Starting Host Worker...
16:58:28.220 info extension host process output: port:[36831]
16:58:28.220 info extension 
16:58:28.329 info host client connected: extension { address: '::', family: 'IPv6', port: 36831 }
16:58:28.461 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/customMessage/handler.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/customMessage/aws-ses.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/roles.guard.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/preTokenGeneration/handler.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/convert-data.ts","autoLogPoints":[{"range":{"startLine":541,"endLine":541,"startColumn":0,"endColumn":0},"logMessage":"time test"},{"range":{"startLine":557,"endLine":557,"startColumn":0,"endColumn":0},"logMessage":"timeEnd test"}],"reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/test/auth.guard.spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/authorizer.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/handler.ts","reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/src/shared/services/config.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/base/base.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/user/user.controller.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/user/user.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/auth.guard.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/funcs.ts","reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/survey.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/category/category.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/question/question.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/qualtrics/qualtrics.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/question/question.controller.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/project/project.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/configuration.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/app.module.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/email-templates/index.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/health-check/healthCheck.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/users/getUsersByQuery.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/users/getUserById.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/init-test-app.ts","reason":"search"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
16:58:28.549 info host starting tools discovery and integration
16:58:28.561 info host looking for tools to patch
16:58:29.374 info host found 4 tool file(s) to patch
16:58:29.375 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/webpack/lib/index.js
16:58:29.375 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/webpack/lib/webpack.js
16:58:29.376 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/jest/bin/jest.js
16:58:29.376 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/jest-runner/build/testWorker.js
16:58:29.378 info host completed tools discovery and integration
17:01:28.392 info extension stopping host
17:01:28.647 info host ------------ starting ------------
17:01:28.849 info extension host process output: port:[41539]
17:01:28.864 info host worker Starting Host Worker...
17:01:28.849 info extension 
17:01:28.934 info host client connected: extension { address: '::', family: 'IPv6', port: 41539 }
17:01:28.949 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/errorHandler.js","filesToInstrument":[],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
17:01:28.995 info host starting tools discovery and integration
17:01:29.005 info host looking for tools to patch
17:01:29.026 info host found 0 tool file(s) to patch
17:01:29.028 info host completed tools discovery and integration
17:01:50.844 info extension stopping host
17:01:50.984 info extension client disconnected: 1006 
17:03:12.437 info host removing cache folder: 2e25db4263043da1c87a5c37de626e26
17:06:26.723 info extension stopping host
17:06:26.743 info host removing cache folder: 5e177fcd33dc7c30f4031e7d57482421
17:06:26.907 info extension client disconnected: 1006 
17:07:23.692 info extension stopping host
17:07:23.705 info host removing cache folder: 8450ca9dbaf80b04cb3042de9c8a5a58
17:07:23.806 info extension client disconnected: 1006 
17:07:38.647 info extension stopping host
17:07:39.218 info host ------------ starting ------------
17:07:39.333 info extension host process output: port:[46527]
17:07:39.333 info extension 
17:07:39.515 info host worker Starting Host Worker...
17:07:39.519 info host client connected: extension { address: '::', family: 'IPv6', port: 46527 }
17:07:39.602 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/tuan-dd/repos/booking-strapi-project/database/migrations/2023.08.11T00.00.00.data.js","reason":"open"},{"path":"/home/tuan-dd/repos/booking-strapi-project/config/server.ts","reason":"search"},{"path":"/home/tuan-dd/repos/booking-strapi-project/src/api/where-we-are-country/services/where-we-are-country.ts","reason":"open"},{"path":"/home/tuan-dd/repos/booking-strapi-project/src/index.ts","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
17:07:39.703 info host starting tools discovery and integration
17:07:39.719 info host looking for tools to patch
17:07:40.777 info host found 2 tool file(s) to patch
17:07:40.779 info host patching /home/tuan-dd/repos/booking-strapi-project/node_modules/webpack/lib/index.js
17:07:40.779 info host patching /home/tuan-dd/repos/booking-strapi-project/node_modules/webpack/lib/webpack.js
17:07:40.781 info host completed tools discovery and integration
17:08:40.853 info extension stopping host
17:08:40.864 info host removing cache folder: 63c5c1cac96ba9b705f86f19c6072fb0
17:08:40.959 info extension client disconnected: 1006 
17:09:28.859 info extension stopping host
17:09:29.202 info host ------------ starting ------------
17:09:29.278 info extension host process output: port:[36831]
17:09:29.279 info extension 
17:09:29.334 info host client connected: extension { address: '::', family: 'IPv6', port: 36831 }
17:09:29.399 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/customMessage/aws-ses.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/customMessage/handler.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/authorizer.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/handler.ts","reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/funcs.ts","reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/convert-data.ts","autoLogPoints":[{"range":{"startLine":541,"endLine":541,"startColumn":0,"endColumn":0},"logMessage":"time test"},{"range":{"startLine":557,"endLine":557,"startColumn":0,"endColumn":0},"logMessage":"timeEnd test"}],"reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/preTokenGeneration/handler.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/test/auth.guard.spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/user/user.controller.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/user/user.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/base/base.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/qualtrics/qualtrics.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/survey.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/project/project.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/category/category.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/question/question.controller.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/question/question.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/auth.guard.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/roles.guard.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/email-templates/index.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/shared/services/config.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/configuration.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/app.module.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/users/getUsersByQuery.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/users/getUserById.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/health-check/healthCheck.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/init-test-app.ts","reason":"search"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
17:09:29.452 info host worker Starting Host Worker...
17:09:29.469 info host starting tools discovery and integration
17:09:29.478 info host looking for tools to patch
17:09:30.324 info host found 4 tool file(s) to patch
17:09:30.325 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/webpack/lib/index.js
17:09:30.326 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/webpack/lib/webpack.js
17:09:30.326 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/jest/bin/jest.js
17:09:30.326 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/jest-runner/build/testWorker.js
17:09:30.328 info host completed tools discovery and integration
17:16:32.692 info extension stopping host
17:16:32.713 info host removing cache folder: 66cb1db6acf2fc32ad1847a0f93f09f9
17:16:32.804 info extension client disconnected: 1006 
17:16:42.776 info extension stopping host
17:16:43.075 info host ------------ starting ------------
17:16:43.183 info extension host process output: port:[36831]
17:16:43.183 info extension 
17:16:43.294 info host worker Starting Host Worker...
17:16:43.331 info host client connected: extension { address: '::', family: 'IPv6', port: 36831 }
17:16:43.365 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/customMessage/aws-ses.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/customMessage/handler.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/preTokenGeneration/handler.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/authorizer.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/handler.ts","reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/funcs.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/convert-data.ts","autoLogPoints":[{"range":{"startLine":541,"endLine":541,"startColumn":0,"endColumn":0},"logMessage":"time test"},{"range":{"startLine":557,"endLine":557,"startColumn":0,"endColumn":0},"logMessage":"timeEnd test"}],"reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/email-templates/index.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/user/user.controller.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/user/user.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/qualtrics/qualtrics.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/survey.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/category/category.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/project/project.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/question/question.controller.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/base/base.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/question/question.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/auth.guard.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/test/auth.guard.spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/shared/services/config.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/roles.guard.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/users/getUserById.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/users/getUsersByQuery.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/health-check/healthCheck.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/init-test-app.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/app.module.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/configuration.ts","reason":"search"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
17:16:43.419 info host starting tools discovery and integration
17:16:43.435 info host looking for tools to patch
17:16:44.459 info host found 4 tool file(s) to patch
17:16:44.460 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/webpack/lib/index.js
17:16:44.461 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/webpack/lib/webpack.js
17:16:44.461 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/jest/bin/jest.js
17:16:44.461 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/jest-runner/build/testWorker.js
17:16:44.463 info host completed tools discovery and integration
17:19:54.738 info extension stopping host
17:19:54.752 info host removing cache folder: 1096b8b3fad99247114387a528620b2d
17:19:54.860 info extension client disconnected: 1006 
17:20:12.220 info extension stopping host
17:20:12.475 info extension host process output: port:[36831]
17:20:12.460 info host ------------ starting ------------
17:20:12.475 info extension 
17:20:12.489 info host client connected: extension { address: '::', family: 'IPv6', port: 36831 }
17:20:12.516 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/customMessage/aws-ses.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/customMessage/handler.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/authorizer.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/handler.ts","reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/funcs.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/createSurveyResults/convert-data.ts","autoLogPoints":[{"range":{"startLine":541,"endLine":541,"startColumn":0,"endColumn":0},"logMessage":"time test"},{"range":{"startLine":557,"endLine":557,"startColumn":0,"endColumn":0},"logMessage":"timeEnd test"}],"reason":"open"},{"path":"/home/tuan-dd/repos/survey-master-api/lambdaFunctions/preTokenGeneration/handler.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/email-templates/index.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/auth.guard.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/roles.guard.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/guards/test/auth.guard.spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/user/user.controller.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/user/user.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/base/base.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/survey.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/qualtrics/qualtrics.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/project/project.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/category/category.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/question/question.controller.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/modules/survey/question/question.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/shared/services/config.service.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/configuration.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/src/app.module.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/init-test-app.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/health-check/healthCheck.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/users/getUsersByQuery.e2e-spec.ts","reason":"search"},{"path":"/home/tuan-dd/repos/survey-master-api/test/modules/users/getUserById.e2e-spec.ts","reason":"search"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
17:20:12.566 info host starting tools discovery and integration
17:20:12.575 info host looking for tools to patch
17:20:12.689 info host worker Starting Host Worker...
17:20:13.239 info host found 4 tool file(s) to patch
17:20:13.241 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/webpack/lib/index.js
17:20:13.241 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/webpack/lib/webpack.js
17:20:13.241 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/jest/bin/jest.js
17:20:13.242 info host patching /home/tuan-dd/repos/survey-master-api/node_modules/jest-runner/build/testWorker.js
17:20:13.243 info host completed tools discovery and integration
17:21:05.028 info extension stopping host
17:21:05.390 info host ------------ starting ------------
17:21:05.441 info extension host process output: port:[34313]
17:21:05.442 info extension 
17:21:05.496 info host client connected: extension { address: '::', family: 'IPv6', port: 34313 }
17:21:05.560 info host starting host: {"extensionFolder":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226","runtimeHookFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/tuan-dd/.vscode-server/extensions/wallabyjs.console-ninja-0.0.226/out/runtimeHook/errorHandler.js","filesToInstrument":[],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":150000,"fontSize":12,"outputMode":"In View","captureFunctions":false,"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"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","Tuan-dd","172.29.1.61"],"host":"localhost"}
17:21:05.622 info host starting tools discovery and integration
17:21:05.634 info host looking for tools to patch
17:21:05.639 info host worker Starting Host Worker...
17:21:05.656 info host found 0 tool file(s) to patch
17:21:05.662 info host completed tools discovery and integration
17:21:18.865 info extension stopping host
17:21:19.055 info extension client disconnected: 1006 
17:22:12.477 info host removing cache folder: b695db8417d76e3b6e4a250d3e8380ff
NikGovorov commented 1 year ago

Have you added ~/.console-ninja/.bin to PATH?

We don't support custom shells (zsh, fish, nushell etc.) out of the box yet, you'll need to add export PATH="$PATH:$HOME/.console-ninja/.bin" line to your .zshrc file manually.

Related: https://github.com/microsoft/vscode/issues/178577

tuan-zigvy commented 1 year ago

Have you added ~/.console-ninja/.bin to PATH?

We don't support custom shells (zsh, fish, nushell etc.) out of the box yet, you'll need to add export PATH="$PATH:$HOME/.console-ninja/.bin" line to your .zshrc file manually.

Related: microsoft/vscode#178577

it work, thank you