1.4.1 控制台时不时报TypeError: Path must be a string

检查了assert下没看到有空目录什么的或者其他怪异的东东,目录名没有空格。mac环境

TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.extname (path.js:1433:5)
at new CodeEditor (/Applications/CocosCreator.app/Contents/Resources/app.asar/builtin/code-editor/panel/editor.js:74:27)
at HTMLDocument.document.addEventListener (file:///Applications/CocosCreator.app/Contents/Resources/app.asar/builtin/code-editor/panel/page.js:162:18)

关闭 code-editor 就好啦,请尽量不要用这个东西

有时候简单的修改,由vs切换回code-editor方便,一双击在ide内就修改了,不用切换还是很方便的。

感觉好像是因为把项目加入到git后引起的,之前都没报错,今早试了个新项目,也没报错。

现在的项目,除了上面报的错,还有以下错误也是一直在报:

error: TypeError: Cannot read property ‘_uuid’ of null
at EventEmitter. (file:///Applications/CocosCreator.app/Contents/Resources/app.asar/builtin/code-editor/panel/page.js:124:20)