2.x版本真机调试报错



  • webpack-internal:///../node_modules/@tarojs/taro/dist/index.esm.js:2371: ReferenceError: process is not defined
    ReferenceError: process is not defined
    at eval (webpack-internal:///../node_modules/@tarojs/taro/dist/index.esm.js:2371:1)
    at Object.../node_modules/@tarojs/taro/dist/index.esm.js (pages/index/index.js:124:1)
    at webpack_require (pages/index/index.js:23:30)
    at eval (webpack-internal:///../node_modules/@tarojs/taro-quickapp/dist/index.js:11:12)
    at Object.../node_modules/@tarojs/taro-quickapp/dist/index.js (pages/index/index.js💯1)
    at webpack_require (pages/index/index.js:23:30)
    at eval (webpack-internal:///../node_modules/@tarojs/taro-quickapp/index.js:3:18)
    at Object.../node_modules/@tarojs/taro-quickapp/index.js (pages/index/index.js:112:1)
    at webpack_require (pages/index/index.js:23:30)
    at scriptModule (webpack-internal:///./node_modules/@hap-toolkit/dsl-xvm/lib/loaders/script-loader.js!./node_modules/@hap-toolkit/dsl-xvm/lib/loaders/module-loader.js!./node_modules/babel-loader/lib/index.js?cwd=D:\资料夹\1.工作\2.银联\1.信用卡还款\3.快应用版本\criditCardRepayment\dist&cacheDirectory&plugins[]=D:\资料夹\1.工作\2.银联\1.信用卡还款\3.快应用版本\criditCardRepayment\dist\node_modules@hap-toolkit\dsl-xvm\lib\loaders\babel-plugin-jsx.js&comments=false&configFile=D:\资料夹\1.工作\2.银联\1.信用卡还款\3.快应用版本\criditCardRepayment\dist\babel.config.js!./node_modules/@hap-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=script!./src/npm/@tarojs/components-qa/src/components/taro-page/index.ux?uxType=comp:8:44)
    com.eclipsesource.v8.V8ScriptExecutionException
    at com.eclipsesource.v8.V8._executeVoidFunction(Native Method)
    at com.eclipsesource.v8.V8.executeVoidFunction(SourceFile:1154)
    at com.eclipsesource.v8.V8Object.executeVoidFunction(SourceFile:435)
    at org.hapjs.render.jsruntime.JsThread.b(SourceFile:1043)
    at org.hapjs.render.jsruntime.JsThread.a(SourceFile:88)
    at org.hapjs.render.jsruntime.JsThread$a.handleMessage(SourceFile:277)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loop(Looper.java:225)
    at android.os.HandlerThread.run(HandlerThread.java:67)


登录后回复