使用 Builder.load() 动态加载组件失败

Fail to dynamic load a component with Builder.load()

正在尝试使用代码进行动态加载:

  var myComponentInstance = Builder.load({
    path: "~/components/my-control",
    name: "MyControl"
  });
  console.log(myComponentInstance);
  return myComponentInstance;

出现错误:

错误:[对象对象] 不是有效的视图实例。

谁能帮我加载组件?请看下面link去游乐场:

https://play.nativescript.org/?template=play-js&id=SoGnxo&v=18

应该是,

var myComponentInstance = Builder.load({
    path: "~/components",
    name: "my-control"
  });

路径应该是文件夹,然后名称应该是组件。