Comments (7)
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:
- extension name
- extension type (hello-world or widget)
from generator-theia-extension.
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.
@akashgoswami what were the reproduction steps? you performed yarn
on the repository?
from generator-theia-extension.
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.
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 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.
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)
- [backend] The backend example is not connection scoped HOT 2
- tree: fix `tree-editor` template
- ci: bump node version
- Require Node 14 before generating templates
- tree-editor: build failures HOT 1
- widget does not position in the default area HOT 2
- Error: Command failed: npm run prepare HOT 7
- errors: there are a number of build errors during CI HOT 2
- Generated electron-app does not work anymore
- widget menu click error HOT 4
- Scaffolding start error HOT 5
- Error when starting Theia (hello world template) HOT 3
- Watch breaks application start HOT 4
- Need for a theia clean or build:clean HOT 3
- `-4058 scandir ENOENT` error occurred when creating the `TreeEditor` extension HOT 8
- run "yo theia-extension" Error theia-extension HOT 8
- generator-theia-extension fails on all generators HOT 1
- Error when starting theia-extension template
- Can't start browser after starting electron HOT 7
- Electron app error about HOT 7
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 generator-theia-extension.