Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maciejChmuraCodete/697005943474e09599ced29e2836861b to your computer and use it in GitHub Desktop.
Save maciejChmuraCodete/697005943474e09599ced29e2836861b to your computer and use it in GitHub Desktop.
npm run dev
npm run dev
> @ dev /Users/codete/dev/extension
> yarn && yarn start:browser
yarn install v1.22.11
[1/4] 🔍 Resolving packages...
success Already up-to-date.
$ lerna run prepare
lerna info version 2.4.0
hello: > hello@0.0.0 prepare /Users/codete/dev/extension/hello
hello: > yarn run clean && yarn run build
hello: yarn run v1.22.11
hello: warning package.json: No license field
hello: $ rimraf lib
hello: Done in 0.15s.
hello: yarn run v1.22.11
hello: warning package.json: No license field
hello: $ tsc
hello: ../node_modules/@theia/core/src/common/event.ts(333,20): error TS2790: The operand of a 'delete' operator must be optional.
hello: ../node_modules/@theia/core/src/common/event.ts(393,24): error TS2790: The operand of a 'delete' operator must be optional.
hello: ../node_modules/@theia/core/src/common/messaging/proxy-factory.ts(243,29): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
hello: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
hello: error Command failed with exit code 2.
hello: npm ERR! code ELIFECYCLE
hello: npm ERR! errno 2
hello: npm ERR! hello@0.0.0 prepare: `yarn run clean && yarn run build`
hello: npm ERR! Exit status 2
hello: npm ERR!
hello: npm ERR! Failed at the hello@0.0.0 prepare script.
hello: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
hello: npm ERR! A complete log of this run can be found in:
hello: npm ERR! /Users/codete/.npm/_logs/2021-09-01T09_23_00_410Z-debug.log
lerna ERR! execute callback with error
lerna ERR! Error: Command failed: npm run prepare
lerna ERR! warning package.json: No license field
lerna ERR! warning package.json: No license field
lerna ERR! error Command failed with exit code 2.
lerna ERR! npm ERR! code ELIFECYCLE
lerna ERR! npm ERR! errno 2
lerna ERR! npm ERR! hello@0.0.0 prepare: `yarn run clean && yarn run build`
lerna ERR! npm ERR! Exit status 2
lerna ERR! npm ERR!
lerna ERR! npm ERR! Failed at the hello@0.0.0 prepare script.
lerna ERR! npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
lerna ERR!
lerna ERR! npm ERR! A complete log of this run can be found in:
lerna ERR! npm ERR! /Users/codete/.npm/_logs/2021-09-01T09_23_00_410Z-debug.log
lerna ERR!
lerna ERR!
lerna ERR! > hello@0.0.0 prepare /Users/codete/dev/extension/hello
lerna ERR! > yarn run clean && yarn run build
lerna ERR!
lerna ERR! yarn run v1.22.11
lerna ERR! $ rimraf lib
lerna ERR! Done in 0.15s.
lerna ERR! yarn run v1.22.11
lerna ERR! $ tsc
lerna ERR! ../node_modules/@theia/core/src/common/event.ts(333,20): error TS2790: The operand of a 'delete' operator must be optional.
lerna ERR! ../node_modules/@theia/core/src/common/event.ts(393,24): error TS2790: The operand of a 'delete' operator must be optional.
lerna ERR! ../node_modules/@theia/core/src/common/messaging/proxy-factory.ts(243,29): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
lerna ERR! info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR!
lerna ERR! at /Users/codete/dev/extension/node_modules/execa/index.js:236:11
(node:2178) UnhandledPromiseRejectionWarning: Error: Command failed: npm run prepare
warning package.json: No license field
warning package.json: No license field
error Command failed with exit code 2.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! hello@0.0.0 prepare: `yarn run clean && yarn run build`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the hello@0.0.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/codete/.npm/_logs/2021-09-01T09_23_00_410Z-debug.log
> hello@0.0.0 prepare /Users/codete/dev/extension/hello
> yarn run clean && yarn run build
yarn run v1.22.11
$ rimraf lib
Done in 0.15s.
yarn run v1.22.11
$ tsc
../node_modules/@theia/core/src/common/event.ts(333,20): error TS2790: The operand of a 'delete' operator must be optional.
../node_modules/@theia/core/src/common/event.ts(393,24): error TS2790: The operand of a 'delete' operator must be optional.
../node_modules/@theia/core/src/common/messaging/proxy-factory.ts(243,29): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
at /Users/codete/dev/extension/node_modules/execa/index.js:236:11
at processTicksAndRejections (internal/process/task_queues.js:94:5)
(node:2178) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
(node:2178) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `yarn && yarn start:browser`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/codete/.npm/_logs/2021-09-01T09_23_00_490Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment