Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find package '@tryghost/mg-letterdrop' in migrate@0.30.2 #645

Closed
cjwallace opened this issue Feb 21, 2023 · 1 comment
Closed

Cannot find package '@tryghost/mg-letterdrop' in migrate@0.30.2 #645

cjwallace opened this issue Feb 21, 2023 · 1 comment

Comments

@cjwallace
Copy link

Hey, thanks for the tool!

I think something might be up with the latest release. Upon a fresh global install with Node.js v18.14.2 (latest lts), I hit a dependency problem when I run migrate:

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@tryghost/mg-letterdrop' imported from /Users/chris/.nvm/versions/node/v18.14.2/lib/node_modules/@tryghost/migrate/sources/letterdrop.js
    at new NodeError (node:internal/errors:399:5)
    at packageResolve (node:internal/modules/esm/resolve:889:9)
    at moduleResolve (node:internal/modules/esm/resolve:938:20)
    at defaultResolve (node:internal/modules/esm/resolve:1153:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
    at link (node:internal/modules/esm/module_job:76:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Rolling back to the 0.29.5 release worked, and I was able to migrate a small substack site super easily (nice)!

@PaulAdamDavis
Copy link
Member

Hi @cjwallace! Thanks for reporting. This is now fixed in 0.30.3 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants