Typescript dependencies not found
See original GitHub issueAs you can see in https://github.com/infinitered/solidarity/pull/202, if the host app doesn’t pull in @types/cli-table2
(and friends), TypeScript won’t be able to find them when trying to compile the app. This isn’t a great experience.
Our options:
- Ship those dependencies as
dependencies
notdevDependencies
- Copy those types into our own types
- Require host apps to manually bring in types in their own devDependencies
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
This dependency was not found - TypeScript, Vue
I am new to TS and Vue. Getting following error when trying to do vue-cli-service serve: This dependency was not found: * @store ......
Read more >This dependency was not found when using typescript · Issue #4
I ran the command in example folder but I got an error. screenshot_5. However, The following tip does not work for me.
Read more >Common TypeScript module problems and how to solve them
Problem 1: Irregular location of dependencies ; node_modules in the ; src directory even though ; node_modules is located outside the ; src ......
Read more >Dependency not found - Get Help - Vue Forum
Hi There, I'm new to Vue, I have added a package to my project, it appears in the package. json and in the...
Read more >TypeScript not finding types in transitive dependencies
please try un-excluding node_modules/rc-tree folder, then add "types": "./es/index.d.ts", to node_modules/rc-tree/package.json and re-open the project - does it ...
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
We can also add them into the new TypeScript CLI boilerplate.
Yeah although that’s a good thing. I guess I would lean more towards a line in the README for TypeScript users.