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

Error starting the preview #8

Open
teodorlu opened this issue Jan 13, 2022 · 4 comments
Open

Error starting the preview #8

teodorlu opened this issue Jan 13, 2022 · 4 comments

Comments

@teodorlu
Copy link

Hey, thanks for a great plugin! It's really helpful to see what I'm doing while working on an OpenAPI speficiation.

I recently reinstalled my OS, and I'm getting this error:

image

I suspect that it's related to how I manage my Node installation. I'm using asdf-vm to provide Node, which takes prescedence over my system-installed node.

Any ideas on how to make it work?

I'd be happy to provide an explicit path to Node in the settings.

$ which node
/home/teodorlu/.asdf/shims/node
$ node --version
v17.3.0
/usr/bin/node
$ /usr/bin/node --version
v17.3.0
$ where node
/home/teodorlu/.asdf/shims/node
/usr/bin/node
/bin/node
$ head /home/teodorlu/.asdf/shims/node
#!/usr/bin/env bash
# asdf-plugin: nodejs 14.18.2
# asdf-plugin: nodejs 16.7.0
# asdf-plugin: nodejs 10.16.0
# asdf-plugin: nodejs 12.22.8
# asdf-plugin: nodejs 16.13.1
# asdf-plugin: nodejs 14.13.0
exec /opt/asdf-vm/bin/asdf exec "node" "$@"
@userAugustos
Copy link

Same here, did u find a solution?

@teodorlu
Copy link
Author

Nope, sorry. I found a plugin for Intellij that worked 🤷

@zoellner
Copy link
Owner

I'd need more information about the system in order to help debug - but if it's not macOS I can't really help anyways since that's the only one I have access to

@teodorlu
Copy link
Author

teodorlu commented Jan 29, 2022

Aww, this is on Linux, unfortunately. I was guessing ASDF was to blame, but you might be right.

Happy to provide more debug information if that's useful.

Note: ASDF supports MacOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants