同样的脚本 在MAC上能正常,在LINUX上就会报错。
报错输出如下:
TypeError: Illegal invocation
at reportAction (/data/miniprogram/node_modules/miniprogram-ci/dist/utils/report.js:2:854)
at Object.upload (/data/miniprogram/node_modules/miniprogram-ci/dist/utils/report.js:2:1536)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:20963) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: app.wxss: undefined
(node:20963) [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.
update TaskStatus {