Open liubiliubi opened 8 months ago
The NODE_TLS_REJECT_UNAUTHORIZED
error should not be relevant, and from the screenshot and the log everything looks ok.
Can you please create a sample GitHub repository demonstrating the issue? We are happy to take look and investigate.
ok, I have create a repository named hm-shppoing, you can have a look.(However, this is another repository , different from the project in the question, the project in this repository can connect to ninja but still cannot be used normally) (I can't upload the project mentioned in the question because it is a company project and I can't mess with it, hope you can understand! thanks) ![Uploading 微信图片_20231221165409.png…]()
We have tried the https://github.com/liubiliubi/hm-shopping repo, and Console Ninja is working as expected:
Please do the following:
~/.console-ninja/trace.log
file and save it as empty file.npm run serve
command.123
log to open the source in Dev Tools.~/.console-ninja/trace.log
file.I did the follow but it didn't work Does this have any relevance about using vpn(I didn't use vpn between I open the project, I only use vpn to open the github)
The log looks incomplete, it should contain a few more lines. Can you please run through the list of actions https://github.com/wallabyjs/console-ninja/issues/250#issuecomment-1865914136 again, but this time clear the log after closing VS Code, and before opening it (not later). Also please share the content of the log file as text.
17:53:42.126 info extension stopping host
17:53:46.337 info extension stopping host
17:53:46.740 info host ------------ starting ------------
17:53:46.775 info host removing cache folder: 972f5e57009faae76f21432179fdaaeb
17:53:46.949 info host worker Starting Host Worker...
17:53:47.076 info extension host process output: port:[62786]
17:53:47.076 info extension
17:53:47.190 info host client connected: extension { address: '::', family: 'IPv6', port: 62786 }
17:53:47.503 info host starting host: {"extensionFolder":"c:\Users\王洋\.vscode\extensions\wallabyjs.console-ninja-1.0.268","runtimeHookFile":"c:\Users\王洋\.vscode\extensions\wallabyjs.console-ninja-1.0.268\out\runtimeHook\tracer.js","globalErrorHandlerFile":"c:\Users\王洋\.vscode\extensions\wallabyjs.console-ninja-1.0.268\out\runtimeHook\errorHandler.js","filesToInstrument":[{"path":"c:\users\王洋\desktop\王洋\hm-shopping\src\views\login\index.vue","reason":"search"},{"path":"c:\users\王洋\desktop\王洋\hm-shopping\src\views\layout\user.vue","reason":"search"},{"path":"c:\users\王洋\desktop\王洋\hm-shopping\src\views\layout\home.vue","reason":"search"},{"path":"c:\Users\王洋\Desktop\王洋\hm-shopping\src\views\layout\category.vue","reason":"open"},{"path":"c:\Users\王洋\Desktop\王洋\hm-shopping\src\views\layout\home.vue","reason":"open"},{"path":"c:\Users\王洋\Desktop\王洋\hm-shopping\src\components\GoodsItem.vue","reason":"open"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","dateTimeDisplayMode":"Absolute","installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":10,"outputMode":"Beside File","captureFunctions":false,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":false,"toolsToAutoPatch":["vite","angular","jest","webpack","next.js","nest.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro","live-server-extension","live-preview-extension"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false,"predictiveLoggingEnabled":true,"allowConsoleLogToTriggerPredictions":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","liubiliubi","10.128.2.43","192.168.7.203"],"host":"127.0.0.1"}
17:53:47.526 info host starting tools discovery and integration
17:53:47.541 info host looking for tools to patch
17:53:47.547 ERR! extension host process error: (node:13148) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
17:53:47.547 ERR! extension (Use Code --trace-warnings ...
to show where the warning was created)
17:53:47.547 ERR! extension
17:53:48.132 info host found 2 tool file(s) to patch
17:53:48.135 info host patching c:\users\王洋\desktop\王洋\hm-shopping\node_modules\webpack\lib\index.js
17:53:48.136 info host patching c:\users\王洋\desktop\王洋\hm-shopping\node_modules\webpack\lib\webpack.js
17:53:48.138 info host completed tools discovery and integration
17:53:51.170 info buildHook-22220 installing build hook for webpack at c:\users\王洋\desktop\王洋\hm-shopping, node v18.15.0
17:53:51.185 info buildHook-22220 allowed tools: vite, angular, jest, webpack, next.js, nest.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
17:53:51.743 info host client connected: buildHook { address: '::', family: 'IPv6', port: 62786 }
17:53:51.186 info buildHook-22220 running tools: webpack
17:53:51.188 info buildHook-22220 installing fs interceptor
17:53:51.327 info buildHook-22220 file processed (stat): 0 log points, error handler: true
17:53:51.694 info buildHook-22220 file processed (stat): 0 log points, error handler: false
17:53:51.747 info buildHook-22220 allowed tools: vite, angular, jest, webpack, next.js, nest.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, live-server-extension, live-preview-extension, node
17:53:51.747 info buildHook-22220 running tools: webpack
Are you using a VPN / Firewall? If so, can you please try disabling them temporarily to see if that fixes your problem?
If that fixes your problem, please refer to your product user documentation to create an exclusion for Console Ninja.
I tried to disable the Firewall and Vpn , but it didn't work anyway
We've tried your repo on multiple computers (both MacOS and Windows) and it's working for us.
Can you please try the following:
npm run serve
src\views\layout\home.vue
console.log
output on line 78, and if you click on the image, you should see the additional log. output on line 74:If that doesn't work, if possible, can you also please try on another computer?
This same thing happens to me in Visual Studio Code with a Mac M1
But in ArcLinux it works without problems
I have already disabled the Firewall and it is still the same
ERR! extension host process error: spawn /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) ENOENT
trace.log
@erufenix - can you please provide your full trace.log
from your Mac M1 where it's not working for you?
What happened?
I have no idea how to use it. Please help,thanks! I have launched webpack already!
Version
v1.0.268
Steps to reproduce (or sample repo)
Log output