Ticket: Migration 'MODULE_NOT_FOUND'

Hello,

Running the migration script from the main directory and receiving a ‘MODULE_NOT_FOUND’ error, help please

/m220js is 📦 v1.0.0 via ⬢ v13.12.0 
➜ node movie-last-updated-migration.js

internal/modules/cjs/loader.js:979
  throw err;
  ^

Error: Cannot find module '/m220js/movie-last-updated-migration.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:976:15)
    at Function.Module._load (internal/modules/cjs/loader.js:859:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Please check this
May help

Vote

Migration Test Fails

Thanks for the reply @Ramachandra_37567!

1 Like