Git Product home page Git Product logo

Comments (2)

rvanasa avatar rvanasa commented on August 25, 2024 1

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.

tomijaga avatar tomijaga commented on August 25, 2024 1

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)

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.