Giter Club home page Giter Club logo

monaco-svelte's People

Contributors

asafamr avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

Forkers

wangjia184

monaco-svelte's Issues

NPM-ify

Hi there,

very important project here given Monaco doesn’t natively support svelte yet (and I don’t see MSFT doing so any time soon).

Are there any plans to make this an NPM package that we can easily embed in our projects?

that would be fantastic but not problems if not.

svelte-language-server v0.14 raises error in web browser

Describe the bug
Using svelte-language-server in web browser.
Version 0.13.9 works fine; if changing to v0.14.0+ it raises an error in web browser. Please check screenshot below

To Reproduce
Source code is here.
Open package.json, find the following line

"svelte-language-server": "^0.13.9",

Replace it with following line

"svelte-language-server": "^0.14.0",

Then npm install and build the project and refresh the index.html, the error raises.

Expected behavior

This error shouldn't occur

Screenshots

image
image

Additional context

This error is most likely caused by circular dependency introduced in v0.14

{
  code: 'CIRCULAR_DEPENDENCY',
  cycle: [
    'node_modules\\svelte-language-server\\dist\\src\\plugins\\typescript\\features\\utils.js',
    'node_modules\\svelte-language-server\\dist\\src\\plugins\\typescript\\ComponentInfoProvider.js',
    'node_modules\\svelte-language-server\\dist\\src\\plugins\\typescript\\features\\utils.js'
  ],
  importer: 'node_modules\\svelte-language-server\\dist\\src\\plugins\\typescript\\features\\utils.js',
  message: 'Circular dependency: node_modules\\svelte-language-server\\dist\\src\\plugins\\typescript\\features\\utils.js -> node_modules\\svelte-language-server\\dist\\src\\plugins\\typescript\\ComponentInfoProvider.js -> node_modules\\svelte-language-server\\dist\\src\\plugins\\typescript\\features\\utils.js',
  toString: [Function (anonymous)]
}

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.