wallabyjs / console-ninja

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

[Bug]: Tools patching never finishes with pnpm #168

Closed ae86yyk closed 1 year ago

ae86yyk commented 1 year ago

What happened?

Console Ninja is 💤 inactive. When vscode starts, we see an error in trace.log.

10:34:41.978 ERR! extension host process error: (node:23040) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification. 10:34:41.979 ERR! extension (Use Code --trace-warnings ... to show where the warning was created) 10:34:41.979 ERR! extension

Version

v0.0.177

Steps to reproduce (or sample repo)

image

Log output

10:34:40.373 info extension stopping host
10:34:40.918 info host ------------ starting ------------
10:34:41.059 info extension host process output: port:[7663]
10:34:41.059 info extension 
10:34:41.141 info host client connected: extension { address: '::', family: 'IPv6', port: 7663 }
10:34:41.173 info host worker Starting Host Worker...
10:34:41.951 info host starting host: {"extensionFolder":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.177","runtimeHookFile":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.177\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.177\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"D:\\work\\bimnb\\front\\tests\\unit\\components\\Breadcrumb.spec.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\setting\\deviceManager\\camera\\Camera.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\safejs\\cmtWsClientHelper.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\safejs\\callbackPage.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\useGrid1.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\useGrid.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\cesium-mvtimageryprovider\\mapbox-gl.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\login\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\gridLayout\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\portDialog.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\infos.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\utils\\request.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\store\\modules\\user.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\layout\\components\\navbar\\NormalNavbar.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\assets\\sw.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\assets\\iconfont\\iconfont.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\videoTransform.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\js\\objLoader.worker.worker.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\h5player.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\components\\Websocket\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-home-check-index.1dd6819a.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-home-dangerOperation-dangerOperationDetail.4f6fde0e.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-home-fourCards-index.687f62d0.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-home-dangerOperation-index.b2feeb55.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-tabBar-mine-index.f06b261a.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\js\\app.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-tabBar-home-index.16670df7.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-mine-bltmanagement-bltmanagement.acb3afb4.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-login-index.3350dd0c.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-home-troubleshooting-index.2257e3f3.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-home-safetyCommitment-index.1589ca4b.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\pages-home-loadCar-index.7582fbcc.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\static\\js\\index.ed443679.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\uni_modules\\lime-echart\\static\\index.html","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\m\\uni_modules\\lime-echart\\static\\echarts.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\createVerticesFromHeightmap.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\Transforms-f15de320.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\decodeGoogleEarthEnterprisePacket.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\viewerCesiumNavigationMixin.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\ThirdParty\\Workers\\draco_decoder_nodejs.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\ThirdParty\\Workers\\basis_transcoder.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Cesium.d.ts","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Cesium.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\turf\\turf.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\flv.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\aliplayer-min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\EasyPlayer-lib.min.js","reason":"search"},{"path":"d:\\work\\bimnb\\front\\src\\views\\info\\index.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\login\\personalCenter\\info.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\modelview\\modelInfo\\useModelInfo.js","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\store\\modules\\user.js","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\api\\modelview\\index.js","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\modelview\\contextmenu\\index.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\layout\\components\\CustomMenu.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\layout\\components\\Sidebar\\User.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\modelview\\modelInfo\\index.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\api\\layout\\index.js","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\layout\\components\\navbar\\NormalNavbar.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\api\\person\\index.js","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\modelview\\useAPI.js","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\layout\\components\\Navbar.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\modelview\\useGrid.js","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\modelview\\index.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\gridLayout\\index.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\infos.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\reckonInfo.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\infosDialog.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\index.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\setting\\index.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\setting\\threshold\\index.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\setting\\threshold\\Table.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\setting\\parameter\\SafeTable.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\components\\PaginationTable\\index.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\setting\\permission\\index.vue","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\setting\\personManager\\index.vue","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":10,"outputMode":"Beside File","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","DESKTOP-89HB271","192.168.27.150"],"host":"127.0.0.1"}
10:34:41.978 ERR! extension host process error: (node:23040) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
10:34:41.979 ERR! extension (Use `Code --trace-warnings ...` to show where the warning was created)
10:34:41.979 ERR! extension 
10:34:41.976 info host starting tools discovery and integration
10:34:41.987 info host installing PATH C:\Users\yyk\.console-ninja\.bin
10:34:46.796 info host looking for tools to patch
NikGovorov commented 1 year ago

Could you 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 <path to your project folder: d:\work\bimnb\front?>
code .

Then check that Console Ninja is not paused, start it if it's paused, start the built-in terminal, run your command that starts the dev server, open trace.log and share its content.

ae86yyk commented 1 year ago
14:25:51.299 info extension stopping host
14:25:51.912 info host ------------ starting ------------
14:25:52.097 info extension host process output: port:[7663]
14:25:52.097 info extension 
14:25:52.143 info host worker Starting Host Worker...
14:25:52.207 info host client connected: extension { address: '::', family: 'IPv6', port: 7663 }
14:25:52.494 info host starting host: {"extensionFolder":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.178","runtimeHookFile":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.178\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.178\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"D:\\work\\bimnb\\front\\tests\\unit\\components\\Breadcrumb.spec.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\setting\\deviceManager\\camera\\Camera.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\safejs\\cmtWsClientHelper.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\safejs\\callbackPage.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\useGrid1.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\useGrid.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\login\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\gridLayout\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\cesium-mvtimageryprovider\\mapbox-gl.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\infos.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\portDialog.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\utils\\request.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\store\\modules\\user.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\layout\\components\\navbar\\NormalNavbar.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\components\\Websocket\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\assets\\iconfont\\iconfont.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\videoTransform.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\aliplayer-min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\js\\objLoader.worker.worker.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\EasyPlayer-lib.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\assets\\sw.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\js\\app.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\h5player.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\turf\\turf.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\Transforms-f15de320.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\decodeGoogleEarthEnterprisePacket.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\createVerticesFromHeightmap.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\viewerCesiumNavigationMixin.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\ThirdParty\\Workers\\draco_decoder_nodejs.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\ThirdParty\\Workers\\basis_transcoder.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Cesium.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Cesium.d.ts","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\flv.min.js","reason":"search"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":10,"outputMode":"Beside File","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","DESKTOP-89HB271","192.168.27.150"],"host":"127.0.0.1"}
14:25:52.514 ERR! extension host process error: (node:35104) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
14:25:52.514 ERR! extension (Use `Code --trace-warnings ...` to show where the warning was created)
14:25:52.514 ERR! extension 
14:25:52.513 info host starting tools discovery and integration
14:25:52.521 info host installing PATH C:\Users\yyk\.console-ninja\.bin
14:25:57.058 info host looking for tools to patch
NikGovorov commented 1 year ago

