Closed js2me closed 1 year ago
Also, FYI, function t
works correctly
One thing i did locally to resolve this was to replace all usages of process.env.PWD
with process.cwd()
in astro-i18n (the PWD
env var does not exist on Windows).
I'm still hitting rollup errors afterwards when i'm actually trying to build the site (only on windows) but i'm not sure yet if astro-i18n causes that or something else. (fwiw the error does occur in a page generated by it)
Sorry for this, I do not have a windows machine to test this on.
I made the necessary modifications like @FabianLars suggested, didn't know about that method.
I'm closing this, try with astro-i18n@1.6.5
, I'll reopen if you're still having problems.
Hello!
NodeJS: 18.14.0
OS: Windows 11 x64
package.json
astro.config.mjs
Here is output of this command:
I think I missed something from starting guide, anyway hope you helps!