-
Notifications
You must be signed in to change notification settings - Fork 62
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
Upgrading from 1.12.9 to 1.12.14: compatibility issues in Nuxt/TypeScript & "config" package #56
Comments
Hi @INRIX-Iurii-Okhmat. Thanks for issue and reprotuction. I've added a hotfix as jiti@1.12.15 which you can get by recreating lockfile. However, please consider that config npm package does not support typescript (for files in Details: Interestingly your setup was working before because jiti was wrongly transpiling
|
I've got a Nuxt app that uses "config" (https://www.npmjs.com/package/config) module. Config files are ".ts". Config is imported in
nuxt.config.ts
to get environment-specific configuration.Everything was working fine with v1.12.9, upgrading to v1.12.14 produces the following error.
You can find a sample project here: https://github.com/INRIX-Iurii-Okhmat/jiti-config-issue-repro
It has a package-lock with latest (1.12.14) version: https://github.com/INRIX-Iurii-Okhmat/jiti-config-issue-repro/blob/933dc181f81c4fa21f97eabc3479c69ac27445f7/package-lock.json#L6112
Downgrading to 1.12.9 fixes the issue
NodeJS: v12.
Nuxt version: 2.15.7
The text was updated successfully, but these errors were encountered: