Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generation fails if extension name is given as parameter #41

Closed
jbicker opened this issue Sep 12, 2019 · 2 comments
Closed

Generation fails if extension name is given as parameter #41

jbicker opened this issue Sep 12, 2019 · 2 comments
Assignees
Labels

Comments

@jbicker
Copy link

jbicker commented Sep 12, 2019

If I run i.e. yo theia-extension hello-world then no src folder gets created.
This ends up in an build error.

...
hello-world: $ tsc
hello-world: error TS18003: No inputs were found in config file '/the/path/to/hello-world-extension/hello-world/tsconfig.json'. Specified 'include' paths were '["src"]' and 'exclude' paths were '["lib"]'.
...

Files created with given name parameter (where the 'hello-world' extension should be default):

$ yo theia-extension hello-world
HelloWorld
   create package.json
   create lerna.json
   create .gitignore
   create README.md
   create .vscode/launch.json
   create hello-world/package.json
   create hello-world/tsconfig.json
   create browser-app/package.json
   create electron-app/package.json

vs. Files created without the name parameter and explicitly chosen extension kind:

$ yo theia-extension
? The extension's name hello-world
? The extension's type hello-world
HelloWorld
   create package.json
   create lerna.json
   create .gitignore
   create README.md
   create .vscode/launch.json
   create hello-world/package.json
   create hello-world/tsconfig.json
   create hello-world/src/browser/hello-world-frontend-module.ts
   create hello-world/src/browser/hello-world-contribution.ts
   create browser-app/package.json
   create electron-app/package.json
@vince-fugnitto
Copy link
Member

@jbicker I believe it's fixed by #39.
The only thing is we have yet to publish a new version of the generator.

@akosyakov akosyakov self-assigned this Oct 2, 2019
@akosyakov akosyakov added the bug label Oct 2, 2019
@akosyakov
Copy link
Member

published 0.1.15 with a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants