Realm Node SDK | Realm.App({id: ''}) | Expected 0 arguments, but got 1.ts(2554)

According to the Quick Start Guide, one should initialize the app like this: const app = new Realm.App({ id: "<Your App ID>" }). However, in Typescript it gives the following warning:

I installed Realm using npm install --save realm@10.0.0-beta.6, as directed by the Install Realm for Node.js guide.

Hey @Brian_Burns - welcome to the community!

I’m seeing the same error you are. I’ll do some investigating.

@Brian_Burns There is a newer version of Realm. I tried it out, and it resolved the problem for me. Let me know if this fixes it for you:

npm install --save realm@10.0.0-beta.13

I’m talking with our Documentation team about getting this updated.

3 Likes

Thanks you so much for your reply @Lauren_Schaefer! I think I tried beta.12. I’ll give 13 a try.

1 Like