Did you start VS Code from Windows Terminal? Looks like CONSOLE_NINJA_LOG_LEVEL environment variable is not set for VS Code process.

ae86yyk commented 1 year ago
15:11:14.909 info extension stopping host
15:11:15.427 info host ------------ starting ------------
15:11:15.573 info extension host process output: port:[7663]
15:11:15.573 info extension 
15:11:15.627 info host client connected: extension { address: '::', family: 'IPv6', port: 7663 }
15:11:15.665 info host worker Starting Host Worker...
15:11:16.258 verb host received message extension.start
15:11:16.289 ERR! extension host process error: (node:36196) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
15:11:16.289 ERR! extension (Use `Code --trace-warnings ...` to show where the warning was created)
15:11:16.289 ERR! extension 
15:11:16.259 verb host received method call: start
15:11:16.260 info host starting host: {"extensionFolder":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.178","runtimeHookFile":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.178\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.178\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"D:\\work\\bimnb\\front\\tests\\unit\\components\\Breadcrumb.spec.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\setting\\deviceManager\\camera\\Camera.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\safejs\\cmtWsClientHelper.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\safejs\\callbackPage.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\useGrid1.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\useGrid.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\cesium-mvtimageryprovider\\mapbox-gl.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\login\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\gridLayout\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\portDialog.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\infos.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\utils\\request.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\store\\modules\\user.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\layout\\components\\navbar\\NormalNavbar.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\components\\Websocket\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\assets\\iconfont\\iconfont.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\videoTransform.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\js\\objLoader.worker.worker.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\h5player.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\flv.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\assets\\sw.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\turf\\turf.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Cesium.d.ts","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\aliplayer-min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\EasyPlayer-lib.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\createVerticesFromHeightmap.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\decodeGoogleEarthEnterprisePacket.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\Transforms-f15de320.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\js\\app.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\viewerCesiumNavigationMixin.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\ThirdParty\\Workers\\draco_decoder_nodejs.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\ThirdParty\\Workers\\basis_transcoder.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Cesium.js","reason":"search"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":10,"outputMode":"Beside File","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","DESKTOP-89HB271","192.168.27.150"],"host":"127.0.0.1"}
15:11:16.287 info host starting tools discovery and integration
15:11:16.298 info host installing PATH C:\Users\yyk\.console-ninja\.bin
15:11:21.227 verb extension received method call: toolsIntegrationStarted
15:11:21.224 verb host patching c:\Users\yyk\.vscode\extensions\wallabyjs.console-ninja-0.0.178 Set(14) {
15:11:21.224 verb host   'vite',
15:11:21.224 verb host   'jest',
15:11:21.224 verb host   'webpack',
15:11:21.224 verb host   'next.js',
15:11:21.224 verb host   'cypress',
15:11:21.224 verb host   'http-server',
15:11:21.225 verb host   'serve',
15:11:21.225 verb host   'live-server',
15:11:21.225 verb host   'nuxt',
15:11:21.225 verb host   'remix',
15:11:21.225 verb host   'qwik',
15:11:21.225 verb host   'hydrogen',
15:11:21.225 verb host   'serverless',
15:11:21.225 verb host   'astro'
15:11:21.225 verb host } [{"type":"ClassicNodeModule","value":"D:\\work\\bimnb\\front"},{"type":"CustomFilePath","value":"c:\\Users\\yyk\\.vscode\\extensions"}]
15:11:21.225 verb host patching(unlocked)
15:11:21.225 info host looking for tools to patch
15:11:21.226 verb host unpatching 0
15:11:21.226 verb host unpatched
NikGovorov commented 1 year ago

