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: While trying to resolve module `make-plural` #719

Closed rell1964 closed 7 months ago

rell1964 commented 9 months ago

I've been having this problem for a while and even when I update the library and clean the cache or delete node-module the error always comes back.

While trying to resolve module make-plural from file ../node_modules/i18n-js/dist/import/Pluralization.js, the package /../node_modules/make-plural/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (../node_modules/make-plural/plurals.mjs. Indeed, none of these files exist:

qfdk commented 8 months ago

@rell1964 Hello, Try with this :) https://github.com/fnando/i18n#im-getting-an-error-like-unable-to-resolve-make-plural-from-node-modulesi18n-jsdistimportpluralizationjs