wallabyjs / console-ninja

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

[Bug]: CN only shows the logs after I stopped the webpack dev server #111

Closed omerson-cruz closed 1 year ago

omerson-cruz commented 1 year ago

What happened?

The logs only started showing after I killed the local react Dev server. I think it only happens on the latest versions. Cause I tried using older versions like v.0.0.50 and it works.

After attempts of restarting my local dev server and restarting Console Ninja, Issue is still there.

https://user-images.githubusercontent.com/65213312/224826555-add8f1b4-7968-4700-831c-8e738b2c6a64.mp4

Version

V.0.0.84

Steps to reproduce (or sample repo)

Run local dev server(webpack)

Log output

info buildHook-31928 installing build hook for webpack at /home/omersonc/ws-sp/platform-admin
info buildHook-31928 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, nuxt, remix, hydrogen, live-server, live-preview
info buildHook-31928 running tools: webpack
info buildHook-31928 installing fs interceptor
info buildHook-31928 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, nuxt, remix, hydrogen, live-server, live-preview
info buildHook-31928 running tools: webpack
info buildHook-31928 file processed (stat): 0 log points, error handler: true
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 file processed (stat): 0 log points, error handler: false
info buildHook-31928 client disconnected: 1006 
info buildHook-31928 disconnected from host: 33255
info buildHook-31928 disconnected from all hosts
info buildHook-6048 installing build hook for webpack at /home/omersonc/ws-sp/SHP-3161
info extension stopping host
info extension host process output: port:[46655]
info host ------------ starting ------------
info extension 
info host client connected: extension { address: '::', family: 'IPv6', port: 46655 }
info host worker Starting Host Worker...
info host starting host: {"extensionFolder":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.84","runtimeHookFile":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.84/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.84/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/omersonc/ws-sp/SHP-3161/config/env.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/scripts/start.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/scripts/build.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/serviceWorker.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/api/index.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Settings/SystemMessages/SettingsTemplateVariableHelper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Settings/settingsSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/QuestionBuilder/QuestionBuilderWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/QuestionnaireBuilder/QuestionnaireBuilderWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/QuestionnaireBuilder/Reporter/helpers/helpers.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Simulator/FirstView/ConsultSimulator.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Simulator/FirstView/RxOrderSimulator.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/Monitoring/MonitoringActions.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/Reviewer/reviewerSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/vcb-package/api/index.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/EncounterDetails/EncounterDetailsWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/vcb-package/Questionnaire.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Simulator/slice/fvSimulatorSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/MedicalCenters/MedicalCentersListWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/MedicalCenters/VendorsListWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Networks/helpers/networkLoadJsonBuilder.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Auth/RefreshToken.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Charts/USMap.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/VaccinationRecord/vaccinationRecordSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Charts/LeafletMap/LeafletMap.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Forms/KendoFields/Typeahead/typeaheadSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Content/APIUtils.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Utils/getUserPhoto.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/ExpansionPanel/ExpansionPanelWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Forms/KendoFields/ImageUploadCrop.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Consent/consentsSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Providers/ProvidersListWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Table/KendoTableWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Users/UsersActionsCellWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/Auth.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Networks/helpers/formHelper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Networks/helpers/createNetworkJsonBuilder.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Forms/KendoFields/NumberFieldInput.js"}],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss","openLinksInEditor":true,"maxLogViewerEntries":100,"fontSize":10,"autoClearLogViewerOnFileChanges":true,"outputMode":"In View","captureFunctions":false,"enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","nuxt","remix","qwik","hydrogen","live-server","live-preview"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LEGION","app.dev.entourage-events.link","regime.dev.entourage-events.link","platform.dev.entourage-events.link","platform.dev.entourage-events.link:3000","platform.entourage-events.link:3000","localhost:3000","localhost:3004","172.26.21.199"],"host":"localhost"}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 4 tool file(s) to patch
info host patching /home/omersonc/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/node_modules/live-server/index.js
info host patching /home/omersonc/ws-sp/SHP-3161/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws-sp/SHP-3161/node_modules/jest/bin/jest.js
info host patching /home/omersonc/ws-sp/SHP-3161/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info extension stopping host
info extension stopping host
info extension host process output: port:[46655]
info host ------------ starting ------------
info host worker Starting Host Worker...
info extension 
info host client connected: extension { address: '::', family: 'IPv6', port: 46655 }
info host starting host: {"extensionFolder":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.84","runtimeHookFile":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.84/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.84/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/omersonc/ws-sp/SHP-3161/config/env.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/scripts/start.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/scripts/build.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/serviceWorker.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/api/index.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Auth/RefreshToken.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Networks/helpers/networkLoadJsonBuilder.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Settings/SystemMessages/SettingsTemplateVariableHelper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Settings/settingsSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/EncounterDetails/EncounterDetailsWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/QuestionnaireBuilder/QuestionnaireBuilderWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/QuestionnaireBuilder/Reporter/helpers/helpers.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/Reviewer/reviewerSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/Monitoring/MonitoringActions.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/vcb-package/api/index.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/vcb-package/Questionnaire.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/QuestionBuilder/QuestionBuilderWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/MedicalCenters/VendorsListWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/MedicalCenters/MedicalCentersListWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Simulator/slice/fvSimulatorSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Forms/KendoFields/Typeahead/typeaheadSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/ExpansionPanel/ExpansionPanelWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Charts/USMap.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Table/KendoTableWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Forms/KendoFields/ImageUploadCrop.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Charts/LeafletMap/LeafletMap.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/VaccinationRecord/vaccinationRecordSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Utils/getUserPhoto.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Users/UsersActionsCellWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Content/APIUtils.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Consent/consentsSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Providers/ProvidersListWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Simulator/FirstView/ConsultSimulator.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Simulator/FirstView/RxOrderSimulator.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/Auth.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Networks/helpers/formHelper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Networks/helpers/createNetworkJsonBuilder.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Forms/KendoFields/NumberFieldInput.js"}],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss","openLinksInEditor":true,"maxLogViewerEntries":100,"fontSize":10,"autoClearLogViewerOnFileChanges":true,"outputMode":"In View","captureFunctions":false,"enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","nuxt","remix","qwik","hydrogen","live-server","live-preview"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LEGION","app.dev.entourage-events.link","regime.dev.entourage-events.link","platform.dev.entourage-events.link","platform.dev.entourage-events.link:3000","platform.entourage-events.link:3000","localhost:3000","localhost:3004","172.26.21.199"],"host":"localhost"}
info host starting tools discovery and integration
info host looking for tools to patch
info host found 4 tool file(s) to patch
info host patching /home/omersonc/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/node_modules/live-server/index.js
info host patching /home/omersonc/ws-sp/SHP-3161/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws-sp/SHP-3161/node_modules/jest/bin/jest.js
info host patching /home/omersonc/ws-sp/SHP-3161/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info extension stopping host
info extension stopping host
info extension host process output: port:[46655]
info host ------------ starting ------------
info extension 
info host client connected: extension { address: '::', family: 'IPv6', port: 46655 }
info host starting host: {"extensionFolder":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.84","runtimeHookFile":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.84/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/home/omersonc/.vscode-server/extensions/wallabyjs.console-ninja-0.0.84/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/home/omersonc/ws-sp/SHP-3161/config/env.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/scripts/build.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/scripts/start.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/api/index.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/serviceWorker.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Settings/settingsSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Settings/SystemMessages/SettingsTemplateVariableHelper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/QuestionnaireBuilder/QuestionnaireBuilderWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/QuestionnaireBuilder/Reporter/helpers/helpers.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/Monitoring/MonitoringActions.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/EncounterDetails/EncounterDetailsWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/vcb-package/api/index.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/vcb-package/Questionnaire.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/Reviewer/reviewerSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/MedicalCenters/MedicalCentersListWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/MedicalCenters/VendorsListWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/VirtualConsult/QuestionBuilder/QuestionBuilderWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Networks/helpers/networkLoadJsonBuilder.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Auth/RefreshToken.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Simulator/FirstView/ConsultSimulator.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Simulator/FirstView/RxOrderSimulator.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Simulator/slice/fvSimulatorSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/VaccinationRecord/vaccinationRecordSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Forms/KendoFields/Typeahead/typeaheadSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Forms/KendoFields/ImageUploadCrop.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Charts/USMap.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Utils/getUserPhoto.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Charts/LeafletMap/LeafletMap.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/ExpansionPanel/ExpansionPanelWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Content/APIUtils.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Consent/consentsSlice.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Table/KendoTableWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Providers/ProvidersListWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Users/UsersActionsCellWrapper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/Auth.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Networks/helpers/formHelper.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Networks/helpers/createNetworkJsonBuilder.js"},{"path":"/home/omersonc/ws-sp/SHP-3161/src/components/Shared/Forms/KendoFields/NumberFieldInput.js"}],"debug":false,"config":{"dateTimeFormat":"hh:mm:ss","openLinksInEditor":true,"maxLogViewerEntries":100,"fontSize":10,"autoClearLogViewerOnFileChanges":true,"outputMode":"In View","captureFunctions":false,"enableProFeatures":true,"toolsToAutoPatch":["vite","jest","webpack","next.js","cypress","http-server","serve","nuxt","remix","qwik","hydrogen","live-server","live-preview"]},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","LEGION","app.dev.entourage-events.link","regime.dev.entourage-events.link","platform.dev.entourage-events.link","platform.dev.entourage-events.link:3000","platform.entourage-events.link:3000","localhost:3000","localhost:3004","172.26.21.199"],"host":"localhost"}
info host starting tools discovery and integration
info host worker Starting Host Worker...
info host looking for tools to patch
info host found 4 tool file(s) to patch
info host patching /home/omersonc/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/node_modules/live-server/index.js
info host patching /home/omersonc/ws-sp/SHP-3161/node_modules/webpack/lib/webpack.js
info host patching /home/omersonc/ws-sp/SHP-3161/node_modules/jest/bin/jest.js
info host patching /home/omersonc/ws-sp/SHP-3161/node_modules/jest-runner/build/testWorker.js
info host completed tools discovery and integration
info buildHook-1524 installing build hook for webpack at /home/omersonc/ws-sp/SHP-3161
info buildHook-1524 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, nuxt, remix, qwik, hydrogen, live-server, live-preview
info host client connected: buildHook { address: '::', family: 'IPv6', port: 46655 }
info buildHook-1524 running tools: webpack
info buildHook-1524 installing fs interceptor
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 7 log points, error handler: false
info buildHook-1524 file processed (stat): 0 log points, error handler: true
info buildHook-1524 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, nuxt, remix, qwik, hydrogen, live-server, live-preview
info buildHook-1524 running tools: webpack
info buildHook-1524 file processed (stat): 0 log points, error handler: true
info buildHook-1524 file processed (stat): 4 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 0 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 0 log points, error handler: false
info buildHook-1524 file processed (stat): 0 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 2 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 2 log points, error handler: false
info buildHook-1524 file processed (stat): 2 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 10 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 4 log points, error handler: false
info buildHook-1524 file processed (stat): 2 log points, error handler: false
info buildHook-1524 file processed (stat): 2 log points, error handler: false
info buildHook-1524 file processed (stat): 0 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 0 log points, error handler: false
info buildHook-1524 file processed (stat): 3 log points, error handler: false
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info buildHook-1524 file processed (stat): 2 log points, error handler: false
info host removing cache folder: 2212a5537a9d6d242d7feb20e9f902bc
info host removing cache folder: 6e7efffaff6176c27dc73ddce67ca49f
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info buildHook-1524 file processed (stat): 0 log points, error handler: false
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info buildHook-1524 file processed (stat): 0 log points, error handler: false
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info buildHook-1524 file processed (stat): 1 log points, error handler: false
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
ERR! host send callback error: undefined WebSocket is not open: readyState 2 (CLOSING)
ERR! host send callback error: undefined WebSocket is not open: readyState 2 (CLOSING)
ERR! host send callback error: undefined WebSocket is not open: readyState 2 (CLOSING)
ERR! host send callback error: undefined WebSocket is not open: readyState 2 (CLOSING)
ERR! host send callback error: undefined WebSocket is not open: readyState 2 (CLOSING)
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client disconnected: buildHook 4100
info host client disconnected: buildHook 4100, has clients false
info host log viewer state size exceeded max size in entries, clearing it
info buildHook-2011 installing build hook for webpack at /home/omersonc/ws-sp/SHP-3161
info buildHook-2011 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, nuxt, remix, qwik, hydrogen, live-server, live-preview
info buildHook-2011 running tools: webpack
info host client connected: buildHook { address: '::', family: 'IPv6', port: 46655 }
info buildHook-2011 installing fs interceptor
info buildHook-2011 file processed (stat): 0 log points, error handler: true
info buildHook-2011 allowed tools: vite, jest, webpack, next.js, cypress, http-server, serve, nuxt, remix, qwik, hydrogen, live-server, live-preview
info buildHook-2011 running tools: webpack
info buildHook-2011 file processed (stat): 0 log points, error handler: true
info buildHook-2011 file processed (stat): 1 log points, error handler: false
info buildHook-2011 file processed (stat): 0 log points, error handler: false
info buildHook-2011 file processed (stat): 0 log points, error handler: false
info buildHook-2011 file processed (stat): 1 log points, error handler: false
info buildHook-2011 file processed (stat): 0 log points, error handler: false
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client disconnected: runtimeHook 1001
info host client disconnected: runtimeHook
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client connected: runtimeHook { address: '::', family: 'IPv6', port: 46655 }
info host client disconnected: buildHook 4100
info host client disconnected: buildHook 4100, has clients false
omerson-cruz commented 1 year ago

