Getting a weird error in extension

electron-app: WARNING in ../node_modules/typescript-language-server/lib/commands.js
electron-app: Module Warning (from ../node_modules/source-map-loader/index.js):
electron-app: (Emitted value instead of an instance of Error) Cannot find source file '../src/commands.ts': Error: Can't resolve '../src/commands.ts' in '/home/karthik/WebstormProjects/theia-integration/node_modules/typescript-language-server/lib'
electron-app:  @ ../node_modules/@theia/typescript/lib/browser/typescript-frontend-contribution.js 93:17-67
electron-app:  @ ../node_modules/@theia/typescript/lib/browser/typescript-frontend-module.js
electron-app:  @ ./src-gen/frontend/index.js



browser-app: Entrypoint main = bundle.js bundle.js.map
browser-app: [../theia-extension/lib/browser/theia-extension-contribution.js] 2.51 KiB {38} [built]
browser-app: [../theia-extension/lib/browser/theia-extension-frontend-module.js] 581 bytes {38} [built]
browser-app: [../node_modules/@theia/core/src/common/keyboard/layouts sync recursive ^\.\/.*\.json$] ../node_modules/@theia/core/src/common/keyboard/layouts sync ^\.\/.*\.json$ 1.39 KiB {main} [built]
browser-app: [../node_modules/moment/locale sync recursive ^\.\/.*$] ../node_modules/moment/locale sync ^\.\/.*$ 3 KiB {35} {36} {37} {41} {42} {43} {44} {45} {46} {47} {48} [optional] [built]
browser-app: [../node_modules/vscode-textmate/release sync recursive] ../node_modules/vscode-textmate/release sync 160 bytes {35} {36} {37} [built]
browser-app: [./src-gen/frontend/index.js] 4 KiB {main} [built]
browser-app:     + 1452 hidden modules
browser-app: WARNING in ../node_modules/vscode-textmate/release/main.js 23:15-27
browser-app: Critical dependency: the request of a dependency is an expression
browser-app:  @ ../node_modules/@theia/monaco/lib/browser/textmate/monaco-textmate-service.js
browser-app:  @ ../node_modules/@theia/monaco/lib/browser/textmate/index.js
browser-app:  @ ../node_modules/@theia/textmate-grammars/lib/browser/js.js
browser-app:  @ ../node_modules/@theia/textmate-grammars/lib/browser/textmate-grammars-frontend-module.js
browser-app:  @ ./src-gen/frontend/index.js
browser-app: WARNING in ../node_modules/vscode-textmate/release/main.js
browser-app: Module Warning (from ../node_modules/source-map-loader/index.js):
browser-app: (Emitted value instead of an instance of Error) Cannot find SourceMap 'main.js.map': Error: Can't resolve './main.js.map' in '/home/karthik/WebstormProjects/theia-integration/node_modules/vscode-textmate/release'
browser-app:  @ ../node_modules/@theia/monaco/lib/browser/textmate/monaco-textmate-service.js 73:24-50
browser-app:  @ ../node_modules/@theia/monaco/lib/browser/textmate/index.js
browser-app:  @ ../node_modules/@theia/textmate-grammars/lib/browser/js.js
browser-app:  @ ../node_modules/@theia/textmate-grammars/lib/browser/textmate-grammars-frontend-module.js
browser-app:  @ ./src-gen/frontend/index.js
browser-app: WARNING in ../node_modules/typescript-language-server/lib/commands.js
browser-app: Module Warning (from ../node_modules/source-map-loader/index.js):
browser-app: (Emitted value instead of an instance of Error) Cannot find source file '../src/commands.ts': Error: Can't resolve '../src/commands.ts' in '/home/karthik/WebstormProjects/theia-integration/node_modules/typescript-language-server/lib'
browser-app:  @ ../node_modules/@theia/typescript/lib/browser/typescript-frontend-contribution.js 93:17-67
browser-app:  @ ../node_modules/@theia/typescript/lib/browser/typescript-frontend-module.js
browser-app:  @ ./src-gen/frontend/index.js

[original thread by Karthik Bhat K]

[Karthik Bhat K]

The command I ran is $ yo theia-extension:app

[Karthik Bhat K]

Any help would be appreciated

[Karthik Bhat K]

There’s already an issue for this in github:

@thebuzzycoder does your application successfully generate and build?

[Karthik Bhat K]

@vince-fugnitto Yes