Links

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/[email protected] --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 [email protected] --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 [email protected]
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 [email protected] --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