Just a correction with my issue report. Console Ninja actually works on V0.0.45 and below. Although I'll be missing some of the features though if I do use the older versions

ArtemGovorov commented 1 year ago

Can you please

omerson-cruz commented 1 year ago

Hi @ArtemGovorov, I've tried the first step you suggested.

try closing all VS Code instances, stopping all running dev servers, checking if there are any node processes still running after it in your system and killing them (or restarting your machine), then re-open the project in VS Code and check if the issue is still there?

And also just to add an information to the issue. I am seeing this error log on the Console Ninja output window instead of showing the actual console.log()

image

image

And if I try to click that error this is what the link to the file contains.

console-ninja-error.zip

I'm not sure if this information would help but yeah I'm trying to prepare a somewhat similar sample project to our dev environment that I can share.

omerson-cruz commented 1 year ago

@ArtemGovorov: I added you on the private repo https://github.com/omerson-cruz/sample-webpack-for-cn/invitations

ArtemGovorov commented 1 year ago

Thanks, I have tried starting the project, but after running npm run start in my dev container for 20 minutes webpack is either hanging forever or is still bundling (with and without console ninja started), but the app doesn't start.

To try run the app in some capacity, I have edited src/index.js and src/App.js to have a simplified app, while still starting it with the existing webpack config and infra that you have configured in the project, and it's working for me as expected:

cn

So the issue may be related to some other specific source files or transforms that webpack maybe doing, but unfortunately I can't get to that point as it is hanging for me.

Can you please try doing what I have done (simplifying index.js and App.js and addign a simple logging) to check if it's working for you? If so, can you please try adding minimal (otherwise there's a risk that I won't be able to run it in our test environment) number of other dependencies/imports to reproduce the issue?

omerson-cruz commented 1 year ago

Hi @ArtemGovorov , thanks for the fast response. I've tried what you said like simplifying or adding minimal code to the App.js component. and it works for me similar to your SS.

Although with the real project that I'm working on, The console log is really deep within the application's components I'll just try to replicate the same scenario as much as I can and yes reduced some of the dependencies or imports so it wont hang on your end during testing.

Oh and one thing is that with the latest Console Ninja I think the webpack dev server becomes very slow and you're right it hangs for some reason and it's making my WSL to eat lot of RAM for some reason.

But again using the old Console Ninja version I was not able to encounter such issue which is weird.

omerson-cruz commented 1 year ago

Just an update on this issue. I managed to make it work with the latest version. Though not sure what exactly fix the issues since it's really hard to replicate on a controlled setup. But here's what I did.

Then it works :).

I think we can close this ticket thanks