Open houta-higuchi opened 3 years ago
The same error to me.But no people slove it?
您执行alita可以转化成功吗?有遇到过下面的报错吗 app@bogon HelloWorldRN % alita 配置文件路径: /Users/app/Downloads/HelloWorldRN/alita.config.js 入口文件:/Users/app/Downloads/HelloWorldRN/src/index.js 输出目录: /Users/app/Downloads/HelloWorldRN/wx-dist 开始处理:/src/index.js ... 处理完成:/src/index.js ./src/index.js Module build failed (from ./node_modules/@areslabs/alita-core/node_modules/babel-loader/lib/index.js): TypeError: /Users/app/Downloads/HelloWorldRN/src/index.js: pass.get(...) is not a function at Object.post (/Users/app/Downloads/HelloWorldRN/node_modules/@areslabs/babel-plugin-alitamisc/dist/index.js:101:47) at buildElementCall (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/helper-builder-react-jsx/lib/index.js:167:12) at PluginPass.exit (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/helper-builder-react-jsx/lib/index.js:53:24) at newFn (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/visitors.js:177:21) at NodePath._call (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/path/context.js:53:20) at NodePath.call (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/path/context.js:40:17) at NodePath.visit (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/path/context.js:109:8) at TraversalContext.visitQueue (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/context.js:105:16) at TraversalContext.visitMultiple (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/context.js:74:17) at TraversalContext.visit (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/context.js:131:19) at traverseNode (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/traverse-node.js:24:17) at NodePath.visit (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/path/context.js:107:52) at TraversalContext.visitQueue (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/context.js:105:16) at TraversalContext.visitMultiple (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/context.js:74:17) at TraversalContext.visit (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/context.js:131:19) at traverseNode (/Users/app/Downloads/HelloWorldRN/node_modules/@babel/traverse/lib/traverse-node.js:24:17)
Any update?
我新建一个react native 工程,执行alita --dev转化,也是报这个错,有人知道怎么解决吗
运行alita --dev 后,生成小程序,微信开发者工具打开后报错