Packaging Error


#1

Hi,

Suddenly this error appears, what does it mean? thanks, regards!

SyntaxError: unknown: Unexpected token, expected "," (913:8)

911 | };
912 |

913 | [object Object]
| ^
914 |
915 | self.rpc.exports = {
916 | runBlock: function runBlock(opcode, method, deviceId, block, args) {
at t.raise (https://ext.mblock.cc/js/vendors_babel.80e9ac.js:8:48290)
at n.unexpected (https://ext.mblock.cc/js/vendors_babel.80e9ac.js:8:54705)
at n.expect (https://ext.mblock.cc/js/vendors_babel.80e9ac.js:8:54548)
at n.parseExprList (https://ext.mblock.cc/js/vendors_babel.80e9ac.js:8:98754)
at n.parseExprAtom (https://ext.mblock.cc/js/vendors_babel.80e9ac.js:8:85925)
at n.parseExprSubscripts (https://ext.mblock.cc/js/vendors_babel.80e9ac.js:8:78906)
at n.parseMaybeUnary (https://ext.mblock.cc/js/vendors_babel.80e9ac.js:8:78490)
at n.parseExprOps (https://ext.mblock.cc/js/vendors_babel.80e9ac.js:8:75898)
at n.parseMaybeConditional (https://ext.mblock.cc/js/vendors_babel.80e9ac.js:8:75410)
at n.parseMaybeAssign (https://ext.mblock.cc/js/vendors_babel.80e9ac.js:8:74317)


#2

If you are making a JavaScript extension on ext.mblock.cc, it means you used the wrong syntax. Research async syntax to find out more.