You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just follow the readme and test on a windows device in a library using webpack.
But I just run the script: "typesafe-i18n": "typesafe-i18n",
Logs
npm run typesafe-i18n
> typesafe-i18n_react-demo@1.0.0 typesafe-i18n
> typesafe-i18n
[typesafe-i18n] generating files for TypeScript version: '4.4.x'
1\en\index.js Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
[typesafe-i18n] ERROR: could not read default export from language file 'en'[typesafe-i18n] generated file: i18n-types.ts[typesafe-i18n] ... all files are up to date
[typesafe-i18n] files were modified => looking for changes ...
[typesafe-i18n] ERROR: import failed for C:\PATH\node_modules\typesafe-i18n\temp-output\12\en\index.js Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
[typesafe-i18n] ERROR: could not read default export from language file 'en'[typesafe-i18n] ... all files are up to date
Describe the bug
Hi,
I have a bug.
typesafe-i18n cannot find a path .
Thanks
Reproduction
I just follow the readme and test on a windows device in a library using webpack.
But I just run the script: "typesafe-i18n": "typesafe-i18n",
Logs
Config
Additional information
No response
The text was updated successfully, but these errors were encountered: