扩展包中创建cc.Node报错:cc.Node is not a constructor

想做一个Cocos Creator 的扩展包,能自动生成prefab文件
在文件中想动态生成几个node,使用
var node = new cc.Node(‘node’);
报错:cc.Node is not a constructor

注:参考了"Egret 工程导入插件"

好像没有人啊