每次我尝试运行任何cordova命令时都会收到此错误:
$ cordova build --release android
Android Studio project detected
(node:26671) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot find module 'uuid'
(node:26671) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
我使用的是Node v8和NPM v5,尝试过不同的Node / NPM版本,但总是会遇到同样的错误。