如何解决NativeScript internalBinding错误

时间:2019-04-29 11:28:54

标签: nativescript

我将Node升级到10.15.2,发现我的TNS无法找到NativeScript CLI。

当我运行“ tns医生”时,我不断遇到错误:

  

ReferenceError:未定义internalBinding       在internal / util / inspect.js:31:15       在req_(/usr/local/Cellar/node@6/6.12.3/lib/node_modules/nativescript/node_modules/natives/index.js:137:5)       在要求时(/usr/local/Cellar/node@6/6.12.3/lib/node_modules/nativescript/node_modules/natives/index.js:110:12)       在util.js:25:21       在req_(/usr/local/Cellar/node@6/6.12.3/lib/node_modules/nativescript/node_modules/natives/index.js:137:5)       在要求时(/usr/local/Cellar/node@6/6.12.3/lib/node_modules/nativescript/node_modules/natives/index.js:110:12)       在fs.js:42:21       在req_(/usr/local/Cellar/node@6/6.12.3/lib/node_modules/nativescript/node_modules/natives/index.js:137:5)       在Object.req [根据需要](/usr/local/Cellar/node@6/6.12.3/lib/node_modules/nativescript/node_modules/natives/index.js:54:10)       在对象。 (/usr/local/Cellar/node@6/6.12.3/lib/node_modules/nativescript/node_modules/fstream/node_modules/graceful-fs/fs.js:1:99)

请问我该如何解决?

0 个答案:

没有答案