Spurtcommerce
DocumentAPI ReferenceAdd-ons
Docs
Docs
  • Overview
  • Getting Started
    • Introduction
    • Prerequisites
      • Server Configuration (Minimal)
      • Set up development environment
    • Development and Setup
      • API Setup
      • Environment Configuration
      • Store Front Setup
        • Angular Store Front
        • React Store Front
        • Flutter store front
      • Angular Admin Setup
      • Angular Vendor Setup
  • API Deployment and Setup
    • Deployment From Source Code
    • Deployment From Docker
    • Troubleshooting
  • Frontend Deployment Setup
    • Store Front Setup
      • React Store Front
      • Angular Store Front
      • Flutter Store Front
      • Troubleshooting
  • Front End Angular Admin Setup
    • Angular Admin
    • Troubleshooting
  • Front End Angular Vendor Setup
    • Angular Vendor
    • Troubleshooting
  • For Developers
    • Architecture
      • Back End API Architecture
      • Front-end Architecture
      • Technology stack
    • Performance
      • Benchmark
      • Image Optimzation
      • Load Balancing
      • RabbitMQ
      • Clustering
      • Database Load Balancing
    • Security
    • Testing Reports
      • Unit Testing Report
      • E2E Test Report
      • Vulnerability Test Report
        • Spurt Admin Report
        • Spurt Store Report
        • Spurt Vendor Report
      • Functional Test Report
  • How to Guides
    • Store Language Setup
    • Addon Management
    • Spurtcommerce Microservices Deployment
Powered by GitBook
On this page
  • # 1
  • # 2
  • # 3
  • # 4
  • # 5
  • # 6
  1. API Deployment and Setup

Troubleshooting

# 1

src/loaders/expressLoader.ts(161.39): error T52339: error property 'listen' does not exist on type 'Application'

solution:

fix by upgrading typescript version

# 2

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './index' is not defined by "exports"

solution:

Then, check if you are using node version below <14.15. If yes, then upgrade it to 14.15 or 14.17

# 3

node_modules/@types/passport/index.d.ts:33:20 33 logout(done: (err: any) => void): void; ~~~~~~~~~~~~~~~~~~~~~~~~ An argument for 'done' was not provided.

solution:

Give the following command:

npm install @types/passport@1.0.0 --save

Then,

Install it and one again try with npm run build

# 4

Found 7 errors in 7 files.

Errors Files 1 src/database/seeds/CreateEmailTemplate.ts:2 1

solution:

Give this following command:

npm install typeorm-seeding@1.0.0-beta.6 --save

Then,

Install it and once again try with npm run build

# 5

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x150f275dbe1d]
    1: StubFrame [pc: 0x150f275dd1df]

solution:

Give the following command:

npm install typescript@3.7.2

npm run build

# 6

./node_modules/ng2-ckeditor/fesm2015/ng2-ckeditor.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js): TypeError: Cannot create property 'message' on string '/home/piccosoft/spurt-4.7-release/spurtcommerce-

solution:

npm install ng2-ckeditor@1.2.1 --save

#7

INVOICE DOWNLOAD ERRORS

Run the below command

sudo apt-get install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
PreviousDeployment From DockerNextStore Front Setup

Last updated 7 months ago