Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command RNIDE.diagnose not found #620

Closed
ziademadmohammed opened this issue Oct 14, 2024 · 2 comments · Fixed by #638
Closed

command RNIDE.diagnose not found #620

ziademadmohammed opened this issue Oct 14, 2024 · 2 comments · Fixed by #638
Labels
bug Something isn't working

Comments

@ziademadmohammed
Copy link

Description
after installing the extension the UI to start using it doesn't appear. the docs recommend using the diagnose command but i get this error

Screencast_14_10_24_11.12.33.mp4

Environment

Expo project (SDK 51)
latest version of vscode 1.94
latest version of extension .19

@ziademadmohammed ziademadmohammed added the bug Something isn't working label Oct 14, 2024
@ziademadmohammed
Copy link
Author

upon further debugging. found that the extension is throwing an error on startup

2024-10-15 00:51:41.337 [info] ExtensionService#_doActivateExtension swmansion.react-native-ide, startup: true, activationEvent: 'workspaceContains:node_modules/react-native'
2024-10-15 00:51:41.377 [error] Activating extension swmansion.react-native-ide failed due to an error:
2024-10-15 00:51:41.377 [error] Error: Unsupported platform
    at /home/ziade/.var/app/com.visualstudio.code/data/vscode/extensions/swmansion.react-native-ide-0.0.19/dist/extension.js:103:32438
    at Object.<anonymous> (/home/ziade/.var/app/com.visualstudio.code/data/vscode/extensions/swmansion.react-native-ide-0.0.19/dist/extension.js:103:32474)
    at Module._compile (node:internal/modules/cjs/loader:1373:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
    at Module.load (node:internal/modules/cjs/loader:1215:32)
    at Module._load (node:internal/modules/cjs/loader:1031:12)
    at Function.c._load (node:electron/js2c/node_init:2:13801)
    at Function.e._load (file:///app/extra/vscode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:174:10870)
    at Function.t._load (file:///app/extra/vscode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:22422)
    at Function.i._load (file:///app/extra/vscode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:158:4651)
    at Module.require (node:internal/modules/cjs/loader:1240:19)
    at require (node:internal/modules/helpers:179:18)
    at hB.xb (file:///app/extra/vscode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:23767)
    at async Promise.all (index 0)

@ziademadmohammed
Copy link
Author

upon checking the extension code. i found out it only supports windows and macos. this is not refrenced in the installation section in the docs. also the warning supposed to tell that other platforms aren't supported didn't show up for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant