Code Monkey home page Code Monkey logo

create-commerce-app's Issues

Sample app doesn't work

I just followed the following steps to get this sample app working:

  1. npx create-commerce-app your-app-name
  2. cd your-app-name
  3. yarn install
  4. 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

Running npm install does not install all dependencies

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)?

Setup instructions should contain yarn commands, not npm install

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.