Skip to content

0.10.0-beta.1 does fail if a local version lower than 0.10.0 is installed #317

@suomi35

Description

@suomi35

The following will produce the below error:
npm install -g db-migrate && db-migrate down && db-migrate up

Error:
-e/rof/.nvm/v0.10.40/bin/db-migrate -> /home/rof/.nvm/v0.10.40/lib/node_modules/db-migrate/bin/db-migrate
[email protected] /home/rof/.nvm/v0.10.40/lib/node_modules/db-migrate
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected] ([email protected])
[email protected] ([email protected], [email protected])
[email protected] ([email protected], [email protected])
[email protected]
[email protected]
[email protected] ([email protected], [email protected], [email protected])
[email protected]

/home/rof/.nvm/v0.10.40/lib/node_modules/db-migrate/bin/db-migrate:21
dbmigrate = DBMigrate.getInstance();
^
TypeError: Object # has no method 'getInstance'
at /home/rof/.nvm/v0.10.40/lib/node_modules/db-migrate/bin/db-migrate:21:25
at /home/rof/.nvm/v0.10.40/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:44:21
at ondir (/home/rof/.nvm/v0.10.40/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:187:31)
at onex (/home/rof/.nvm/v0.10.40/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:93:22)
at /home/rof/.nvm/v0.10.40/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:24:18
at Object.oncomplete (fs.js:108:15)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions