Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Somebody help me!!! /core/RecyclerListView.js: Property id of VariableDeclarator expected node to be of a type ["LVal"] but instead got "BooleanLiteral" #774

Open
OrrinHatch opened this issue Oct 10, 2023 · 2 comments

Comments

@OrrinHatch
Copy link

No description provided.

@OrrinHatch OrrinHatch changed the title /core/RecyclerListView.js: Property id of VariableDeclarator expected node to be of a type ["LVal"] but instead got "BooleanLiteral" Somebody help me!!! /core/RecyclerListView.js: Property id of VariableDeclarator expected node to be of a type ["LVal"] but instead got "BooleanLiteral" Oct 10, 2023
@OrrinHatch
Copy link
Author

OrrinHatch commented Oct 10, 2023

anyone has a fix for this?

"react-native": "^0.70.1",

@OrrinHatch
Copy link
Author

error node_modules/recyclerlistview/dist/reactnative/core/RecyclerListView.js: /Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/recyclerlistview/dist/reactnative/core/RecyclerListView.js: Property id of VariableDeclarator expected node to be of a type ["LVal"] but instead got "BooleanLiteral". TypeError: /Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/recyclerlistview/dist/reactnative/core/RecyclerListView.js: Property id of VariableDeclarator expected node to be of a type ["LVal"] but instead got "BooleanLiteral" at Object.validate (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/types/src/definitions/utils.ts:139:11) at validateField (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/types/src/validators/validate.ts:32:9) at validate (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/types/src/validators/validate.ts:19:3) at NodePath._replaceWith (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/path/replacement.ts:209:5) at NodePath.replaceWith (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/path/replacement.ts:182:8) at replacer (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/babel-plugin-global-define/lib/index.js:42:10) at /Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/babel-plugin-global-define/lib/index.js:26:25 at Array.forEach (<anonymous>) at PluginPass.call (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/babel-plugin-global-define/lib/index.js:24:37) at call (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/visitors.ts:292:14) at NodePath._call (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/path/context.ts:35:20) at NodePath.call (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/path/context.ts:20:17) at NodePath.visit (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/path/context.ts:94:31) at TraversalContext.visitQueue (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:144:16) at TraversalContext.visitSingle (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:108:19) at TraversalContext.visit (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:176:19) at traverseNode (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/traverse-node.ts:40:17) at NodePath.visit (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/path/context.ts:101:33) at TraversalContext.visitQueue (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:144:16) at TraversalContext.visitMultiple (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:98:17) at TraversalContext.visit (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:174:19) at traverseNode (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/traverse-node.ts:40:17) at NodePath.visit (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/path/context.ts:101:33) at TraversalContext.visitQueue (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:144:16) at TraversalContext.visitMultiple (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:98:17) at TraversalContext.visit (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:174:19) at traverseNode (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/traverse-node.ts:40:17) at NodePath.visit (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/path/context.ts:101:33) at TraversalContext.visitQueue (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:144:16) at TraversalContext.visitSingle (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:108:19) at TraversalContext.visit (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/context.ts:176:19) at traverseNode (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/traverse-node.ts:40:17) at traverse (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/traverse/src/index.ts:82:15) at transformFile (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/core/src/transformation/index.ts:124:15) at transformFile.next (<anonymous>) at run (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/core/src/transformation/index.ts:48:12) at run.next (<anonymous>) at /Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/core/src/transform-ast.ts:34:20 at Generator.next (<anonymous>) at evaluateSync (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/gensync/index.js:251:28) at fn (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/gensync/index.js:89:14) at stopHiding - secret - don't use this - v1 (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/core/src/errors/rewrite-stack-trace.ts:99:14) at transformFromAstSync (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@babel/core/src/transform-ast.ts:77:59) at Object.transform [as nextTransformer] (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/metro-react-native-babel-transformer/src/index.js:199:20) at Object.transform (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@tarojs/rn-transformer/src/index.ts:44:18) at /Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@tarojs/rn-supporter/src/taroTransformer.ts:59:51 at Generator.next (<anonymous>) at fulfilled (/Users/orrin/Workspaces/项目/sass_crm_rn/node_modules/@tarojs/rn-supporter/dist/taroTransformer.js:5:58)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant