Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build之后的文件,发送到手机上报错 #11

Open
zhangzw218 opened this issue May 25, 2020 · 0 comments
Open

build之后的文件,发送到手机上报错 #11

zhangzw218 opened this issue May 25, 2020 · 0 comments

Comments

@zhangzw218
Copy link

提示:ReferenceError: "exports" is not defined.
编译出来的文件是这样的:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Log = void 0;
var Log = /** @Class */ (function () {
function Log() {
}
Log.prototype.main = function () {
console.log('log');
};
return Log;
}());
exports.Log = Log;

具体的错误是:
[Extension Host] 18:09:35.592/E: ReferenceError: "exports" is not defined. (/data/user/0/org.autojs.autojs/cache/remote_project/45d024e28c906252b08910ce7d021af0/scripts/main.auto.js#2)ReferenceError: "exports" is not defined. at /data/user/0/org.autojs.autojs/cache/remote_project/45d024e28c906252b08910ce7d021af0/scripts/main.auto.js:2:0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant