You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
您执行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)
您执行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)
Originally posted by @ZhaoZhongYi in #82 (comment)
The text was updated successfully, but these errors were encountered: