bitjson/typescript-starter

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

jeremy-kothe opened this issue · 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

Getting this too.

npx typescript-starter --version
3.1.2

$ npm --version
7.7.4

$ node --version
v14.16.0