# Problem running Ghost locally for dev

**URL:** <https://forum.ghost.org/t/problem-running-ghost-locally-for-dev/8701>\
**Category:** Developer help\
**Created:** [August 16, 2019, 1:09pm UTC](https://forum.ghost.org/t/problem-running-ghost-locally-for-dev/8701 "2019-08-16T13:09:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreborud](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/andreborud/32/1237_2.png) [@andreborud](https://forum.ghost.org/u/andreborud)\
**Post date:** [August 16, 2019, 1:09pm UTC](https://forum.ghost.org/t/problem-running-ghost-locally-for-dev/8701/1 "2019-08-16T13:09:32Z")

</div>

I’m trying to run ghost locally for development. I have followed everything up until and including “Start Ghost” in this tutorial: [Ghost Docs](https://ghost.org/docs/install/source/)

Everything ran perfectly without errors. But when I try to access [http://localhost:4200/](http://localhost:4200/) it says Ghost Admin in the title and the spinner is visible in the centre. If I inspect the page I have the following errors:

```
Attempting URL transition to /
router.js:36 Preparing to transition from '' to 'home'
:4200/ghost/api/canary/admin/users/me/?include=roles:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/ghost/api/canary/admin/site/:1 Failed to load resource: the server responded with a status of 404 (Not Found)
router_js.js:108 Transition #0: home: transition was aborted
router_js.js:111 Attempting transition to error404
router.js:36 Preparing to transition from '' to 'error404'
:4200/ghost/api/canary/admin/users/me/?include=roles:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/ghost/api/canary/admin/site/:1 Failed to load resource: the server responded with a status of 404 (Not Found)
router_js.js:108 Transition #1: error404: transition was aborted
rsvp.js:23 Uncaught Error: You must provide a param `path`.
    at getParam (route-recognizer.js:174)
    at Array.generate.<computed> (route-recognizer.js:267)
    at RouteRecognizer.generate$1 [as generate] (route-recognizer.js:731)
    at PrivateRouter.generate (router_js.js:2259)
    at Class.generate (router.js:513)
    at RouterService.urlFor (router.js:221)
    at Class.error (application.js:126)
    at Class._triggerEvent (router.js:1333)
    at PrivateRouter.triggerEvent (router.js:193)
    at Transition.trigger (router_js.js:490)

```

This is in the latest verison of Brave with the latest version of Ghost in the master branch (~2.28.0)

No errors in the console. Am I missing something?

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [August 16, 2019, 1:12pm UTC](https://forum.ghost.org/t/problem-running-ghost-locally-for-dev/8701/2 "2019-08-16T13:12:26Z")

</div>

@andreborud you won’t be able to use ghost on [http://localhost:4200](http://localhost:4200) other than for accessing the admin panel’s tests at [http://localhost:4200/tests/](http://localhost:4200/tests/)

Ghost runs on [http://localhost:2368](http://localhost:2368) by default, can you see Ghost running there?

---

<div class="post-metadata">

**Author:** ![andreborud](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/andreborud/32/1237_2.png) [@andreborud](https://forum.ghost.org/u/andreborud)\
**Post date:** [August 16, 2019, 1:45pm UTC](https://forum.ghost.org/t/problem-running-ghost-locally-for-dev/8701/3 "2019-08-16T13:45:35Z")

</div>

Thanks @Kevin, nope it isn’t running there.

Scrolled up in the terminal and found the following error:

```
ERROR Knex: run
$ npm install sqlite3 --save
Cannot find module '/Users/andreborud/Projects/Ghost/node_modules/sqlite3/lib/binding/node-v72- darwin-x64/node_sqlite3.node'

```

So then I ran: **npm install sqlite3 --save** , then **grunt dev** again which results in a new error:

```
>> Error: Cannot find module 'moment-timezone'
>> Require stack:
>> - /Users/andreborud/Projects/Ghost/core/server/overrides.js
>> - /Users/andreborud/Projects/Ghost/Gruntfile.js
>> - /Users/andreborud/Projects/Ghost/node_modules/grunt/lib/grunt/task.js
>> - /Users/andreborud/Projects/Ghost/node_modules/grunt/lib/grunt.js
>> - /Users/andreborud/.config/yarn/global/node_modules/grunt-cli/bin/grunt
Warning: Task "dev" not found. Use --force to continue.

```

Not sure what to do now.

---

<div class="post-metadata">

**Author:** ![afern247](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/afern247/32/10894_2.png) [@afern247](https://forum.ghost.org/u/afern247)\
**Post date:** [August 16, 2019, 3:20pm UTC](https://forum.ghost.org/t/problem-running-ghost-locally-for-dev/8701/4 "2019-08-16T15:20:10Z")

</div>

> [@andreborud](#):
>
> Cannot find module ‘moment-timezone’

It’s telling you what’s going on in the error message, node cannot find the timezone. Did you setup the timezone on your server when you set it up?

Also try installing the package `moment-timezone`

---

<div class="post-metadata">

**Author:** ![andreborud](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/andreborud/32/1237_2.png) [@andreborud](https://forum.ghost.org/u/andreborud)\
**Post date:** [August 16, 2019, 7:46pm UTC](https://forum.ghost.org/t/problem-running-ghost-locally-for-dev/8701/5 "2019-08-16T19:46:37Z")

</div>

I’m running locally on a Mac. I think the timezone might be there!? And moment-timezone is a .js library. So I’m thinking if its needed it should have been installed during previous steps, right?
