wakanda remove() 无法读取未定义的 属性 'remove' - errCode 4055

wakanda remove() Cannot read property 'remove' of undefined - errCode 4055

我在新版本做 tuto wakanda,当我玩 js a 方法时出现错误代码 4055 addSuperheroes.js。 我需要帮助。

方法:

ds.Superhero.remove();
new ds.Superhero({name:"Batman"}).save();
new ds.Superhero({name:"Superman"}).save();
var favoriteSuperhero = new ds.Superhero({name:"Wonder Woman"});
favoriteSuperhero.save();
ds.Superhero.all();

错误:

{
    "__ERROR": [
        {
            "message": "Cannot read property 'remove' of undefined, line #1, file:///Users/arnaudthierard/Documents/Wakanda/solutions/HelloWorldWeb/back-end-superheroes/script/addSuperheroes.js.",
            "componentSignature": "jvsc",
            "errCode": 4055
        },
        {
            "message": "Error evaluating javascript file:///Users/arnaudthierard/Documents/Wakanda/solutions/HelloWorldWeb/back-end-superheroes/script/addSuperheroes.js",
            "componentSignature": "JS4D",
            "errCode": 2
        }
    ]
}

确保模型中的数据类被命名为 Superhero。(不是 superheroSuperHero ... )