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

Error during install with cli #7369

Open
FrancescoBortolottoTC opened this issue Dec 24, 2024 · 5 comments
Open

Error during install with cli #7369

FrancescoBortolottoTC opened this issue Dec 24, 2024 · 5 comments

Comments

@FrancescoBortolottoTC
Copy link

Hi,
i'm trying to installa vue-storefront with this command:
npx @vue-storefront/cli generate store

But i have the error:
node:internal/modules/cjs/loader:1031
throw err;
^

Error: Cannot find module '../dist/infrastructures/i18next'
Require stack:

  • /home/francesco/.npm/_npx/2af4553272673347/node_modules/@vue-storefront/cli/bin/run
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
    at Function.Module._load (node:internal/modules/cjs/loader:873:27)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object. (/home/francesco/.npm/_npx/2af4553272673347/node_modules/@vue-storefront/cli/bin/run:5:26)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/home/francesco/.npm/_npx/2af4553272673347/node_modules/@vue-storefront/cli/bin/run'
    ]
    }

Actual Configuration:
node: v16.20.2
npm: 8.19.24
yarn: 1.22.22

@PostnikovAlex
Copy link

I have the same error. Node version v16.20.2

@lachlan-connell-aligent

I also have the same error, have tried using node version v20.18.1 & also v22.11.0

@chandrasekharpatra
Copy link

I got the same error as well. Not sure what's the fix.

@chandrasekharpatra
Copy link

Seems the issue is in latest version of the cli. Till that is fixed you can use npx @vue-storefront/[email protected] generate store

@TargiX
Copy link

TargiX commented Jan 5, 2025

Is project is dead? How it is possible that latest version not working for a weeks for everyone, and even no any maintainer come up with any notice? I've considered to use it in my projects, but it feels a bit weird that they just completely ignoring the issue

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

5 participants