Comments (2)
Thanks for opening this issue!
What happens if you run npm i -g ic-mops
and then restart the Motoko language server? I changed this behavior for security reasons (since it might be concerning if the extension silently installed a third-party npm package without confirmation).
I'm planning to revisit this in the near future by bundling MOPS with the extension (or adding a prompt to install the latest version). Let me know if the short-term solution mentioned above works for you; otherwise I'll do my best to implement this today.
from vscode-motoko.
Thank you for your response, @rvanasa.
I had already installed the mops CLI globally on my system and attempted to reinstall it and restart the language server multiple times before creating the issue. After some time, I reopened the VSCode app and the issue was resolved.
I agree with the decision to change the behaviour due to security concerns, and think that the solution of detecting the mops CLI or adding a prompt to install the latest version of mops is a good approach, as it ensures the CLI version used is the one expected by the user.
from vscode-motoko.
Related Issues (20)
- 100% CPU load with this extension HOT 10
- Do you support showing an outline? HOT 1
- performance improvements HOT 8
- extension don't see mops packages HOT 8
- multi line strings HOT 2
- extension does not recognize canister alias when project is in subdirectory HOT 5
- keyword `catch` is not highlighted HOT 1
- [Request] Please add option to disable context menu "Motoko: Deploy (20 Minutes)" HOT 2
- How to disable autoformating of comments? HOT 3
- Import can't find files HOT 9
- Continuous "Reference not found from AST node:" errors HOT 5
- Motoko deploy command ERROR HOT 2
- No wigglies on https://github.dev HOT 2
- No wigglies on https://github.dev HOT 1
- management canister did file not found HOT 7
- Language server not working/Heap out of memory HOT 8
- Error while importing a canister HOT 19
- Cannot find module '@napi-rs/lzma-linux-x64-gnu' in WSL HOT 2
- Autocomplete non-functional. HOT 2
- Feature Request: Data type on variable hover HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-motoko.