Git Product home page Git Product logo

vscode-supabase-cli's People

Contributors

anas-araid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gmh5225

vscode-supabase-cli's Issues

Cannot load extension: missing dependencies

Hey,

I found your extension via the recent Launch Week Hackathon, and it looks really useful.

Unfortunately, it doesn't seem to install properly. I tried installing it via the VS Code marketplace, but it fails when trying to load:

2024-02-22 09:49:01.186 [error] Activating extension anasaraid.vscode-supabase-cli failed due to an error:
2024-02-22 09:49:01.186 [error] Error: Cannot find module 'axios'

Apparently it requires an additional NodeJS module? Should it not be shipping with that?

It seems the issue can be fixed by manually entering the installed extension's directory and running npm run install:all, but that seems a little bit ridiculous.

For anyone else with this problem looking for a quick fix, on Windows, the incantations are:

# npm install --global yarn
cd $env:userprofile\.vscode\extensions\anasaraid.vscode-supabase-cli-*
npm run install:all

No Windows support?

After installing the extension on Windows, I noticed that it does not appear to run correctly. For example, if I press Ctrl+Shift+P and run "Run supabase db reset command", nothing happens and this error appears in the Extension Host logs:

2024-02-22 10:18:41.459 [error] Error: ENOENT: no such file or directory, lstat '/c:/Users/colin.emonds/Code/foo'
	at lstatSync (node:fs:1670:3)
	at Object.lstatSync (node:electron/js2c/asar_bundle:2:4026)
	at executeCommand (c:\Users\colin.emonds\.vscode\extensions\anasaraid.vscode-supabase-cli-0.0.1\out\utils\exec-command.js:9:40)
	at c:\Users\colin.emonds\.vscode\extensions\anasaraid.vscode-supabase-cli-0.0.1\out\register.js:28:160
	at Generator.next (<anonymous>)
	at c:\Users\colin.emonds\.vscode\extensions\anasaraid.vscode-supabase-cli-0.0.1\out\register.js:8:71
	at new Promise (<anonymous>)
	at __awaiter (c:\Users\colin.emonds\.vscode\extensions\anasaraid.vscode-supabase-cli-0.0.1\out\register.js:4:12)
	at c:\Users\colin.emonds\.vscode\extensions\anasaraid.vscode-supabase-cli-0.0.1\out\register.js:28:72
	at s.h (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:175243)
	at s.$executeContributedCommand (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:176103)
	at d.S (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:147:5520)
        * snip many more lines *

The directory in the error message exists, but the path looks very odd. Is the leading slash intended?

Add to VS Code store

Genuinely awesome work. Is there anything I can do to help you get this on the extensions store? Would love to start using it through there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.