You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
I am trying to pack my hello world theia plugin to see how to ship a theia plugin once developed and I am seeing these errors with the scaffold-ed code
`13:44 $ yo @theia/plugin
_-----_
| | ╭──────────────────────────╮
|--(o)--| │ Welcome to the 'Theia │
? What is the plug-in's name? test-plugin
? What type of plug-in do you want? Backend plug-in, it will run on the server side.
? Please, choose a template: Samples
? Please, choose the sample: Quick Pick sample
License is not specified. You can do it via --license parameter.
create test-plugin/package.json
create test-plugin/.gitignore
create test-plugin/README.md
create test-plugin/tsconfig.json
create test-plugin/tsfmt.json
create test-plugin/src/test-plugin-backend.ts
Installing dependencies with yarn...
yarn install v1.22.10
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
success Saved lockfile.
$ yarn run clean && yarn run build
yarn run v1.22.10
$ rimraf lib
Done in 0.15s.
yarn run v1.22.10
$ yarn run format-code && yarn run compile && theia-plugin pack
$ tsfmt -r
replaced /Users/aswarnam/workspace/theia/test-plugin/src/test-plugin-backend.ts
$ tsc
../node_modules/dom-serializer/lib/index.d.ts(1,13): error TS1005: '=' expected.
../node_modules/dom-serializer/lib/index.d.ts(1,27): error TS1005: ';' expected.
../node_modules/domutils/lib/helpers.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/helpers.d.ts(1,27): error TS1005: ';' expected.
../node_modules/domutils/lib/legacy.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/legacy.d.ts(1,36): error TS1005: ';' expected.
../node_modules/domutils/lib/manipulation.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/manipulation.d.ts(1,36): error TS1005: ';' expected.
../node_modules/domutils/lib/querying.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/querying.d.ts(1,36): error TS1005: ';' expected.
../node_modules/domutils/lib/stringify.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/stringify.d.ts(1,27): error TS1005: ';' expected.
../node_modules/domutils/lib/tagtypes.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/tagtypes.d.ts(1,64): error TS1005: ';' expected.
../node_modules/domutils/lib/traversal.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/traversal.d.ts(1,54): error TS1005: ';' expected.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
`
Not sure what should I be doing to pack and ship a theia plugin.
The text was updated successfully, but these errors were encountered:
I figured to pack a theia plugin by executing yarn theia-plugin pack from inside the plug in folder. Also, I was always able to run this plugin in the hosted mode.
Not sure why the above error shows up on $ tsc and if the above error is something that needs to be looked into.
I am trying to pack my hello world theia plugin to see how to ship a theia plugin once developed and I am seeing these errors with the scaffold-ed code
`13:44 $ yo @theia/plugin
---------´ │ Plug-in' generator! │ ( _´U
_ ) ╰──────────────────────────╯/A\ /
| ~ |
'..'_
´
|° ´ Y
? What is the plug-in's name? test-plugin
? What type of plug-in do you want? Backend plug-in, it will run on the server side.
? Please, choose a template: Samples
? Please, choose the sample: Quick Pick sample
License is not specified. You can do it via --license parameter.
create test-plugin/package.json
create test-plugin/.gitignore
create test-plugin/README.md
create test-plugin/tsconfig.json
create test-plugin/tsfmt.json
create test-plugin/src/test-plugin-backend.ts
Installing dependencies with yarn...
yarn install v1.22.10
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
success Saved lockfile.
$ yarn run clean && yarn run build
yarn run v1.22.10
$ rimraf lib
Done in 0.15s.
yarn run v1.22.10
$ yarn run format-code && yarn run compile && theia-plugin pack
$ tsfmt -r
replaced /Users/aswarnam/workspace/theia/test-plugin/src/test-plugin-backend.ts
$ tsc
../node_modules/dom-serializer/lib/index.d.ts(1,13): error TS1005: '=' expected.
../node_modules/dom-serializer/lib/index.d.ts(1,27): error TS1005: ';' expected.
../node_modules/domutils/lib/helpers.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/helpers.d.ts(1,27): error TS1005: ';' expected.
../node_modules/domutils/lib/legacy.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/legacy.d.ts(1,36): error TS1005: ';' expected.
../node_modules/domutils/lib/manipulation.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/manipulation.d.ts(1,36): error TS1005: ';' expected.
../node_modules/domutils/lib/querying.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/querying.d.ts(1,36): error TS1005: ';' expected.
../node_modules/domutils/lib/stringify.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/stringify.d.ts(1,27): error TS1005: ';' expected.
../node_modules/domutils/lib/tagtypes.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/tagtypes.d.ts(1,64): error TS1005: ';' expected.
../node_modules/domutils/lib/traversal.d.ts(1,13): error TS1005: '=' expected.
../node_modules/domutils/lib/traversal.d.ts(1,54): error TS1005: ';' expected.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
`
Not sure what should I be doing to pack and ship a theia plugin.
The text was updated successfully, but these errors were encountered: