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
./node_modules/.bin/knex --esm migrate:make create_users_table --env local --knexfile knexfile.mjs
Error message:
Using environment: local
Error: ENOENT: no such file or directory, open '/.../node_modules/knex/lib/migrations/migrate/stub/mjs.stub'
The text was updated successfully, but these errors were encountered:
tomhoad
changed the title
ESM Import Issue
ESM Import: no such file or directory, open '/.../node_modules/knex/lib/migrations/migrate/stub/mjs.stub'
Mar 29, 2021
tomhoad
changed the title
ESM Import: no such file or directory, open '/.../node_modules/knex/lib/migrations/migrate/stub/mjs.stub'
ESM Import: no such file or directory, open 'lib/migrations/migrate/stub/mjs.stub'
Mar 29, 2021
Environment
Knex version: 0.95.4
Database + version: Postgres 13
OS: Mac OS 10.14.6
Bug
knexfile.mjs
:I run:
The text was updated successfully, but these errors were encountered: