Facing this issue
ps is executing build
: nps banner.build && nps config && nps lint && nps clean.dist && nps transpile && nps generateapidoc && nps copy && nps copy.tmp && nps clean.tmp
nps is executing banner.build
: ts-node --transpileOnly ./commands/banner.ts build
| | () | | |
| ' | | | | | |/ ` |
| |) | || | | | (| |
|.__/ _,|||_,_|
nps is executing config
: ts-node --transpileOnly ./commands/tsconfig.ts
nps is executing lint
: tslint -c ./tslint.json ./src/**/*.ts --format stylish
nps is executing clean.dist
: node node_modules/nps-utils/node_modules/rimraf/bin.js ./dist
nps is executing transpile
: tsc --project ./tsconfig.build.json
src/database/seeds/CreateEmailTemplate.ts:2:19 - error TS2305: Module '"../../../node_modules/typeorm-seeding/dist/typeorm-seeding"' has no exported member 'Seed'.
2 import { Factory, Seed } from 'typeorm-seeding';
src/database/seeds/CreateGroupData.ts:2:19 - error TS2305: Module '"../../../node_modules/typeorm-seeding/dist/typeorm-seeding"' has no exported member 'Seed'.
2 import { Factory, Seed } from 'typeorm-seeding';
src/database/seeds/CreateOrderStatus.ts:2:19 - error TS2305: Module '"../../../node_modules/typeorm-seeding/dist/typeorm-seeding"' has no exported member 'Seed'.
2 import { Factory, Seed } from 'typeorm-seeding';
src/database/seeds/CreateSetting.ts:2:19 - error TS2305: Module '"../../../node_modules/typeorm-seeding/dist/typeorm-seeding"' has no exported member 'Seed'.
2 import { Factory, Seed } from 'typeorm-seeding';
src/database/seeds/CreateStockStatus.ts:2:19 - error TS2305: Module '"../../../node_modules/typeorm-seeding/dist/typeorm-seeding"' has no exported member 'Seed'.
2 import { Factory, Seed } from 'typeorm-seeding';
src/database/seeds/CreateUser.ts:2:19 - error TS2305: Module '"../../../node_modules/typeorm-seeding/dist/typeorm-seeding"' has no exported member 'Seed'.
2 import { Factory, Seed } from 'typeorm-seeding';
Found 6 errors.
The script called "transpile" which runs "tsc --project ./tsconfig.build.json" failed with exit code 2 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
The script called "build" which runs "nps banner.build && nps config && nps lint && nps clean.dist && nps transpile && nps generateapidoc && nps copy && nps copy.tmp && nps clean.tmp" failed with exit code 2 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! Spurtcommerce start: nps "build"
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the Spurtcommerce start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/apple/.npm/_logs/2021-11-08T05_45_19_296Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! Spurtcommercenbuild: npm start build
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the Spurtcommerce build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/apple/.npm/_logs/2021-11-08T05_45_19_331Z-debug.log