Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find package intlify #43

Open
Bouchemel-Nasreddine opened this issue Oct 2, 2023 · 1 comment
Open

Cannot find package intlify #43

Bouchemel-Nasreddine opened this issue Oct 2, 2023 · 1 comment

Comments

@Bouchemel-Nasreddine
Copy link

Hello i was trying to clone the repo to my local computer, but during the installation process I run into a problem saying:

yarn install
yarn install v1.22.19
[1/4] Resolving packages...
success Already up-to-date.
$ nuxt prepare
Nuxi 3.4.3                                                                                                                                                                                             2:30:21 PM

[2:30:22 PM]  ERROR  Cannot find package '/home/website/node_modules/@intlify/unplugin-vue-i18n/node_modules/@intlify/shared/' imported from /home/website/node_modules/@intlify/unplugin-vue-i18n/lib/webpack.mjs
Did you mean to import @intlify/shared/index.js?

  Did you mean to import @intlify/shared/index.js?
  at new NodeError (node:internal/errors:371:5)
  at legacyMainResolve (node:internal/modules/esm/resolve:336:9)
  at packageResolve (node:internal/modules/esm/resolve:917:14)
  at moduleResolve (node:internal/modules/esm/resolve:976:18)
  at defaultResolve (node:internal/modules/esm/resolve:1078:11)
  at ESMLoader.resolve (node:internal/modules/esm/loader:530:30)
  at ESMLoader.getModuleJob (node:internal/modules/esm/loader:251:18)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:79:40)
  at link (node:internal/modules/esm/module_job:78:36)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

NB: I have node version 16.14.0, and yarn version 1.22.19

@frankrousseau
Copy link
Contributor

Hello @Bouchemel-Nasreddine ,

You have to run first the sh fix_npm.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants