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

bug: ignoring next-env.d.ts file causes issues in CI #2052

Open
FleetAdmiralJakob opened this issue Feb 3, 2025 · 0 comments
Open

bug: ignoring next-env.d.ts file causes issues in CI #2052

FleetAdmiralJakob opened this issue Feb 3, 2025 · 0 comments

Comments

@FleetAdmiralJakob
Copy link

Provide environment information

Here are the specs of my Laptop but they don't help in this case as this is an error in CI because the next-env.d.ts file is not being pushed and lets typechecks fail:

  System:
    OS: macOS 15.1.1
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
    Memory: 67.98 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node
    npm: 10.9.1 - ~/.nvm/versions/node/v20.18.0/bin/npm
    pnpm: 9.15.4 - ~/Library/pnpm/pnpm
    Watchman: 2024.12.02.00 - /usr/local/bin/watchman

Describe the bug

Because next-env.d.ts is not being pushed to the repo it causes issues in CI with the typechecks like these:

Image

https://github.com/orgs/community/discussions/59493

Reproduction repo


To reproduce

Remove the env.d.ts file from your project and try to typecheck it.

Additional information

No response

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

No branches or pull requests

1 participant