Skip to content

Error during install with cli #7369

@FrancescoBortolottoTC

Description

@FrancescoBortolottoTC

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions