transform[stdout]: Obfuscating src/App.js
error src/App.js: function (prevType) {
this.state.exprAllowed = false;
if (prevType === types._let || prevType === types._c...<omitted>...
} could not be cloned.
Error: function (prevType) {
this.state.exprAllowed = false;
if (prevType === types._let || prevType === types._c...<omitted>...
} could not be cloned.
at Object.serialize (v8.js:331:7)
at _default (/home/ceinfo/Desktop/jsoff/node_modules/@babel/core/lib/transformation/util/clone-deep.js:22:34)
at normalizeFile (/home/ceinfo/Desktop/jsoff/node_modules/@babel/core/lib/transformation/normalize-file.js:84:36)
at normalizeFile.next (<anonymous>)
at run (/home/ceinfo/Desktop/jsoff/node_modules/@babel/core/lib/transformation/index.js:29:50)
at run.next (<anonymous>)
at /home/ceinfo/Desktop/jsoff/node_modules/@babel/core/lib/transform-ast.js:26:41
at Generator.next (<anonymous>)
at evaluateSync (/home/ceinfo/Desktop/jsoff/node_modules/gensync/index.js:251:28)
I have created an empty project and tried to use this package but got following error after running the following command
Command
Error
//package.json
//transformer.js
metro.config.js