[2.9.0] - Crash pipeline cannot find module 'typescript'
See original GitHub issueDescribe the bug Crash on Node projects without typescript
To Reproduce Just use 2.9.0 without typescript installed as peer dependency.
import { Trans } from "@lingui/react"
export default function App() {
return <Trans>This should be translated!</Trans>
}
Expected behavior Not crash, should be built or something like that.
- jsLingui version: 2.9.0
What’s the reason to put typescript as peer dependecy, when a lot of projects don’t need typescript for anything. Shouldn’t be built before publish the package? In plain Javascript will work for all the projects.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:12 (9 by maintainers)
Top Results From Across the Web
How to fix Cannot find module 'typescript' in Angular 4?
3. Hi @Sajeetharan I have installed it globall using your command above. · 1. try to uninstall angular-cli globally, run npm cache clean...
Read more >Changelog | Meteor API Docs
The typescript npm package has been updated to version 3.8.3. To pass Node command line flags to the server node instance, now it...
Read more >Cannot find module 'typescript' Error in TS | bobbyhadz
To solve the cannot find module 'typescript' error, make sure to install typescript globally by running the npm i -g typescript command and...
Read more >Changelog - JavaScript Standard Style
This pre-release exists to test out the ESLint 8 related changes and discover possible backwards incompatible changes that comes with it and mitigate...
Read more >Typescript Can't Find Module Less - ADocLib
Here part of webpack.config.js file Error can't find module when using less-loader and ... [2.9.0] - Crash pipeline cannot find module 'typescript' #599....
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 Free
Top 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
😎I have an idea how to handle it in 3 lines of code…
Hello,
any progress on fixing this? Can you update documentation to say that typescript is now required in a minor bump?
Thank you