NativeScript Sidekick - UnhandledPromiseRejectionWarning: primordials is not defined

时间秒杀一切 提交于 2019-12-06 14:01:55

It turns out that NativeScript Sidekick must be using gulp 3.

I found this answer on StackOverflow talking about a similar issue, but not related to NativeScript Sidekick.

Must sure that your current installed node version is not 12, because node v12 and gulp 3 do not work together, as you can see here

To check your node version run the following in Terminal:

$ node -v

Since we can't change the gulp version of NativeScript Sidekick ourselves, the best solution is to downgrade the node version.

At the time of writing this the Latest LTS version is 10. Downgrading to this version resolves the exception error message.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!