# Ember-cli error on local MacOS development

**URL:** https://meta.discourse.org/t/ember-cli-error-on-local-macos-development/222111
**Category:** Support
**Created:** [March 27, 2022, 9:44pm UTC](https://meta.discourse.org/t/ember-cli-error-on-local-macos-development/222111 "2022-03-27T21:44:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jimkleiber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimkleiber/32/121814_2.png) [@jimkleiber](https://meta.discourse.org/u/jimkleiber)
#### Post date: [March 27, 2022, 9:44pm UTC](https://meta.discourse.org/t/ember-cli-error-on-local-macos-development/222111/1 "2022-03-27T21:44:02Z")

</div>

I’m trying to get Discourse up and running on my MacBook Pro. I was having troubles with Mojave but just upgraded to Monterey to see if that fixed the problem but it didn’t.

I’m able to start the rails server with `bundle exec rails server` but when I follow these instructions:

> [@Install Discourse on macOS for development](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/1):
>
> In a separate terminal instance, navigate to your discourse folder ( `cd ~/discourse` ) and run:
> 
> ```plaintext
> bin/ember-cli
> 
> ```

I get the following error:

```plaintext
[DEPRECATION] The trollop gem has been renamed to optimist and will no longer be supported. Please switch to optimist as soon as possible.
Error: unknown argument '-s'.
Try --help for help.

```

Anyone know what might be happening? Any additional info I could provide to help figure out what might be going on?

---

<div class="post-metadata">

### Author: ![Decorbuz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/decorbuz/32/235124_2.png) [@Decorbuz](https://meta.discourse.org/u/Decorbuz)
#### Post date: [March 29, 2022, 1:56pm UTC](https://meta.discourse.org/t/ember-cli-error-on-local-macos-development/222111/2 "2022-03-29T13:56:00Z")

</div>

Is this of any use to you? Your issue sounds similar to mine.

> [@Can't start localhost server -- file was built for x86\_64 which is not the architecture being linked (i386)](https://meta.discourse.org/t/cant-start-localhost-server-file-was-built-for-x86-64-which-is-not-the-architecture-being-linked-i386/108193/13):
>
> I’m glad this topic was bumped (purely by coincidence). I guess the issue has been around for a while and isn’t limited to Apple Silicon Macs. I was having the same issue on my M1 iMac following the same guide as you. @blake was awesome and managed to find a workaround for me. grinning I was able to get it working on my m1 mac. I’m not exactly sure what the issue is, but this is a work around that you can use. From the first terminal tab run: bin/rails server --binding 127.0.0.1 From the…

---

<div class="post-metadata">

### Author: ![jimkleiber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimkleiber/32/121814_2.png) [@jimkleiber](https://meta.discourse.org/u/jimkleiber)
#### Post date: [March 29, 2022, 8:07pm UTC](https://meta.discourse.org/t/ember-cli-error-on-local-macos-development/222111/3 "2022-03-29T20:07:31Z")

</div>

Hmm, it didn’t seem to work on my first try. There may be something wrong with my installation of node or any of the other dependencies, I’m not yet sure. I’ll dig more into what you suggested and see if that will help. Thank you!
