Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jeremy-kothe opened this issue Sep 18, 2020 · 1 comment

Comments

@jeremy-kothe
Copy link

  • 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

@chinhdo
Copy link

chinhdo commented Mar 25, 2021

Getting this too.

npx typescript-starter --version
3.1.2

$ npm --version
7.7.4

$ node --version
v14.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants