Bad CPU type in executable -- vscode plugin: Todo-Tree
problem
problem screenshot
problem content Todo-Tree: /bin/sh: /Applications/Cursor.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg: Bad CPU type in executable
operating system
Reproduction Steps
Install todo tree vscode plugin
extra info
Same issue
Same issue, but It is working fine on VSCode.
I also get this - only on my intel mac, everything works fine on my m1 mac (and everything works fine on vscode on both platforms)
I have this issue on my Intel Mac as well
I also have this issue on Intel MBP.
I also have this issue on Intel MBP.
I also have this issue on Intel MBP.
I had this same issue on my Intel Mac and was able to work around it.
- In a terminal window run,
which rg - Copy the path location, for me it was
/usr/local/bin/rg - In your settings.json file add the following line:
"todo-tree.ripgrep.ripgrep": "{PATH_FROM_WHICH_COMMAND}"
After that you should be able to open the command palette and run Todo Tree Refresh and it should generate the tree for you.
I had this same issue on my Intel Mac and was able to work around it.
- In a terminal window run,
which rg- Copy the path location, for me it was
/usr/local/bin/rg- In your settings.json file add the following line:
"todo-tree.ripgrep.ripgrep": "{PATH_FROM_WHICH_COMMAND}"After that you should be able to open the command palette and run
Todo Tree Refreshand it should generate the tree for you.
Works for me on M2 (I had to install rg) and all the expected TODOs are listed. Thanks!
Got the same problem..
but not sure how to open the settings.json? I have found the defaultSettings.json, but is read only.
Any idea? Am from MAC.
Got the same problem.. but not sure how to open the settings.json? I have found the defaultSettings.json, but is read only.
Any idea? Am from MAC.
@Vanals easiest way is to use the command palette. You can open that with the keyboard shortcut command + shift + p, or using the Mac menu View > Command Palette. Once open you can then type in settings json and choose the search result that says Preferences: Open User Settings (JSON)