# Problem installing Migration tool

**URL:** <https://forum.ghost.org/t/problem-installing-migration-tool/44078>\
**Category:** Migrations\
**Created:** [January 12, 2024, 5:47pm UTC](https://forum.ghost.org/t/problem-installing-migration-tool/44078 "2024-01-12T17:47:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vouchey](https://avatars.discourse-cdn.com/v4/letter/v/76d3ee/32.png) [@vouchey](https://forum.ghost.org/u/vouchey)\
**Post date:** [January 12, 2024, 5:47pm UTC](https://forum.ghost.org/t/problem-installing-migration-tool/44078/1 "2024-01-12T17:47:41Z")

</div>

I’ve been attempting to install the Migration tool on a DigitalOcean Ghost marketplace server using this guide:

> **[Official guide: How to migrate from Substack to Ghost](https://ghost.org/docs/migration/substack/)**
>
> Everything you need to know about working with the Ghost professional publishing platform.

When I run the command:

npm install --global @tryghost/migrate

I receive a series of errors, ending with

```auto
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:514:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 5.15.0-86-generic
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /root/migrate/node_modules/node-expat
npm ERR! gyp ERR! node -v v18.17.1
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok

```

Any thoughts on what I can do to make this work?

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [January 13, 2024, 12:01am UTC](https://forum.ghost.org/t/problem-installing-migration-tool/44078/2 "2024-01-13T00:01:06Z")

</div>

Usually it’s the first error that’s most informative. Is that the first error?

---

<div class="post-metadata">

**Author:** ![RyanF](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ryanf/32/17448_2.png) [@RyanF](https://forum.ghost.org/u/RyanF)\
**Post date:** [January 13, 2024, 5:55pm UTC](https://forum.ghost.org/t/problem-installing-migration-tool/44078/3 "2024-01-13T17:55:22Z")

</div>

What’s your end goal? You don’t need to do this on a server. You can just do it on your local machine, which might make things easier. (The error you’re seeing usually indicates some missing dependency on your system.)

Additionally, Ghost has a Substack migrator built in. Go to **Settings** → **Labs**.

---

<div class="post-metadata">

**Author:** ![vouchey](https://avatars.discourse-cdn.com/v4/letter/v/76d3ee/32.png) [@vouchey](https://forum.ghost.org/u/vouchey)\
**Post date:** [January 13, 2024, 7:41pm UTC](https://forum.ghost.org/t/problem-installing-migration-tool/44078/4 "2024-01-13T19:41:06Z")

</div>

After all this, I discovered the built in Migrator. Wish that was more prominent.

Thanks! Topic Close.