Thanks! Could you please update the extension to v0.0.180 and proceed with the identical instructions? We have included extra detailed logging to help troubleshoot the problem you're experiencing.

ae86yyk commented 1 year ago
16:25:34.974 info extension stopping host
16:25:35.780 info host ------------ starting ------------
16:25:36.119 info host worker Starting Host Worker...
16:25:36.303 info extension host process output: port:[7663]
16:25:36.303 info extension 
16:25:36.385 info host client connected: extension { address: '::', family: 'IPv6', port: 7663 }
16:25:37.039 verb host received message extension.start
16:25:37.064 ERR! extension host process error: (node:11932) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
16:25:37.064 ERR! extension (Use `Code --trace-warnings ...` to show where the warning was created)
16:25:37.064 ERR! extension 
16:25:37.039 verb host received method call: start
16:25:37.039 info host starting host: {"extensionFolder":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.180","runtimeHookFile":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.180\\out\\runtimeHook\\tracer.js","globalErrorHandlerFile":"c:\\Users\\yyk\\.vscode\\extensions\\wallabyjs.console-ninja-0.0.180\\out\\runtimeHook\\errorHandler.js","filesToInstrument":[{"path":"D:\\work\\bimnb\\front\\tests\\unit\\components\\Breadcrumb.spec.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\setting\\deviceManager\\camera\\Camera.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\safejs\\cmtWsClientHelper.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\safejs\\callbackPage.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\safehat\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\useGrid1.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\useGrid.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\modelview\\cesium-mvtimageryprovider\\mapbox-gl.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\login\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\gridLayout\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\portDialog.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\views\\geoBuilding\\gridList\\infos.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\utils\\request.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\store\\modules\\user.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\layout\\components\\navbar\\NormalNavbar.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\components\\Websocket\\index.vue","reason":"search"},{"path":"D:\\work\\bimnb\\front\\src\\assets\\iconfont\\iconfont.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\videoTransform.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\js\\objLoader.worker.worker.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\flv.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\assets\\sw.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\h5player.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\turf\\turf.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\viewerCesiumNavigationMixin.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\createVerticesFromHeightmap.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\decodeGoogleEarthEnterprisePacket.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Workers\\Transforms-f15de320.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\ThirdParty\\Workers\\draco_decoder_nodejs.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\EasyPlayer-lib.min.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\static\\bimsdk\\js\\app.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\ThirdParty\\Workers\\basis_transcoder.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Cesium.d.ts","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\fwebearth\\Cesium\\Cesium.js","reason":"search"},{"path":"D:\\work\\bimnb\\front\\public\\aliplayer-min.js","reason":"search"},{"path":"d:\\work\\bimnb\\front\\vue.config.js","reason":"open"},{"path":"d:\\work\\bimnb\\front\\src\\views\\modelview\\index.vue","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","showDateTime":true,"installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":10,"outputMode":"Beside File","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","DESKTOP-89HB271","192.168.27.150"],"host":"127.0.0.1"}
16:25:37.062 info host starting tools discovery and integration
16:25:37.072 info host installing PATH C:\Users\yyk\.console-ninja\.bin
16:25:42.120 verb extension received method call: toolsIntegrationStarted
16:25:42.118 verb host patching c:\Users\yyk\.vscode\extensions\wallabyjs.console-ninja-0.0.180 Set(14) {
16:25:42.118 verb host   'vite',
16:25:42.118 verb host   'jest',
16:25:42.118 verb host   'webpack',
16:25:42.118 verb host   'next.js',
16:25:42.118 verb host   'cypress',
16:25:42.118 verb host   'http-server',
16:25:42.118 verb host   'serve',
16:25:42.118 verb host   'live-server',
16:25:42.118 verb host   'nuxt',
16:25:42.118 verb host   'remix',
16:25:42.118 verb host   'qwik',
16:25:42.118 verb host   'hydrogen',
16:25:42.118 verb host   'serverless',
16:25:42.118 verb host   'astro'
16:25:42.118 verb host } [{"type":"ClassicNodeModule","value":"D:\\work\\bimnb\\front"},{"type":"CustomFilePath","value":"c:\\Users\\yyk\\.vscode\\extensions"}]
16:25:42.118 verb host patching(unlocked)
16:25:42.118 info host looking for tools to patch
16:25:42.120 verb host unpatching 0
16:25:42.121 verb host unpatched
16:25:42.121 verb host resolving modules in D:\work\bimnb\front
16:25:42.121 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.121 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.121 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolving custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.122 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.123 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.123 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.123 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.123 verb host resolved 0 in custom c:\Users\yyk\.vscode\extensions
16:25:42.123 verb host resolved modules
16:25:42.123 verb host scanning modules in D:\work\bimnb\front
NikGovorov commented 1 year ago

Thank you for providing the logs. We are currently investigating the issue. In the meantime, you can attempt the following steps:

Another suggestion would be to delete the D:\work\bimnb\front\node_modules folder and then run npm install. This should resolve the issue.

Additionally, it would be helpful if you could share the dependencies and devDependencies sections of your package.json with us.

ae86yyk commented 1 year ago

I tested it, and there is no problem using npm and pnpm, but it does not work when using cnpm. If you are interested, you can test it. test.zip

smcenlly commented 1 year ago

If you use an alias command instead of the cnpm package, does it work for you? From npmmirror.com:

alias cnpm="npm --registry=https://registry.npmmirror.com \
--cache=$HOME/.npm/.cache/cnpm \
--disturl=https://npmmirror.com/mirrors/node \
--userconfig=$HOME/.cnpmrc"

# Or alias it in .bashrc or .zshrc
$ echo '\n#alias for cnpm\nalias cnpm="npm --registry=https://registry.npmmirror.com \
  --cache=$HOME/.npm/.cache/cnpm \
  --disturl=https://npmmirror.com/mirrors/node \
  --userconfig=$HOME/.cnpmrc"' >> ~/.zshrc && source ~/.zshrc
ae86yyk commented 1 year ago

I installed the latest cnpm is OK🤣.