fnando / i18n-js

It's a small library to provide the I18n translations on the Javascript. It comes with Rails support.
MIT License
3.77k stars 520 forks source link

Bug: Failed to load resource node_modules/i18n-js: the server responded with a status of 404 (Not Found) #728

Closed Minhnhat0408 closed 4 months ago

Minhnhat0408 commented 4 months ago

Description

I making a Rails app v7 and i try to use i18n-js v4 with the help of the migration doc https://github.com/fnando/i18n-js/tree/main/MIGRATING_FROM_V3_TO_V4.md. I have set up all according to the doc but somehow when import the 'import { i18n } from "./config/i18n";' in the application.js or any application just import the "i18n-js" module will not work on the web , even in the code editor it detect the library

image

How to reproduce

[Describe what do you expect to happen]

What happened instead

[Describe the actual results]

Software:

Full backtrace

[Paste full backtrace here]