salesforcecommercecloud / create-commerce-app Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
Hello devs,
The readme file states that after creating the app, you do this:
Setup
Execute the following commands to install dependencies and build create-commerce-app locally.
npm install
However, npm install is NOT what you should state here: I don't think this will do the trick!
Setup should contain instructions to navigate to the sfcc-sample-apps, and use the yarn install, yarn build and yarn start that appear there.
Thanks,
Jorge
The readme currently states to run npx create-commerce-app, then to run npm install, however doing so does not install all the dependencies and running the app fails as a result. Can we please update the readme to reflect the instructions found in CCDC (running yarn/yarn build/yarn start)?
I just followed the following steps to get this sample app working:
npx create-commerce-app your-app-name
cd your-app-name
yarn install
yarn run start:dev
And it fails with following error:
storefront-lwc: Error: Cannot find module '@sfcc-core/core'. Please verify that the package.json has a valid "main" entry] {
storefront-lwc: code: 'MODULE_NOT_FOUND',
storefront-lwc: path: '/Users/daniels/Desktop/your-app-name/node_modules/@sfcc-core/core/package.json',
storefront-lwc: requestPath: '@sfcc-core/core'
storefront-lwc: }
storefront-lwc: [nodemon] app crashed - waiting for file changes before starting...
I'm running this on NodeJS v12.20.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.