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

Could not find a declaration file for module 'filedirname' #224

Closed
gfortaine opened this issue Jan 18, 2023 · 3 comments
Closed

Could not find a declaration file for module 'filedirname' #224

gfortaine opened this issue Jan 18, 2023 · 3 comments

Comments

@gfortaine
Copy link

gfortaine commented Jan 18, 2023

This bug appears with the following options in tsconfig (TS >= 4.7) :

{
  "compilerOptions": {
    "strict": true,
    "moduleResolution": "nodenext",
    "allowJs": false,
    ...
  }
}

Here is a sample repo to reproduce : https://github.com/gfortaine/filedirname/tree/fix/moduleResolution-nodenext

$ npm install
$ npm run build:bug
@balupton
Copy link
Member

I tried to reproduce this locally but can't.

@balupton
Copy link
Member

Was able to reproduce, details over at
bevry/boundation#158 (comment)

@balupton
Copy link
Member

this should now be resolved with v2.11.0
48958c7#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519

shoutout to my GitHub Sponsors for affording me the time to make this happen

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