We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ModuleLoadError: [MODULE_NOT_FOUND] require failed to load › /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/dist/comma › nds/generate/store.js: Cannot find module 'node:http' › Require stack: › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod › ules/node-fetch-native/dist/shared/node-fetch-native.bd0cd7ae.cjs › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod › ules/node-fetch-native/dist/index.cjs › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod › ules/node-fetch-native/lib/index.cjs › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/dist/dom › ains/integration/fetchIntegrations.js › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/dist/dom › ains/integration/index.js › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/dist/com › mands/generate/store.js › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod › ules/@oclif/core/lib/module-loader.js › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod › ules/@oclif/core/lib/config/plugin.js › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod › ules/@oclif/core/lib/config/config.js › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod › ules/@oclif/core/lib/config/index.js › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod › ules/@oclif/core/lib/command.js › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod › ules/@oclif/core/lib/index.js › - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/bin/run › Code: MODULE_NOT_FOUND
No response
It should install store and go forward.the
npx @vue-storefront/cli generate store
latest
14.17.0
Chrome
Ubuntu 18
The text was updated successfully, but these errors were encountered:
I'm having the same issue running node 14.7.0 macOS 10.15.7
node 14.7.0
macOS 10.15.7
Sorry, something went wrong.
N.B. tried again using node v16.19.1 and this worked fine
node v16.19.1
I did notice a 'make sure you have at least node 16' on the Storefront page somewhere. Don't know if that's fresh or not :).
@jorismak that's fresh :)
Also, we need to fix the docs since it gives wrong info. For CLI please use Node.js >=16.13 and <17.
No branches or pull requests
Describe the Bug
ModuleLoadError: [MODULE_NOT_FOUND] require failed to load
› /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/dist/comma
› nds/generate/store.js: Cannot find module 'node:http'
› Require stack:
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod
› ules/node-fetch-native/dist/shared/node-fetch-native.bd0cd7ae.cjs
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod
› ules/node-fetch-native/dist/index.cjs
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod
› ules/node-fetch-native/lib/index.cjs
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/dist/dom
› ains/integration/fetchIntegrations.js
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/dist/dom
› ains/integration/index.js
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/dist/com
› mands/generate/store.js
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod
› ules/@oclif/core/lib/module-loader.js
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod
› ules/@oclif/core/lib/config/plugin.js
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod
› ules/@oclif/core/lib/config/config.js
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod
› ules/@oclif/core/lib/config/index.js
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod
› ules/@oclif/core/lib/command.js
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/node_mod
› ules/@oclif/core/lib/index.js
› - /home/ali/.npm/_npx/374245/lib/node_modules/@vue-storefront/cli/bin/run
› Code: MODULE_NOT_FOUND
Current behavior
No response
Expected behavior
It should install store and go forward.the
Steps to reproduce
npx @vue-storefront/cli generate store
What version of Vue Storefront are you using?
latest
What version of Node.js are you using?
14.17.0
What browser (and version) are you using?
Chrome
What operating system (and version) are you using?
Ubuntu 18
Relevant log output
No response
Able to fix / change the documentation?
Code of Conduct
The text was updated successfully, but these errors were encountered: