console-ninja icon indicating copy to clipboard operation
console-ninja copied to clipboard

License activate load infinity on MAC mini M1

Open erufenix opened this issue 1 year ago • 18 comments

What happened?

When you activate the license, it charges for a long time. This happens on a Mac mini M1 with Sonoma

I've already uninstalled and installed it several times and it's still the same.

The same one on my laptop with Linux works correctly

loadNinjaMac

Version

1.0.288

Steps to reproduce (or sample repo)

Console Ninja: Activate License

Log output

16:59:09.350 info extension stopping host
16:59:09.355 ERR! extension host process error: spawn /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) ENOENT
16:59:13.587 ERR! extension host process error: spawn /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) ENOENT

erufenix avatar Feb 22 '24 23:02 erufenix

It looks like somehow your Console Ninja extension became corrupted on your Mac mini M1.

Can you please do the following:

  1. Uninstall the Console Ninja extension
  2. Close all instances of VS Code
  3. Delete the ~/.vscode/extensions/wallabyjs.console-ninja-1.0.288 from, your home directory
  4. Re-open VS Code
  5. Install the Console Ninja extension

If that does not work and you're still having problems, please let us know.

smcenlly avatar Feb 23 '24 02:02 smcenlly

Assuming our suggestion fixed your problem; closing this issue.

If you're still having problems, please let us know and we'll re-open the issue.

smcenlly avatar Feb 27 '24 22:02 smcenlly

It looks like somehow your Console Ninja extension became corrupted on your Mac mini M1.

Can you please do the following:

1. Uninstall the Console Ninja extension

2. Close all instances of VS Code

3. Delete the `~/.vscode/extensions/wallabyjs.console-ninja-1.0.288` from, your home directory

4. Re-open VS Code

5. Install the Console Ninja extension

If that does not work and you're still having problems, please let us know.

I've done this several times and the same problem continues.

erufenix avatar Feb 28 '24 18:02 erufenix

Can you please edit your preferences JSON file with Preferences: Open User Settings (JSON) and add a setting:

...
  "console-ninja.node": "your path to node"
...

Change your path to node with your actual node path. You should be able to find this from the command-line with which node or where node.


Please let us know if that works for you.

smcenlly avatar Feb 28 '24 22:02 smcenlly

It is not solved, the problem continues

"console-ninja.node": "/opt/homebrew/bin/node",

erufenix avatar Mar 01 '24 23:03 erufenix

@erufenix Can you please run:

> /opt/homebrew/bin/node -v

in your terminal share the output?

ArtemGovorov avatar Mar 04 '24 00:03 ArtemGovorov

v21.6.2

erufenix avatar Mar 06 '24 20:03 erufenix

Can you please provide us with the zipped contents of your Console Ninja extension directory? If you are using the latest version, it should be located here:

~/.vscode/extensions/wallabyjs.console-ninja-1.0.290

smcenlly avatar Mar 07 '24 23:03 smcenlly

Can you please provide us with the zipped contents of your Console Ninja extension directory? If you are using the latest version, it should be located here:

~/.vscode/extensions/wallabyjs.console-ninja-1.0.290

console-ninja_eru.tar.gz

erufenix avatar Mar 11 '24 17:03 erufenix

@erufenix Thanks for providing the extension's archive. We have inspected it and everything looks expected, so neither corrupted extension installation, nor node version (as per your previous test with using console-ninja.node setting) are the source of the issue. This means that something else in your environment is causing the issue, but unfortunately we can't understand why it happens or how exactly to troubleshoot it. Something is preventing the extension to spawn node process(es), even though both node executable and the entry file are there.

Do you have any firewall/anti virus software installed on the machine? If so, can you please try to temporarily disable it to see if it help to run the tool while it's off?

Also, please check that your PATH environment variable has not been corrupted, and looks as expected (echo $PATH).

ArtemGovorov avatar Mar 11 '24 23:03 ArtemGovorov

Ok, I'm going to check my environment

erufenix avatar Mar 26 '24 10:03 erufenix

@erufenix Thanks for providing the extension's archive. We have inspected it and everything looks expected, so neither corrupted extension installation, nor node version (as per your previous test with using console-ninja.node setting) are the source of the issue. This means that something else in your environment is causing the issue, but unfortunately we can't understand why it happens or how exactly to troubleshoot it. Something is preventing the extension to spawn node process(es), even though both node executable and the entry file are there.

Do you have any firewall/anti virus software installed on the machine? If so, can you please try to temporarily disable it to see if it help to run the tool while it's off?

Also, please check that your PATH environment variable has not been corrupted, and looks as expected (echo $PATH).

/Users/edgarhtech/Library/Android/sdk/platform-tools /Users/edgarhtech/Library/Android/sdk /opt/flutter/bin /opt/homebrew/bin /usr/local/bin /System/Cryptexes/App/usr/bin /usr/bin /bin /usr/sbin /sbin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin /Library/Apple/usr/bin

erufenix avatar May 09 '24 15:05 erufenix

where node.

Can you please provide us with the zipped contents of your Console Ninja extension directory? If you are using the latest version, it should be located here:

~/.vscode/extensions/wallabyjs.console-ninja-1.0.290

console-ninja_eru.tar.gz

@ArtemGovorov having same problem here.

15:16:45.297 info extension stopping host
15:16:45.302 ERR! extension host process error: spawn /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) ENOENT
15:17:07.002 info extension stopping host
15:17:07.006 ERR! extension host process error: spawn /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) ENOENT
15:18:34.517 info extension stopping host
15:18:34.521 ERR! extension host process error: spawn /Users/alexw/.nvm/versions/node/v18.20.5/bin/node ENOENT

I added '/Users/alexw/.nvm/versions/node/v18.20.5/bin/node'

but i'm getting

15:18:34.521 ERR! extension host process error: spawn /Users/alexw/.nvm/versions/node/v18.20.5/bin/node ENOENT

and verified node path is correct and working.

>>> /Users/alexw/.nvm/versions/node/v18.20.5/bin/node -v
>>> v18.20.5

j3ang avatar Nov 14 '24 21:11 j3ang

@j3ang - can you please describe how you installed VS Code? We've seen some issues where NOT installing VS Code from the official Microsoft download has caused some problems (e.g. when installing using a different package / application manager).

Could you please try uninstalling VS Code and reinstalling the latest version from the VS Code official download?

smcenlly avatar Nov 14 '24 22:11 smcenlly

@smcenlly hmm, I did a fresh re-install. I'm still getting the error.

11:39:45.136 ERR! extension host process error: spawn /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) ENOENT

j3ang avatar Nov 15 '24 17:11 j3ang

so I figured out the problem for my case. My project folder was in an external drive. It sucessfully started after I moved the folder to the laptop.

j3ang avatar Nov 15 '24 18:11 j3ang