# Error when I use -w option

**URL:** <https://forum.cursor.com/t/error-when-i-use-w-option/154489>\
**Category:** Bug Reports\
**Tags:** macos, nightly, cli\
**Created:** [March 11, 2026, 5:22pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489 "2026-03-11T17:22:27Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugen\_Konkov](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@Eugen\_Konkov](https://forum.cursor.com/u/Eugen_Konkov)\
**Post date:** [March 11, 2026, 5:22pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/1 "2026-03-11T17:22:27Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

```auto
> cursor-nightly -w df
Error reading NLS messages file /Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json: Error: ENOENT: no such file or directory, open '/Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json'

```

### Steps to Reproduce

see aabove

### Expected Behavior

no error

### Operating System

Linux

### Version Information

Version: 2.7.0-pre.45.patch.0  
VSCode Version: 1.105.1  
Commit: 447839e5318c8d58f2447eeeca8f440ae1b72d09  
Date: 2026-03-10T05:34:36.213Z  
Build Type: Nightly  
Release Track: Default  
Electron: 39.6.0  
Chromium: 142.0.7444.265  
Node.js: 22.22.0  
V8: 14.2.231.22-electron.0  
OS: Darwin arm64 25.3.0

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 12, 2026, 6:33am UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/3 "2026-03-12T06:33:22Z")

</div>

Hey, thanks for the report.

A couple of things to try:

1. Check if the file actually exists at that path. Open Finder, go to `/Applications/Cursor Nightly.app/Contents/Resources/app/out/`, and see if `nls.messages.json` is there. It’s possible the nightly build shipped without it.

2. Try reinstalling Cursor Nightly. Download a fresh copy from the site and replace the current one. This kind of ENOENT error for a bundled file usually points to a corrupted or incomplete install.

3. Does the error happen without the `-w` flag too? For example, try `cursor-nightly df`. I’m curious if it’s specific to `--wait` or a general issue.

Let me know how it goes.

---

<div class="post-metadata">

**Author:** ![Eugen\_Konkov](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@Eugen\_Konkov](https://forum.cursor.com/u/Eugen_Konkov)\
**Post date:** [March 13, 2026, 6:32pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/4 "2026-03-13T18:32:49Z")

</div>

```auto
❯ cursor-nightly df
Error reading NLS messages file /Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json: Error: ENOENT: no such file or directory, open '/Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json'

```

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 14, 2026, 8:32am UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/5 "2026-03-14T08:32:29Z")

</div>

Thanks for checking. That means the issue isn’t with the `-w` flag, it’s with the CLI overall.

There are two more things from my last reply that should help us narrow it down:

1. Check whether the file exists at this path: `/Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json`. You can run this in Terminal: `ls -la "/Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json"`.

2. If the file isn’t there, try reinstalling Cursor Nightly by downloading it again from the website. It looks like the file didn’t make it into the build, or the install is corrupted.

Let me know what you find.

---

<div class="post-metadata">

