question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build storefront npm

See original GitHub issue

OS: Macos npm: 6.12.0 node: v10.8.0

try to install Vue-storefront as the introduction on gitHub on the master branch.
Then errors similar to below on the step to run `yarn build` in vue-storefront

ERROR in ./src/extensions/index.js
Module not found: Error: Can't resolve '@vue-storefront/extension-droppoint-shipping/index.js' in '/Users/me/itg/store/vue-storefront/src/extensions'
 @ ./src/extensions/index.js 4:16-80
 @ ./core/app.js
 @ ./core/client-entry.js

other error related to @vue-storefront.. not found and 

ERROR in ./core/store/modules/category/actions.js
Module not found: Error: Can't resolve 'lodash-es/toString' in '/Users/me/itg/store/vue-storefront/core/store/modules/category'
 @ ./core/store/modules/category/actions.js 11:0-42 342:45-53
 @ ./core/store/modules/category/index.js
 @ ./core/store/modules/index.js
 @ ./core/app.js
 @ ./core/client-entry.js

hild html-webpack-plugin for "index.html":
     1 asset
error Command failed with exit code 2.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-storefront@ build: `rimraf dist && yarn build:client && yarn build:server`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the vue-storefront@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
bishwoscommented, Aug 8, 2018

@Igloczek Thanks, turns out the issue was the yarn version. Worked perfectly

0reactions
abogdanov-workcommented, Dec 20, 2021

Same issue here, please, provide a solution

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't build storefront npm · Issue #1546 - GitHub
OS: Macos npm: 6.12.0 node: v10.8.0 try to install Vue-storefront as the introduction on gitHub on the master branch.
Read more >
[Solved]-Vue-storefront installation error. Can't build storefront ...
The error "Can't build storefront npm" appears because npm can't automatically install required modules. To prevent this error, you should manually install ...
Read more >
react-storefront - npm
React Storefront. Build and deploy e-commerce progressive web apps (PWAs) in record time. Full Guides, API Documentation, and Examples ...
Read more >
@vue-storefront/theme-utilities - npm
How it works. This package creates a vsf-tu script allowing to extend multiple Vue Storefront 2 themes by letting them inherit from each...
Read more >
@adobe/magento-storefront-events-sdk - npm
@adobe/magento-storefront-events-sdk. TypeScript icon, indicating that this package has built-in type declarations.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found