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:
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 amain
module field that could not be resolved (../node_modules/make-plural/plurals.mjs
. Indeed, none of these files exist: