Deprecated `tsc` package alongside `typescript` in `package.json`
See original GitHub issueI’m sure this is an npm 101 kind of problem. I can’t seem to compile and always run into uknown compiler option errors
npm i && npm start
up to date, audited 778 packages in 6s
93 packages are looking for funding
run `npm fund` for details
19 low severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
> electron-discord-webapp@1.2.1 start
> tsc && electron-forge start
error TS5023: Unknown compiler option 'allowJs'.
error TS5023: Unknown compiler option 'baseUrl'.
error TS5023: Unknown compiler option 'moduleResolution'.
error TS5023: Unknown compiler option 'pretty'.
error TS5023: Unknown compiler option 'paths'.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
The `tsc` package is now deprecated · Issue #16 - GitHub
The tsc NPM package description page indicates that the package is now deprecated and includes instructions to make use of ntypescript.
Read more >Error running a 'npx tsc' command regarding Typescript
The problem is that npx doesn't know where to find the right tsc command. It first looks for a package named tsc ....
Read more >Documentation - Module Resolution - TypeScript
Module resolution is the process the compiler uses to figure out what an import refers to. Consider an import statement like import {...
Read more >tsc - npm
A deprecated release of the TypeScript compiler. Latest version: 2.0.4, last published: a year ago. Start using tsc in your project by ...
Read more >A Complete Guide to Using TypeScript in Node.js - Better Stack
It's better to install TypeScript locally to register the installed version in your package.json file to ensures that everyone who clones your project...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also there’s a Discussions tab, you may want to ask there for any questions about my app. I preffer an issues to be a bug tracker or feature request list, I would like to see questions not associated with any application bugs on the Discussions tab next time.
I believe it was an actual bug these days, when WebCord had both
tsc
andtypescript
in itspackage.json
(wheretypescript
replacestsc
andtsc
package was deprecated and should not be used/installed). Just to make things clean, I’ve updated the flags and a comment, even when this issue was old and resolved for a long time.