Git Product home page Git Product logo

Comments (7)

vince-fugnitto avatar vince-fugnitto commented on June 18, 2024 1

If I follow the wizard for the generation everything works correctly, example:

$ npm install -g yo generator-theia-extension
$ mkdir ~/a && cd ~/a
$ yo theia-extension

And follow the prompts for:

  1. extension name
  2. extension type (hello-world or widget)

from generator-theia-extension.

akashgoswami avatar akashgoswami commented on June 18, 2024

The file theia-hello-world-extension/hello-world-extension/tsconfig.json indeed has an src folder as input but there is no src directory as such.

from generator-theia-extension.

vince-fugnitto avatar vince-fugnitto commented on June 18, 2024

@akashgoswami what were the reproduction steps? you performed yarn on the repository?

from generator-theia-extension.

akashgoswami avatar akashgoswami commented on June 18, 2024

Hi vince,

This is weird, if I don't pass the name it works.
If I pass the name as shown in the documentation of theia, it breaks.

Could you please confirm with passing names?

from generator-theia-extension.

vince-fugnitto avatar vince-fugnitto commented on June 18, 2024

This is weird, if I don't pass the name it works.

We likely need more error handling if a user provides a name directly to the generator, thank you!

If I pass the name as shown in the documentation of theia, it breaks.

@akashgoswami do you mind sharing a link to the documentation you're referring to?

from generator-theia-extension.

akashgoswami avatar akashgoswami commented on June 18, 2024

@akashgoswami do you mind sharing a link to the documentation you're referring to?

sorry missed that. Here it is
https://www.theia-ide.org/doc/Authoring_Extensions.html

from generator-theia-extension.

drochgenius avatar drochgenius commented on June 18, 2024

I am facing the same issue. Looks like the yo generator does not create the source files for the extension. As a result, tsc complains it has no code to build.

from generator-theia-extension.

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.