evershopcommerce / evershop

🛍️ NodeJS E-commerce Platform
https://evershop.io/
GNU General Public License v3.0
4.5k stars 1.24k forks source link

[BUG] npm run start - column not found #595

Open OffNOn opened 3 months ago

OffNOn commented 3 months ago

### CLONING FROM GITHUB ONLY

npm run start gives the following error: image

Solved with:

adding to node_modules\@evershop\evershop\src\modules\checkout\migration\Version-1.0.6.js

await execute( connection, 'ALTER TABLE "order" ADD COLUMN "sub_total_before_discount_incl_tax" numeric;' );

OffNOn commented 3 months ago

Solved with:

adding to node_modules@evershop\evershop\src\modules\checkout\migration\Version-1.0.6.js

await execute( connection, 'ALTER TABLE "order" ADD COLUMN "sub_total_before_discount_incl_tax" numeric;' );