Skip to content

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

Open
@jeremy-kothe

Description

@jeremy-kothe
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions