Open salloom-domani opened 1 year ago
Describe the bug
[ERROR] Could not resolve "module" and a bunch of other node related errors - all of them complaining about the inability to resolve some module - but what was interesting that there was the same error caused by fs backend something like this :
Code: 10 | import 'i18next-fs-backend'; > 11 | import 'module'; | ^ 12 | import 'path'; 13 | import 'url'; 14 | import '@proload/core';
but after disabling it from the config now the error became like this:
Code: 10 | import 'i18next'; > 11 | import 'module'; | ^ 12 | import 'path'; 13 | import 'url'; 14 | import '@proload/core';
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the project will build successfully.
Screenshots
there're no screenshots.
Context:
astro-i18next
@astrojs/cloudflare
astro
Add any other context about the problem here.
Possible fixes
here's a minimal reproducible code on stack blitz
Couple Notes I'm able to run the dev server but not build it
Describe the bug
[ERROR] Could not resolve "module" and a bunch of other node related errors - all of them complaining about the inability to resolve some module - but what was interesting that there was the same error caused by fs backend something like this :
but after disabling it from the config now the error became like this:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the project will build successfully.
Screenshots
there're no screenshots.
Context:
astro-i18next
version: 1.0.0-beta.21@astrojs/cloudflare
version : 6.2.2astro
version: 2.3.0Add any other context about the problem here.
Possible fixes
here's a minimal reproducible code on stack blitz
Couple Notes I'm able to run the dev server but not build it