Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Updated npm install dependencies #436

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mehmoodz
Copy link

@mehmoodz mehmoodz commented Mar 4, 2022

Reason For Change: Encountered error due to missing doc on installing NPM dependencies

Error :

npm run start

> [email protected] start
> ts-node src/client/main.ts

/opt/homebrew/lib/node_modules/ts-node/src/index.ts:840
    return new TSError(diagnosticText, diagnosticCodes);
           ^
TSError: ⨯ Unable to compile TypeScript:
error TS6053: File '@tsconfig/recommended/tsconfig.json' not found.

    at createTSError (/opt/homebrew/lib/node_modules/ts-node/src/index.ts:840:12)
    at reportTSError (/opt/homebrew/lib/node_modules/ts-node/src/index.ts:844:19)
    at create (/opt/homebrew/lib/node_modules/ts-node/src/index.ts:855:36)
    at register (/opt/homebrew/lib/node_modules/ts-node/src/index.ts:563:15)
    at main (/opt/homebrew/lib/node_modules/ts-node/src/bin.ts:281:27)
    at Object.<anonymous> (/opt/homebrew/lib/node_modules/ts-node/src/bin.ts:539:3)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
  diagnosticCodes: [ 6053 ]
}

Fix:
npm install --save-dev @tsconfig/recommended

Reason For Change: Encountered error due to missing doc on installing NPM dependencies

Error : 
```
npm run start

> [email protected] start
> ts-node src/client/main.ts

/opt/homebrew/lib/node_modules/ts-node/src/index.ts:840
    return new TSError(diagnosticText, diagnosticCodes);
           ^
TSError: ⨯ Unable to compile TypeScript:
error TS6053: File '@tsconfig/recommended/tsconfig.json' not found.

    at createTSError (/opt/homebrew/lib/node_modules/ts-node/src/index.ts:840:12)
    at reportTSError (/opt/homebrew/lib/node_modules/ts-node/src/index.ts:844:19)
    at create (/opt/homebrew/lib/node_modules/ts-node/src/index.ts:855:36)
    at register (/opt/homebrew/lib/node_modules/ts-node/src/index.ts:563:15)
    at main (/opt/homebrew/lib/node_modules/ts-node/src/bin.ts:281:27)
    at Object.<anonymous> (/opt/homebrew/lib/node_modules/ts-node/src/bin.ts:539:3)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
  diagnosticCodes: [ 6053 ]
}
```

Fix:
npm install --save-dev @tsconfig/recommended
@gitpod-io
Copy link

gitpod-io bot commented Mar 4, 2022

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

Successfully merging this pull request may close these issues.

1 participant