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
My workaround was to add the env var when calling the program through cmd: set PWD=C:\Users\[Whatever_path]&& node .\node_modules\sequelize-auto-migrations\bin\makemigration --name test
Note that there's no space between the path and the "&&". That's important
Not the ideal solution, but it lets you avoid editing the lib code
Change 'process.env.PWD' to 'process.env.PWD || process.cwd()' on runmigration.js and makemigration.js to fix problem
The text was updated successfully, but these errors were encountered: