Can't build storefront npm
See original GitHub issueOS: 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:
- Created 5 years ago
- Comments:9 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Igloczek Thanks, turns out the issue was the yarn version. Worked perfectly
Same issue here, please, provide a solution