typescript-starter icon indicating copy to clipboard operation
typescript-starter copied to clipboard

error TS2307: Cannot find module './lib/hash' or its corresponding type declarations.

Open jeremy-kothe opened this issue 5 years ago • 1 comments

  • I'm submitting a ... [X] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project

  • Summary

ran npx typescript-starter, no customisation just a trivial name and description, npm run build gives:

src/index.ts:2:15 - error TS2307: Cannot find module './lib/hash' or its corresponding type declarations.

2 export * from './lib/hash';

  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

npx typescript-starter --version npx: installed 255 in 14.208s 3.1.2

npm --version 6.14.5

node --version v14.5.0

jeremy-kothe avatar Sep 18 '20 09:09 jeremy-kothe

Getting this too.

npx typescript-starter --version
3.1.2

$ npm --version
7.7.4

$ node --version
v14.16.0

chinhdo avatar Mar 25 '21 02:03 chinhdo