Uncaught (in promise) TypeError: can't access property "save", assembly is null

Am getting this issue while trying open source ember project first time no idea what this error about ? while trying to delete an entry!

    const assembly = await this.assembly;
    return assembly.save();

```    deleteInput(){
      const model = this.get("model"),
            assembly = model.get("assembly");

![Screenshot 2021-05-30 at 15.20.24|424x362](upload://ArKbZTGuudnZcqkN5lWJ69Hx6Va.png)

Hi @almokhtar, welcome! It’s a little difficult to tell what’s going on without a bit more context. Could you share a little bit more of the code? Or if it’s open source just provide a link?

1 Like