**Author:** ![Eugen\_Konkov](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@Eugen\_Konkov](https://forum.cursor.com/u/Eugen_Konkov)\
**Post date:** [March 14, 2026, 2:54pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/6 "2026-03-14T14:54:25Z")

</div>

infrastructure on  feature/PC-18744\_Centralize\_pipelines [$!?] via 🐍 v3.14.3 (.venv)  
❯ cd /Applications/Cursor\ Nightly.app/Contents/Resources/app/out/

Resources/app/out via  v24.13.1 via 🐍 v3.14.3 (.venv)  
❯ ls -la  
total 3232  
drwxr-xr-x@ 8 eugenkonkov staff 256 Mar 10 05:46 .  
drwxr-xr-x@ 13 eugenkonkov staff 416 Mar 10 05:46 ..  
-rw-r–r–@ 1 eugenkonkov staff 19165 Mar 10 05:37 bootstrap-fork.js  
-rw-r–r–@ 1 eugenkonkov staff 229206 Mar 10 05:37 cli.js  
-rw-r–r–@ 1 eugenkonkov staff 1403383 Mar 10 05:37 main.js  
drwxr-xr-x@ 13 eugenkonkov staff 416 Mar 10 05:46 media  
drwxr-xr-x@ 7 eugenkonkov staff 224 Mar 10 05:46 vs  
drwxr-xr-x@ 3 eugenkonkov staff 96 Mar 10 05:46 vscode-dts

1. I am ok with a current nightly-cursor because this do not stop me from doing my tasks.

---

<div class="post-metadata">

**Author:** ![Eugen\_Konkov](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@Eugen\_Konkov](https://forum.cursor.com/u/Eugen_Konkov)\
**Post date:** [April 2, 2026, 1:48pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/7 "2026-04-02T13:48:20Z")

</div>

Still the issue “Error reading NLS messages file” on 2.7.0 pre 176.

Also I noticed that when I am trying to open file for editing, the new cursor isntance is ran then tab is switched to the current one. This process takes 10-15 seconds and becomes very annoying. File opening should not take more than half of the second.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 8, 2026, 2:14pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/8 "2026-04-08T14:14:11Z")

</div>

Hey, thanks for checking and sharing the `ls -la` output. The `nls.messages.json` file really is missing in the Nightly build. This is a bug on our side in the Nightly build pipeline. I’ve passed it to the team.

A couple things:

1. We recently had issues publishing Nightly builds (they weren’t coming out since March 27), and that’s now fixed. Please try updating to the latest Nightly. There’s a chance the file is already included in the newest build.

2. About files opening slowly (10 to 15 seconds), is that a separate issue, or did it start at the same time as the NLS error? Can you share the full version from Help \> About for your current Nightly?

Let me know how it goes after updating.

---

<div class="post-metadata">

**Author:** ![Eugen\_Konkov](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@Eugen\_Konkov](https://forum.cursor.com/u/Eugen_Konkov)\
**Post date:** [April 8, 2026, 3:55pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/9 "2026-04-08T15:55:02Z")

</div>

❯ cursor-nightly xxxx.yml  
Error reading NLS messages file /Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json: Error: ENOENT: no such file or directory, open ‘/Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json’

payment-domain/.github/workflows on  feature/PC-18744\_devqa\_veem\_trigger\_pr\_20260407 via 🐍 v3.14.3 (.venv)  
❯ cursor-nightly --version  
Error reading NLS messages file /Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json: Error: ENOENT: no such file or directory, open ‘/Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json’  
3.1.0-pre.12.patch.0  
157ffe1c6dac02720a7c5d875229565305625f19  
arm64

though on this version I do not see the delay.

Please include the file ASAP, this is not a complex problem.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 12, 2026, 3:19pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/10 "2026-04-12T15:19:46Z")

</div>

I see that in 3.1.0-pre.12 the file still isn’t included in the build. It’s good that the delay when opening files is gone.

I’ve forwarded this to the team again and stressed that the issue has been ongoing for over a month. Unfortunately, I can’t give a specific ETA, but your report helps raise the priority.

Let me know if anything changes in the next Nightly update.

---

<div class="post-metadata">

**Author:** ![Eugen\_Konkov](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@Eugen\_Konkov](https://forum.cursor.com/u/Eugen_Konkov)\
**Post date:** [April 16, 2026, 1:30pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/11 "2026-04-16T13:30:51Z")

</div>

This is still the problem:

```auto
hint: Waiting for your editor to close the file... Error reading NLS messages file /Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json: Error: ENOENT: no such file or directory, open '/Applications/Cursor Nightly.app/Contents/Resources/app/out/nls.messages.json'

```

3.2.0 pre 32

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 16, 2026, 3:05pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/14 "2026-04-16T15:05:04Z")

</div>

I see that the file still hasn’t shown up in 3.2.0-pre.32. It’s frustrating that this has been going on for over a month.

I escalated this with a specific link to the Nightly build pipeline. `nls.messages.json` has consistently not been included in the build since version 2.7.0-pre.45. Unfortunately, I can’t give an ETA, but your report helps raise the priority.

I’ll post an update here as soon as I have one.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [May 8, 2026, 3:05pm UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/15 "2026-05-08T15:05:18Z")

</div>

Closed on May 8, 2026, 3:05pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [October 4, 2026, 7:32am UTC](https://forum.cursor.com/t/error-when-i-use-w-option/154489/18 "2026-10-04T07:32:21Z")

</div>

Hey @Eugen_Konkov,

Following up as promised. The current builds include the missing `nls.messages.json` again. I checked the stable 3.23.x bundle, and the file is at `Contents/Resources/app/out/nls.messages.json`, so the “Error reading NLS messages file” message on CLI commands should be gone, including with `-w`.

If you still see it on the latest Nightly, let me know and I’ll dig in again. Thanks for sticking with this across versions.
