bitjson / typescript-starter

Quickly create and configure a new library or Node.js project
https://bitjson.github.io/typescript-starter/
MIT License
3.48k stars 245 forks source link

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

Open jeremy-kothe opened 4 years ago

jeremy-kothe commented 4 years ago

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';

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

npm --version 6.14.5

node --version v14.5.0

chinhdo commented 3 years ago

Getting this too.

npx typescript-starter --version
3.1.2

$ npm --version
7.7.4

$ node --version
v14.16.0