nuxtrdev / nuxtr-vscode

An extension offering commands and tools to make your experience with Nuxt more pleasant.
https://marketplace.visualstudio.com/items?itemName=Nuxtr.nuxtr-vscode
338 stars 13 forks source link

[Bug]: No Sidebar / Command #47

Closed irvandikky closed 1 year ago

irvandikky commented 1 year ago

Environment

Nuxi 3.6.5

VSCode

What went wrong?

Hello I'm already install Nuxtr on my Vscode but there is no sidebar / command in pallete commands image image

How to reproduce it?

Install Nuxtr on Vs Code Extension Marketplace

adhamfarrag commented 1 year ago

Hey @irvandikky, just tried on a Windows 11 VM and seems working to me.

  1. Is Nuxt project in the root dir ? if not, are you using "nuxtr.monorepoMode.DirectoryName": "directory-name" setting:

  2. Can you share console logs from VSCode ?

Also, thanks for mentioning VSCode config. Will add it to the issue template.

irvandikky commented 1 year ago
  1. Yes in the root dir.
  2. No logs from vscode from the start i open vscode

image

adhamfarrag commented 1 year ago

This is output channel. Console logs can be found from Help > Toggle Developer Tools

2023-09-17 at 22 54 11@2x
irvandikky commented 1 year ago

Sorry here is the log image

adhamfarrag commented 1 year ago

From the logs showing up. This is a remote server, right ?

irvandikky commented 1 year ago

I'm not using remote server. This project & vscode on my local machine

adhamfarrag commented 1 year ago

Ok, my bad. Can you close VSCode, and try testing the extension with a fresh Nuxt app and make sure dependencies are installed ?

irvandikky commented 1 year ago

Working fine with the fresh nuxt App. image

~~I think it's workspace / terminal primary folder (project) problem. I use git bash Nuxt App must be primary folder (project). I change my old project and use as primary folder / terminal path it's working fine~~

Edited: Sorry not working on my old project. The sidebar was show up but it show error maybe the problem in my project image

adhamfarrag commented 1 year ago

Thanks for doing this test. It rarely happens but I should debug this case more. But quick solution should be removing yarn.lock, dependencies and reinstalling packages.

irvandikky commented 1 year ago

Removing yarn.lock with reinstall and reopen vscode working fine

adhamfarrag commented 1 year ago

Glad to know! Please, share with us any idea or feedback if this is your first time using Nuxtr. :)