You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
Fixed this issue after hours of troubleshooting.
npm install node-pg-migrate pg -using this link https://www.npmjs.com/package/node-pg-migrate?activeTab=readme
Then the main entry in the package.json was wrong
change ------- "main": "src/server.js"
to --------"main": "./src/server.js"
The migration script will run and tables will be created in postgre database
udacity-c2-restapi@1.0.0 dev C:\udacity........\
Using ts-node version 8.3.0, typescript version 3.5.3
The text was updated successfully, but these errors were encountered: