spurtcommerce / multivendor-marketplace

Open Source eCommerce Solution on NodeJS and TypeScript. Download to get full access to this source code. Pair the code with React/Angular/Flutter Storefront addons to complete your eCommerce portal. You may visit our addon website and purchase extensions to extend your eCommerce portal with more features.
https://www.spurtcommerce.com
103 stars 66 forks source link

API directory issue #21

Open Rajan417 opened 4 months ago

Rajan417 commented 4 months ago

when i run this command "ts-node --pretty utils/create-entities-index.ts" then it throw me below error in my cmd

node:internal/modules/cjs/loader:988 throw err; ^

Error: Cannot find module './create-entities-index.ts' Require stack:

spurtdeveloper-043 commented 3 months ago

Hi @Rajan417

In Spurtcommerce multivendor-marketplace build, you do NOT have access to the source code of utils/create-entities-index.ts file and hence its impractical for you to execute direct commands like "ts-node --pretty utils/create-entities-index.ts".

However you can run the whole API build. Navigate to api/ folder then execute -> node dist/src/app.js

Please let us know if you need further assistance.