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

Problem running npm install #1

Open
eduardoxy opened this issue Aug 10, 2021 · 3 comments
Open

Problem running npm install #1

eduardoxy opened this issue Aug 10, 2021 · 3 comments

Comments

@eduardoxy
Copy link

Hi dear friend!

I am trying to use your package to enable vba auto complete inside VS Code.
I've already installed xvba package from vs code store, but when I'm trying to run "npm install" inside project folder the following error is raised:

How could I solve this?
Best regards
image

@lundeen-bryan
Copy link

lundeen-bryan commented Dec 26, 2021

Same exact error I had.
Windows 10
NPM version 6.14.4

Successfully installed Extension XVBA - Live Server VBA v4.0.20
Successfully installed Extension XVBA - Ribbon Menu

Successfully ran < npm i @localsmart/xvba-cli@latest --save-dev > in command line.
Successfully ran < npx xvba install excel-types > in command line.

However, this did not cause XVBA to show snippets so I am using my own custom snippets.

@jrmoynihan
Copy link

jrmoynihan commented Jan 19, 2022

I can't even get this line to run properly:
npm i @localsmart/xvba-cli@latest --save-dev

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/excel-types - Not found
npm ERR! 404
npm ERR! 404  '[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it 
(or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a   
npm ERR! 404 tarball, folder, http url, or git url.  

npm ERR! A complete log of this run can be found in: 
npm ERR!     C:\Users\Documents

Pretty sure this repo needs a package.json file.

Would really love to use this extension. It seems like a great developer experience improvement.

@lundeen-bryan
Copy link

vba autocomplete doesn't seem to work in his project because he doesn't have code in the ".vscode" folder. Its in other folders and I'm not sure exactly how it's supposed to import. So the solution is to write your own custom code snippets for your vba project and save it in the ".vscode" folder of the project.

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