lc-test3 1.1.7 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/p.js +556 -341
  2. package/package.json +1 -1
package/p.js CHANGED
@@ -1,341 +1,556 @@
1
- ��
2
- TypeError: Cannot read properties of undefined (reading 'raw')
3
- Printer._printTemplate
4
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/generators/template-literals.js:24
5
- 21 | const quasis = node.quasis;
6
- 22 | let partRaw = "`";
7
- 23 | for (let i = 0; i < quasis.length - 1; i++) {
8
- > 24 | partRaw += quasis[i].value.raw;
9
- | ^ 25 | this.token(partRaw + "${", true);
10
- 26 | this.print(substitutions[i]);
11
- 27 | partRaw = "}";
12
- View compiled
13
- Printer.TemplateLiteral
14
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/generators/template-literals.js:37
15
- 34 | this.token(partRaw + "`", true);
16
- 35 | }
17
- 36 | function TemplateLiteral(node) {
18
- > 37 | this._printTemplate(node, node.expressions);
19
- 38 | }
20
- 39 |
21
- 40 | //# sourceMappingURL=template-literals.js.map
22
- View compiled
23
- Printer.exactSource
24
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:239
25
- 236 | }
26
- 237 | exactSource(loc, cb) {
27
- 238 | if (!loc) {
28
- > 239 | cb();
29
- | ^ 240 | return;
30
- 241 | }
31
- 242 | this._catchUp("start", loc);
32
- View compiled
33
- Printer.print
34
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:427
35
- 424 | this._lastCommentLine = 0;
36
- 425 | this._printLeadingComments(node, parent);
37
- 426 | const loc = nodeType === "Program" || nodeType === "File" ? null : node.loc;
38
- > 427 | this.exactSource(loc, printMethod.bind(this, node, parent));
39
- | ^ 428 | if (shouldPrintParens) {
40
- 429 | this._printTrailingComments(node, parent);
41
- 430 | if (indentParenthesized) {
42
- View compiled
43
- Printer.printJoin
44
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:503
45
- 500 | const node = nodes[i];
46
- 501 | if (!node) continue;
47
- 502 | if (statement) this._printNewline(i === 0, newlineOpts);
48
- > 503 | this.print(node, undefined, trailingCommentsLineOffset || 0);
49
- | ^ 504 | iterator == null || iterator(node, i);
50
- 505 | if (boundSeparator != null) {
51
- 506 | if (i < len - 1) boundSeparator(i, false);else if (printTrailingSeparator) boundSeparator(i, true);
52
- View compiled
53
- Printer.printList
54
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:584
55
- 581 | this.printJoin(nodes, true, indent != null ? indent : false, undefined, undefined, addNewlines, undefined, trailingCommentsLineOffset);
56
- 582 | }
57
- 583 | printList(items, printTrailingSeparator, statement, indent, separator, iterator) {
58
- > 584 | this.printJoin(items, statement, indent, separator != null ? separator : commaSeparator, printTrailingSeparator, undefined, iterator);
59
- | ^ 585 | }
60
- 586 | shouldPrintTrailingComma(listEnd) {
61
- 587 | if (!this.tokenMap) return null;
62
- View compiled
63
- Printer.CallExpression
64
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/generators/expressions.js:187
65
- 184 | }
66
- 185 | this.tokenChar(40);
67
- 186 | const exit = this.enterDelimited();
68
- > 187 | this.printList(node.arguments, this.shouldPrintTrailingComma(")"));
69
- 188 | exit();
70
- 189 | this.rightParens(node);
71
- 190 | }
72
- View compiled
73
- Printer.exactSource
74
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:239
75
- 236 | }
76
- 237 | exactSource(loc, cb) {
77
- 238 | if (!loc) {
78
- > 239 | cb();
79
- | ^ 240 | return;
80
- 241 | }
81
- 242 | this._catchUp("start", loc);
82
- View compiled
83
- Printer.print
84
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:427
85
- 424 | this._lastCommentLine = 0;
86
- 425 | this._printLeadingComments(node, parent);
87
- 426 | const loc = nodeType === "Program" || nodeType === "File" ? null : node.loc;
88
- > 427 | this.exactSource(loc, printMethod.bind(this, node, parent));
89
- | ^ 428 | if (shouldPrintParens) {
90
- 429 | this._printTrailingComments(node, parent);
91
- 430 | if (indentParenthesized) {
92
- View compiled
93
- Printer.ExpressionStatement
94
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/generators/expressions.js:220
95
- 217 | }
96
- 218 | function ExpressionStatement(node) {
97
- 219 | this.tokenContext |= _index.TokenContext.expressionStatement;
98
- > 220 | this.print(node.expression);
99
- 221 | this.semicolon();
100
- 222 | }
101
- 223 | function AssignmentPattern(node) {
102
- View compiled
103
- Printer.exactSource
104
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:239
105
- 236 | }
106
- 237 | exactSource(loc, cb) {
107
- 238 | if (!loc) {
108
- > 239 | cb();
109
- | ^ 240 | return;
110
- 241 | }
111
- 242 | this._catchUp("start", loc);
112
- View compiled
113
- Printer.print
114
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:427
115
- 424 | this._lastCommentLine = 0;
116
- 425 | this._printLeadingComments(node, parent);
117
- 426 | const loc = nodeType === "Program" || nodeType === "File" ? null : node.loc;
118
- > 427 | this.exactSource(loc, printMethod.bind(this, node, parent));
119
- | ^ 428 | if (shouldPrintParens) {
120
- 429 | this._printTrailingComments(node, parent);
121
- 430 | if (indentParenthesized) {
122
- View compiled
123
- Printer.printJoin
124
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:503
125
- 500 | const node = nodes[i];
126
- 501 | if (!node) continue;
127
- 502 | if (statement) this._printNewline(i === 0, newlineOpts);
128
- > 503 | this.print(node, undefined, trailingCommentsLineOffset || 0);
129
- | ^ 504 | iterator == null || iterator(node, i);
130
- 505 | if (boundSeparator != null) {
131
- 506 | if (i < len - 1) boundSeparator(i, false);else if (printTrailingSeparator) boundSeparator(i, true);
132
- View compiled
133
- Printer.printSequence
134
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:581
135
- 578 | this._indentInnerComments = false;
136
- 579 | }
137
- 580 | printSequence(nodes, indent, trailingCommentsLineOffset, addNewlines) {
138
- > 581 | this.printJoin(nodes, true, indent != null ? indent : false, undefined, undefined, addNewlines, undefined, trailingCommentsLineOffset);
139
- | ^ 582 | }
140
- 583 | printList(items, printTrailingSeparator, statement, indent, separator, iterator) {
141
- 584 | this.printJoin(items, statement, indent, separator != null ? separator : commaSeparator, printTrailingSeparator, undefined, iterator);
142
- View compiled
143
- Printer.BlockStatement
144
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/generators/base.js:47
145
- 44 | this.newline(newline);
146
- 45 | }
147
- 46 | }
148
- > 47 | this.printSequence(node.body, true);
149
- 48 | exit();
150
- 49 | this.rightBrace(node);
151
- 50 | }
152
- View compiled
153
- Printer.exactSource
154
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:239
155
- 236 | }
156
- 237 | exactSource(loc, cb) {
157
- 238 | if (!loc) {
158
- > 239 | cb();
159
- | ^ 240 | return;
160
- 241 | }
161
- 242 | this._catchUp("start", loc);
162
- View compiled
163
- Printer.print
164
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:427
165
- 424 | this._lastCommentLine = 0;
166
- 425 | this._printLeadingComments(node, parent);
167
- 426 | const loc = nodeType === "Program" || nodeType === "File" ? null : node.loc;
168
- > 427 | this.exactSource(loc, printMethod.bind(this, node, parent));
169
- | ^ 428 | if (shouldPrintParens) {
170
- 429 | this._printTrailingComments(node, parent);
171
- 430 | if (indentParenthesized) {
172
- View compiled
173
- Printer.ArrowFunctionExpression
174
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/generators/methods.js:136
175
- 133 | this.token("=>");
176
- 134 | this.space();
177
- 135 | this.tokenContext |= _index.TokenContext.arrowBody;
178
- > 136 | this.print(node.body);
179
- 137 | }
180
- 138 | function _shouldPrintArrowParamsParens(node) {
181
- 139 | var _firstParam$leadingCo, _firstParam$trailingC;
182
- View compiled
183
- Printer.exactSource
184
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:239
185
- 236 | }
186
- 237 | exactSource(loc, cb) {
187
- 238 | if (!loc) {
188
- > 239 | cb();
189
- | ^ 240 | return;
190
- 241 | }
191
- 242 | this._catchUp("start", loc);
192
- View compiled
193
- Printer.print
194
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:427
195
- 424 | this._lastCommentLine = 0;
196
- 425 | this._printLeadingComments(node, parent);
197
- 426 | const loc = nodeType === "Program" || nodeType === "File" ? null : node.loc;
198
- > 427 | this.exactSource(loc, printMethod.bind(this, node, parent));
199
- | ^ 428 | if (shouldPrintParens) {
200
- 429 | this._printTrailingComments(node, parent);
201
- 430 | if (indentParenthesized) {
202
- View compiled
203
- Printer.ExpressionStatement
204
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/generators/expressions.js:220
205
- 217 | }
206
- 218 | function ExpressionStatement(node) {
207
- 219 | this.tokenContext |= _index.TokenContext.expressionStatement;
208
- > 220 | this.print(node.expression);
209
- 221 | this.semicolon();
210
- 222 | }
211
- 223 | function AssignmentPattern(node) {
212
- View compiled
213
- Printer.exactSource
214
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:239
215
- 236 | }
216
- 237 | exactSource(loc, cb) {
217
- 238 | if (!loc) {
218
- > 239 | cb();
219
- | ^ 240 | return;
220
- 241 | }
221
- 242 | this._catchUp("start", loc);
222
- View compiled
223
- Printer.print
224
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:427
225
- 424 | this._lastCommentLine = 0;
226
- 425 | this._printLeadingComments(node, parent);
227
- 426 | const loc = nodeType === "Program" || nodeType === "File" ? null : node.loc;
228
- > 427 | this.exactSource(loc, printMethod.bind(this, node, parent));
229
- | ^ 428 | if (shouldPrintParens) {
230
- 429 | this._printTrailingComments(node, parent);
231
- 430 | if (indentParenthesized) {
232
- View compiled
233
- Printer.generate
234
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:92
235
- 89 | if (this.format.preserveFormat) {
236
- 90 | this.tokenMap = new _tokenMap.TokenMap(ast, this._tokens, this._originalCode);
237
- 91 | }
238
- > 92 | this.print(ast);
239
- | ^ 93 | this._maybeAddAuxComment();
240
- 94 | return this._buf.get();
241
- 95 | }
242
- View compiled
243
- generate
244
- .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/index.js:108
245
- 105 | const format = normalizeOptions(code, opts, ast);
246
- 106 | const map = opts.sourceMaps ? new _sourceMap.default(opts, code) : null;
247
- 107 | const printer = new _printer.default(format, map, ast.tokens, typeof code === "string" ? code : null);
248
- > 108 | return printer.generate(ast);
249
- 109 | }
250
- 110 | var _default = exports.default = generate;
251
- 111 |
252
- View compiled
253
- ast2code
254
- .../loview-react-lowcode/packages/core/src/helpers/ast/generate.ts:26
255
- 23 | */
256
- 24 | export function ast2code(ast: t.Node, options = defaultGeneratorOptions) {
257
- 25 | const { formatter = true, ...generatorOptions } = options;
258
- > 26 | let code = generator(ast, {
259
- 27 | ...defaultGeneratorOptions,
260
- 28 | ...generatorOptions,
261
- 29 | }).code;
262
- View compiled
263
- expression2code
264
- .../loview-react-lowcode/packages/core/src/helpers/ast/generate.ts:47
265
- 44 | */
266
- 45 | export function expression2code(node: t.Expression) {
267
- 46 | const statement = t.expressionStatement(node);
268
- > 47 | let ret = ast2code(statement).trim();
269
- 48 | // �Ƴ�ĩβ�ķֺ�
270
- 49 | if (ret.endsWith(';')) {
271
- 50 | ret = ret.slice(0, -1);
272
- View compiled
273
- node2value
274
- .../loview-react-lowcode/packages/core/src/helpers/ast/generate.ts:192
275
- 189 | case 'CallExpression': // {{[1,2,3].map(fn)}}
276
- 190 | case 'JSXElement': // {{<Box>hello</Box>}}
277
- 191 | case 'JSXFragment': // {{<><Box /></>}}
278
- > 192 | ret = expression2code(node);
279
- | ^ 193 | if (isWrapCode) {
280
- 194 | ret = wrapCode(ret);
281
- 195 | }
282
- View compiled
283
- jsxAttributeValueNode2value
284
- .../loview-react-lowcode/packages/core/src/helpers/ast/generate.ts:252
285
- 249 | ret = jsxAttributeValueNode2value(node.expression);
286
- 250 | break;
287
- 251 | default: {
288
- > 252 | ret = node2value(node);
289
- | ^ 253 | break;
290
- 254 | }
291
- 255 | }
292
- View compiled
293
- jsxAttributeValueNode2value
294
- .../loview-react-lowcode/packages/core/src/helpers/ast/generate.ts:249
295
- 246 | // <Foo bar={2.2}>
296
- 247 | // <Foo bar={{}}>
297
- 248 | // <Foo bar={[]}>
298
- > 249 | ret = jsxAttributeValueNode2value(node.expression);
299
- | ^ 250 | break;
300
- 251 | default: {
301
- 252 | ret = node2value(node);
302
- View compiled
303
- (anonymous function)
304
- .../loview-react-lowcode/packages/core/src/helpers/ast/traverse.ts:122
305
- 119 | visitCallback(name, null as any, attrNode, true);
306
- 120 | return;
307
- 121 | }
308
- > 122 | const value = jsxAttributeValueNode2value(attrNode.value);
309
- | ^ 123 | visitCallback(name, value, attrNode);
310
- 124 | }
311
- 125 | });
312
- View compiled
313
- visitJSXElementAttributes
314
- .../loview-react-lowcode/packages/core/src/helpers/ast/traverse.ts:115
315
- 112 | implicitBoolean: true
316
- 113 | }
317
- 114 | ) {
318
- > 115 | node.openingElement?.attributes.forEach((attrNode) => {
319
- 116 | if (isFunction(visitCallback) && attrNode.type === 'JSXAttribute') {
320
- 117 | const name = keyNode2value(attrNode.name);
321
- 118 | if (attrNode.value === null && options?.implicitBoolean) {
322
- View compiled
323
- getJSXElementAttributes
324
- .../loview-react-lowcode/packages/core/src/helpers/ast/traverse.ts:176
325
- 173 | */
326
- 174 | export function getJSXElementAttributes(node: t.JSXElement, options?: GetAttributeOptions) {
327
- 175 | const ret: Record<string, any> = {};
328
- > 176 | visitJSXElementAttributes(node, (name, value, valueNode) => {
329
- 177 | if (!options?.exclude || !options.exclude(name, value, valueNode)) {
330
- 178 | ret[name] = value;
331
- 179 | }
332
- View compiled
333
- enter
334
- .../loview-react-lowcode/packages/core/src/helpers/ast/traverse.ts:2229
335
- 2226 |
336
- 2227 | JSXElement: {
337
- 2228 | enter(path) {
338
- > 2229 | const attributes = getJSXElementAttributes(path.node);
339
- | ^ 2230 |
340
- 2231 | // ��ȡ�����׷������
341
- 2232 | const trackDnd = attributes[SLOT.dnd];
1
+ [ASTCache] Parse miss (SWC) - /src/pages/Login/index.js (1.20ms)
2
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/Home.js (1.30ms)
3
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/TaskPending.js (2.00ms)
4
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/TaskCompleted.js (2.00ms)
5
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/CirculatePending.js (1.50ms)
6
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/CirculateCompleted.js (1.80ms)
7
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/MyProcess.js (1.60ms)
8
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/SyncProcess.js (2.50ms)
9
+ swc-parser.ts:666 [SWC] ����ʧ�ܣ����˵� Babel:
10
+ x Unexpected token `Page`. Expected jsx identifier
11
+ ,-[5:1]
12
+  5 | * interfaceName: �����¼�б��ӿ�
13
+  6 | * interface: /los/${appName}.pageImportApply
14
+  7 | * RESOURCESTREE-END
15
+  8 | */<Page data-dnd="%2Fsrc%2Fpages%2FImportRecord.js:Page:page5707" onMount={() => {$function.importRecord.fetchRecord();}} access={{ relatedInterfaces: [{ label: "�����¼�б��ӿ�", value: "/los/${appName}.pageImportApply" }] }}>
16
+ :  ^^^^
17
+  9 |
18
+ 10 |
19
+ `----
20
+
21
+
22
+ Caused by:
23
+ 0: failed to parse code
24
+ 1: Syntax Error
25
+ parseWithSWC @ swc-parser.ts:666
26
+ parseCode @ ast-cache.ts:740
27
+ parseSync @ ast-cache.ts:933
28
+ code2astWithCache @ ast-cache.ts:1277
29
+ code2astCached @ parse.ts:112
30
+ get @ light-module.ts:91
31
+ get @ light-module.ts:107
32
+ trackDerivedFunction @ mobx.esm.js:1842
33
+ computeValue_ @ mobx.esm.js:1636
34
+ trackAndCompute @ mobx.esm.js:1613
35
+ get @ mobx.esm.js:1582
36
+ getObservablePropValue_ @ mobx.esm.js:4744
37
+ get @ mobx.esm.js:5243
38
+ hasModelDiff @ workspace.ts:3262
39
+ (anonymous) @ useFolder.tsx:71
40
+ makeFileTree @ useFolder.tsx:64
41
+ useFolder @ useFolder.tsx:303
42
+ (anonymous) @ index.tsx:65
43
+ (anonymous) @ observer.js:44
44
+ (anonymous) @ useObserver.js:80
45
+ trackDerivedFunction @ mobx.esm.js:1842
46
+ track @ mobx.esm.js:2360
47
+ useObserver @ useObserver.js:78
48
+ (anonymous) @ observer.js:44
49
+ renderWithHooks @ react-dom.development.js:15015
50
+ updateFunctionComponent @ react-dom.development.js:17386
51
+ updateSimpleMemoComponent @ react-dom.development.js:17245
52
+ beginWork @ react-dom.development.js:19170
53
+ beginWork$1 @ react-dom.development.js:23970
54
+ performUnitOfWork @ react-dom.development.js:22809
55
+ workLoopSync @ react-dom.development.js:22737
56
+ renderRootSync @ react-dom.development.js:22700
57
+ performSyncWorkOnRoot @ react-dom.development.js:22323
58
+ (anonymous) @ react-dom.development.js:11357
59
+ unstable_runWithPriority @ react.development.js:2764
60
+ runWithPriority$1 @ react-dom.development.js:11306
61
+ flushSyncCallbackQueueImpl @ react-dom.development.js:11352
62
+ flushSyncCallbackQueue @ react-dom.development.js:11339
63
+ discreteUpdates$1 @ react-dom.development.js:22450
64
+ discreteUpdates @ react-dom.development.js:3753
65
+ dispatchDiscreteEvent @ react-dom.development.js:5919
66
+ light-module.ts:99 SyntaxError: Unexpected token (50:732) (at index.js:363:1)
67
+ at constructor (index.js:363:1)
68
+ at JSXParserMixin.raise (index.js:6609:1)
69
+ at JSXParserMixin.unexpected (index.js:6629:1)
70
+ at JSXParserMixin.parseExprAtom (index.js:11378:1)
71
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
72
+ at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
73
+ at JSXParserMixin.parseUpdate (index.js:10997:1)
74
+ at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
75
+ at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
76
+ at JSXParserMixin.parseExprOps (index.js:10835:1)
77
+ at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
78
+ at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
79
+ at index.js:10734:1
80
+ at JSXParserMixin.allowInAnd (index.js:12361:1)
81
+ at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
82
+ at JSXParserMixin.parseObjectProperty (index.js:11885:1)
83
+ at JSXParserMixin.parseObjPropValue (index.js:11913:1)
84
+ at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
85
+ at JSXParserMixin.parseObjectLike (index.js:11765:1)
86
+ at JSXParserMixin.parseExprAtom (index.js:11270:1)
87
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
88
+ at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
89
+ at JSXParserMixin.parseUpdate (index.js:10997:1)
90
+ at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
91
+ at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
92
+ at JSXParserMixin.parseExprOps (index.js:10835:1)
93
+ at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
94
+ at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
95
+ at index.js:10734:1
96
+ at JSXParserMixin.allowInAnd (index.js:12361:1)
97
+ at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
98
+ at JSXParserMixin.parseParenAndDistinguishExpression (index.js:11608:1)
99
+ at JSXParserMixin.parseExprAtom (index.js:11262:1)
100
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
101
+ at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
102
+ at JSXParserMixin.parseUpdate (index.js:10997:1)
103
+ at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
104
+ at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
105
+ at JSXParserMixin.parseExprOps (index.js:10835:1)
106
+ at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
107
+ at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
108
+ at index.js:10734:1
109
+ at JSXParserMixin.allowInAnd (index.js:12361:1)
110
+ at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
111
+ at JSXParserMixin.parseObjectProperty (index.js:11885:1)
112
+ at JSXParserMixin.parseObjPropValue (index.js:11913:1)
113
+ at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
114
+ at JSXParserMixin.parseObjectLike (index.js:11765:1)
115
+ at JSXParserMixin.parseExprAtom (index.js:11270:1)
116
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
117
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/PositionMgt.js (1.80ms)
118
+ swc-parser.ts:666 [SWC] ����ʧ�ܣ����˵� Babel:
119
+ x Unexpected token `Page`. Expected jsx identifier
120
+ ,-[8:1]
121
+  8 | * interfaceName: ��ѯ��Ա�ӿ�
122
+  9 | * interface: /los/${appName}.listUser
123
+ 10 | * RESOURCESTREE-END
124
+ 11 | */<Page data-dnd="%2Fsrc%2Fpages%2FDepartmentMgt.js:Page:page2bd7" onMount={() => {$function.department?.getDepartmentTree?.();$function.department.getDepartmentListUser();}} access={{ relatedInterfaces: [{ label: "��ȡ�������ӿ�", value: "/los/${appName}.listDepartmentTree" }, { label: "��ѯ��Ա�ӿ�", value: "/los/${appName}.listUser" }] }} className="deptMgt-page">
125
+ :  ^^^^
126
+ 12 |
127
+ 13 |
128
+ `----
129
+
130
+
131
+ Caused by:
132
+ 0: failed to parse code
133
+ 1: Syntax Error
134
+ parseWithSWC @ swc-parser.ts:666
135
+ parseCode @ ast-cache.ts:740
136
+ parseSync @ ast-cache.ts:933
137
+ code2astWithCache @ ast-cache.ts:1277
138
+ code2astCached @ parse.ts:112
139
+ get @ light-module.ts:91
140
+ get @ light-module.ts:107
141
+ trackDerivedFunction @ mobx.esm.js:1842
142
+ computeValue_ @ mobx.esm.js:1636
143
+ trackAndCompute @ mobx.esm.js:1613
144
+ get @ mobx.esm.js:1582
145
+ getObservablePropValue_ @ mobx.esm.js:4744
146
+ get @ mobx.esm.js:5243
147
+ hasModelDiff @ workspace.ts:3262
148
+ (anonymous) @ useFolder.tsx:71
149
+ makeFileTree @ useFolder.tsx:64
150
+ useFolder @ useFolder.tsx:303
151
+ (anonymous) @ index.tsx:65
152
+ (anonymous) @ observer.js:44
153
+ (anonymous) @ useObserver.js:80
154
+ trackDerivedFunction @ mobx.esm.js:1842
155
+ track @ mobx.esm.js:2360
156
+ useObserver @ useObserver.js:78
157
+ (anonymous) @ observer.js:44
158
+ renderWithHooks @ react-dom.development.js:15015
159
+ updateFunctionComponent @ react-dom.development.js:17386
160
+ updateSimpleMemoComponent @ react-dom.development.js:17245
161
+ beginWork @ react-dom.development.js:19170
162
+ beginWork$1 @ react-dom.development.js:23970
163
+ performUnitOfWork @ react-dom.development.js:22809
164
+ workLoopSync @ react-dom.development.js:22737
165
+ renderRootSync @ react-dom.development.js:22700
166
+ performSyncWorkOnRoot @ react-dom.development.js:22323
167
+ (anonymous) @ react-dom.development.js:11357
168
+ unstable_runWithPriority @ react.development.js:2764
169
+ runWithPriority$1 @ react-dom.development.js:11306
170
+ flushSyncCallbackQueueImpl @ react-dom.development.js:11352
171
+ flushSyncCallbackQueue @ react-dom.development.js:11339
172
+ discreteUpdates$1 @ react-dom.development.js:22450
173
+ discreteUpdates @ react-dom.development.js:3753
174
+ dispatchDiscreteEvent @ react-dom.development.js:5919
175
+ light-module.ts:99 SyntaxError: Unexpected token (23:233) (at index.js:363:1)
176
+ at constructor (index.js:363:1)
177
+ at JSXParserMixin.raise (index.js:6609:1)
178
+ at JSXParserMixin.unexpected (index.js:6629:1)
179
+ at JSXParserMixin.parseExprAtom (index.js:11378:1)
180
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
181
+ at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
182
+ at JSXParserMixin.parseUpdate (index.js:10997:1)
183
+ at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
184
+ at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
185
+ at JSXParserMixin.parseExprOps (index.js:10835:1)
186
+ at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
187
+ at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
188
+ at index.js:10734:1
189
+ at JSXParserMixin.allowInAnd (index.js:12361:1)
190
+ at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
191
+ at JSXParserMixin.parseObjectProperty (index.js:11885:1)
192
+ at JSXParserMixin.parseObjPropValue (index.js:11913:1)
193
+ at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
194
+ at JSXParserMixin.parseObjectLike (index.js:11765:1)
195
+ at JSXParserMixin.parseExprAtom (index.js:11270:1)
196
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
197
+ at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
198
+ at JSXParserMixin.parseUpdate (index.js:10997:1)
199
+ at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
200
+ at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
201
+ at JSXParserMixin.parseExprOps (index.js:10835:1)
202
+ at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
203
+ at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
204
+ at index.js:10734:1
205
+ at JSXParserMixin.allowInAnd (index.js:12361:1)
206
+ at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
207
+ at JSXParserMixin.parseParenAndDistinguishExpression (index.js:11608:1)
208
+ at JSXParserMixin.parseExprAtom (index.js:11262:1)
209
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
210
+ at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
211
+ at JSXParserMixin.parseUpdate (index.js:10997:1)
212
+ at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
213
+ at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
214
+ at JSXParserMixin.parseExprOps (index.js:10835:1)
215
+ at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
216
+ at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
217
+ at JSXParserMixin.parseExpressionBase (index.js:10718:1)
218
+ at index.js:10714:1
219
+ at JSXParserMixin.allowInAnd (index.js:12361:1)
220
+ at JSXParserMixin.parseExpression (index.js:10714:1)
221
+ at JSXParserMixin.jsxParseExpressionContainer (index.js:4644:1)
222
+ at JSXParserMixin.jsxParseAttributeValue (index.js:4616:1)
223
+ at JSXParserMixin.jsxParseAttribute (index.js:4665:1)
224
+ at JSXParserMixin.jsxParseOpeningElementAfterName (index.js:4679:1)
225
+ at JSXParserMixin.jsxParseOpeningElementAt (index.js:4674:1)
226
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/UserMgt.js (3.40ms)
227
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/ResourceMgt.js (1.00ms)
228
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createItem.js (9.40ms)
229
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/traceTask.js (9.60ms)
230
+ swc-parser.ts:666 [SWC] ����ʧ�ܣ����˵� Babel:
231
+ x Unexpected token `}`. Expected yield, an identifier, [ or {
232
+ ,-[1:1]
233
+ 1 | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page } from "@loview/lowcode-react-antd";import WorkFlowProcessConfigPage from "../components/WorkFlowProcessTrace/index.js";class App extends React.Component {render() {const { match: } = this.props;const id = match.params?.id;return (/**
234
+ :  ^
235
+ 2 | * RESOURCESTREE-START
236
+ 3 | * interfaces:
237
+ 4 | * -
238
+ `----
239
+
240
+
241
+ Caused by:
242
+ 0: failed to parse code
243
+ 1: Syntax Error
244
+ parseWithSWC @ swc-parser.ts:666
245
+ parseCode @ ast-cache.ts:740
246
+ parseSync @ ast-cache.ts:933
247
+ code2astWithCache @ ast-cache.ts:1277
248
+ code2astCached @ parse.ts:112
249
+ get @ light-module.ts:91
250
+ get @ light-module.ts:107
251
+ trackDerivedFunction @ mobx.esm.js:1842
252
+ computeValue_ @ mobx.esm.js:1636
253
+ trackAndCompute @ mobx.esm.js:1613
254
+ get @ mobx.esm.js:1582
255
+ getObservablePropValue_ @ mobx.esm.js:4744
256
+ get @ mobx.esm.js:5243
257
+ hasModelDiff @ workspace.ts:3262
258
+ (anonymous) @ useFolder.tsx:71
259
+ makeFileTree @ useFolder.tsx:64
260
+ useFolder @ useFolder.tsx:303
261
+ (anonymous) @ index.tsx:65
262
+ (anonymous) @ observer.js:44
263
+ (anonymous) @ useObserver.js:80
264
+ trackDerivedFunction @ mobx.esm.js:1842
265
+ track @ mobx.esm.js:2360
266
+ useObserver @ useObserver.js:78
267
+ (anonymous) @ observer.js:44
268
+ renderWithHooks @ react-dom.development.js:15015
269
+ updateFunctionComponent @ react-dom.development.js:17386
270
+ updateSimpleMemoComponent @ react-dom.development.js:17245
271
+ beginWork @ react-dom.development.js:19170
272
+ beginWork$1 @ react-dom.development.js:23970
273
+ performUnitOfWork @ react-dom.development.js:22809
274
+ workLoopSync @ react-dom.development.js:22737
275
+ renderRootSync @ react-dom.development.js:22700
276
+ performSyncWorkOnRoot @ react-dom.development.js:22323
277
+ (anonymous) @ react-dom.development.js:11357
278
+ unstable_runWithPriority @ react.development.js:2764
279
+ runWithPriority$1 @ react-dom.development.js:11306
280
+ flushSyncCallbackQueueImpl @ react-dom.development.js:11352
281
+ flushSyncCallbackQueue @ react-dom.development.js:11339
282
+ discreteUpdates$1 @ react-dom.development.js:22450
283
+ discreteUpdates @ react-dom.development.js:3753
284
+ dispatchDiscreteEvent @ react-dom.development.js:5919
285
+ light-module.ts:99 SyntaxError: Unexpected token (1:276) (at index.js:363:1)
286
+ at constructor (index.js:363:1)
287
+ at JSXParserMixin.raise (index.js:6609:1)
288
+ at JSXParserMixin.unexpected (index.js:6629:1)
289
+ at JSXParserMixin.parseIdentifierName (index.js:12138:1)
290
+ at JSXParserMixin.parseIdentifier (index.js:12116:1)
291
+ at JSXParserMixin.parseBindingAtom (index.js:7345:1)
292
+ at JSXParserMixin.parseMaybeDefault (index.js:7428:1)
293
+ at JSXParserMixin.parseObjectProperty (index.js:11885:1)
294
+ at JSXParserMixin.parseObjPropValue (index.js:11913:1)
295
+ at JSXParserMixin.parseBindingProperty (index.js:7409:1)
296
+ at JSXParserMixin.parseObjectLike (index.js:11763:1)
297
+ at JSXParserMixin.parseBindingAtom (index.js:7343:1)
298
+ at JSXParserMixin.parseVarId (index.js:13321:1)
299
+ at JSXParserMixin.parseVar (index.js:13302:1)
300
+ at JSXParserMixin.parseVarStatement (index.js:13149:1)
301
+ at JSXParserMixin.parseStatementContent (index.js:12770:1)
302
+ at JSXParserMixin.parseStatementLike (index.js:12685:1)
303
+ at JSXParserMixin.parseStatementListItem (index.js:12665:1)
304
+ at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
305
+ at JSXParserMixin.parseBlockBody (index.js:13228:1)
306
+ at JSXParserMixin.parseBlock (index.js:13216:1)
307
+ at JSXParserMixin.parseFunctionBody (index.js:12035:1)
308
+ at JSXParserMixin.parseFunctionBodyAndFinish (index.js:12021:1)
309
+ at JSXParserMixin.parseMethod (index.js:11979:1)
310
+ at JSXParserMixin.pushClassMethod (index.js:13642:1)
311
+ at JSXParserMixin.parseClassMemberWithIsStatic (index.js:13530:1)
312
+ at JSXParserMixin.parseClassMember (index.js:13478:1)
313
+ at index.js:13432:1
314
+ at JSXParserMixin.withSmartMixTopicForbiddingContext (index.js:12338:1)
315
+ at JSXParserMixin.parseClassBody (index.js:13414:1)
316
+ at JSXParserMixin.parseClass (index.js:13389:1)
317
+ at JSXParserMixin.parseStatementContent (index.js:12712:1)
318
+ at JSXParserMixin.parseStatementLike (index.js:12685:1)
319
+ at JSXParserMixin.parseModuleItem (index.js:12662:1)
320
+ at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
321
+ at JSXParserMixin.parseBlockBody (index.js:13228:1)
322
+ at JSXParserMixin.parseProgram (index.js:12541:1)
323
+ at JSXParserMixin.parseTopLevel (index.js:12531:1)
324
+ at JSXParserMixin.parse (index.js:14410:1)
325
+ at parse (index.js:14444:1)
326
+ at parseWithSWC (swc-parser.ts:668:1)
327
+ at ASTCache.parseCode (ast-cache.ts:740:1)
328
+ at ASTCache.parseSync (ast-cache.ts:933:1)
329
+ at code2astWithCache (ast-cache.ts:1277:1)
330
+ at code2astCached (parse.ts:112:1)
331
+ at LowCodeLightModule.get (light-module.ts:91:1)
332
+ at LowCodeLightModule.get (light-module.ts:107:1)
333
+ at trackDerivedFunction (mobx.esm.js:1842:1)
334
+ at ComputedValue.computeValue_ (mobx.esm.js:1636:1)
335
+ at ComputedValue.trackAndCompute (mobx.esm.js:1613:1)
336
+ swc-parser.ts:666 [SWC] ����ʧ�ܣ����˵� Babel:
337
+ x Unexpected token `,`. Expected yield, an identifier, [ or {
338
+ ,-[1:1]
339
+ 1 | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { getParamsFromRoute } from "../utils";import { Page, Button, Row, Section, Space, Table, Block } from "@loview/lowcode-react-antd";import Modal390 from "./ImportDetailModals/modal390.js";import Modal922 from "./ImportDetailModals/modal922.js";import Modal178 from "./ImportDetailModals/modal178.js";import Modal210 from "./ImportDetailModals/modal210.js";import Modal889 from "./ImportDetailModals/modal889.js";class App extends React.Component {render() {const { location: , match: } = this.props;const id = match.params?.id;const searchParams = getParamsFromRoute(location.search);const readonly = searchParams?.readonly === "true";return (/**
340
+ :  ^
341
+ 2 | * RESOURCESTREE-START
342
+ 3 | * interfaces:
343
+ 4 | * -
344
+ `----
345
+
346
+
347
+ Caused by:
348
+ 0: failed to parse code
349
+ 1: Syntax Error
350
+ parseWithSWC @ swc-parser.ts:666
351
+ parseCode @ ast-cache.ts:740
352
+ parseSync @ ast-cache.ts:933
353
+ code2astWithCache @ ast-cache.ts:1277
354
+ code2astCached @ parse.ts:112
355
+ get @ light-module.ts:91
356
+ get @ light-module.ts:107
357
+ trackDerivedFunction @ mobx.esm.js:1842
358
+ computeValue_ @ mobx.esm.js:1636
359
+ trackAndCompute @ mobx.esm.js:1613
360
+ get @ mobx.esm.js:1582
361
+ getObservablePropValue_ @ mobx.esm.js:4744
362
+ get @ mobx.esm.js:5243
363
+ hasModelDiff @ workspace.ts:3262
364
+ (anonymous) @ useFolder.tsx:71
365
+ makeFileTree @ useFolder.tsx:64
366
+ useFolder @ useFolder.tsx:303
367
+ (anonymous) @ index.tsx:65
368
+ (anonymous) @ observer.js:44
369
+ (anonymous) @ useObserver.js:80
370
+ trackDerivedFunction @ mobx.esm.js:1842
371
+ track @ mobx.esm.js:2360
372
+ useObserver @ useObserver.js:78
373
+ (anonymous) @ observer.js:44
374
+ renderWithHooks @ react-dom.development.js:15015
375
+ updateFunctionComponent @ react-dom.development.js:17386
376
+ updateSimpleMemoComponent @ react-dom.development.js:17245
377
+ beginWork @ react-dom.development.js:19170
378
+ beginWork$1 @ react-dom.development.js:23970
379
+ performUnitOfWork @ react-dom.development.js:22809
380
+ workLoopSync @ react-dom.development.js:22737
381
+ renderRootSync @ react-dom.development.js:22700
382
+ performSyncWorkOnRoot @ react-dom.development.js:22323
383
+ (anonymous) @ react-dom.development.js:11357
384
+ unstable_runWithPriority @ react.development.js:2764
385
+ runWithPriority$1 @ react-dom.development.js:11306
386
+ flushSyncCallbackQueueImpl @ react-dom.development.js:11352
387
+ flushSyncCallbackQueue @ react-dom.development.js:11339
388
+ discreteUpdates$1 @ react-dom.development.js:22450
389
+ discreteUpdates @ react-dom.development.js:3753
390
+ dispatchDiscreteEvent @ react-dom.development.js:5919
391
+ light-module.ts:99 SyntaxError: Unexpected token (1:564) (at index.js:363:1)
392
+ at constructor (index.js:363:1)
393
+ at JSXParserMixin.raise (index.js:6609:1)
394
+ at JSXParserMixin.unexpected (index.js:6629:1)
395
+ at JSXParserMixin.parseIdentifierName (index.js:12138:1)
396
+ at JSXParserMixin.parseIdentifier (index.js:12116:1)
397
+ at JSXParserMixin.parseBindingAtom (index.js:7345:1)
398
+ at JSXParserMixin.parseMaybeDefault (index.js:7428:1)
399
+ at JSXParserMixin.parseObjectProperty (index.js:11885:1)
400
+ at JSXParserMixin.parseObjPropValue (index.js:11913:1)
401
+ at JSXParserMixin.parseBindingProperty (index.js:7409:1)
402
+ at JSXParserMixin.parseObjectLike (index.js:11763:1)
403
+ at JSXParserMixin.parseBindingAtom (index.js:7343:1)
404
+ at JSXParserMixin.parseVarId (index.js:13321:1)
405
+ at JSXParserMixin.parseVar (index.js:13302:1)
406
+ at JSXParserMixin.parseVarStatement (index.js:13149:1)
407
+ at JSXParserMixin.parseStatementContent (index.js:12770:1)
408
+ at JSXParserMixin.parseStatementLike (index.js:12685:1)
409
+ at JSXParserMixin.parseStatementListItem (index.js:12665:1)
410
+ at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
411
+ at JSXParserMixin.parseBlockBody (index.js:13228:1)
412
+ at JSXParserMixin.parseBlock (index.js:13216:1)
413
+ at JSXParserMixin.parseFunctionBody (index.js:12035:1)
414
+ at JSXParserMixin.parseFunctionBodyAndFinish (index.js:12021:1)
415
+ at JSXParserMixin.parseMethod (index.js:11979:1)
416
+ at JSXParserMixin.pushClassMethod (index.js:13642:1)
417
+ at JSXParserMixin.parseClassMemberWithIsStatic (index.js:13530:1)
418
+ at JSXParserMixin.parseClassMember (index.js:13478:1)
419
+ at index.js:13432:1
420
+ at JSXParserMixin.withSmartMixTopicForbiddingContext (index.js:12338:1)
421
+ at JSXParserMixin.parseClassBody (index.js:13414:1)
422
+ at JSXParserMixin.parseClass (index.js:13389:1)
423
+ at JSXParserMixin.parseStatementContent (index.js:12712:1)
424
+ at JSXParserMixin.parseStatementLike (index.js:12685:1)
425
+ at JSXParserMixin.parseModuleItem (index.js:12662:1)
426
+ at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
427
+ at JSXParserMixin.parseBlockBody (index.js:13228:1)
428
+ at JSXParserMixin.parseProgram (index.js:12541:1)
429
+ at JSXParserMixin.parseTopLevel (index.js:12531:1)
430
+ at JSXParserMixin.parse (index.js:14410:1)
431
+ at parse (index.js:14444:1)
432
+ at parseWithSWC (swc-parser.ts:668:1)
433
+ at ASTCache.parseCode (ast-cache.ts:740:1)
434
+ at ASTCache.parseSync (ast-cache.ts:933:1)
435
+ at code2astWithCache (ast-cache.ts:1277:1)
436
+ at code2astCached (parse.ts:112:1)
437
+ at LowCodeLightModule.get (light-module.ts:91:1)
438
+ at LowCodeLightModule.get (light-module.ts:107:1)
439
+ at trackDerivedFunction (mobx.esm.js:1842:1)
440
+ at ComputedValue.computeValue_ (mobx.esm.js:1636:1)
441
+ at ComputedValue.trackAndCompute (mobx.esm.js:1613:1)
442
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/UpdatePwd.js (1.80ms)
443
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/getTechItem.js (16.30ms)
444
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createDemo.js (3.90ms)
445
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createTechRequirement.js (4.90ms)
446
+ swc-parser.ts:666 [SWC] ����ʧ�ܣ����˵� Babel:
447
+ x Unexpected token `Page`. Expected jsx identifier
448
+ ,-[1:1]
449
+ 1 | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page, QueryPage, Section, Row, Col, FForm, FFormItem, FFormFooter, FReset, FSubmit, Space, Button, Table, Descriptions } from "@loview/lowcode-react-antd";import ReadModal from "./techReqDemoModals/ReadModal.js";import CreateModal from "./techReqDemoModals/CreateModal.js";import UpdateModal from "./techReqDemoModals/UpdateModal.js";class App extends React.Component {render() {return (<Page data-dnd="%2Fsrc%2Fpages%2FtechReqDemo.js:Page:page57fd">
450
+ :  ^^^^
451
+ 2 |
452
+ 3 | <div data-dnd="%2Fsrc%2Fpages%2FtechReqDemo.js:div:techRequirementd428" data-meta="TechRequirement" tid="techRequirementd428" data-name="TechRequirement" data-tag="MetaContext">
453
+ `----
454
+
455
+
456
+ Caused by:
457
+ 0: failed to parse code
458
+ 1: Syntax Error
459
+ parseWithSWC @ swc-parser.ts:666
460
+ parseCode @ ast-cache.ts:740
461
+ parseSync @ ast-cache.ts:933
462
+ code2astWithCache @ ast-cache.ts:1277
463
+ code2astCached @ parse.ts:112
464
+ get @ light-module.ts:91
465
+ get @ light-module.ts:107
466
+ trackDerivedFunction @ mobx.esm.js:1842
467
+ computeValue_ @ mobx.esm.js:1636
468
+ trackAndCompute @ mobx.esm.js:1613
469
+ get @ mobx.esm.js:1582
470
+ getObservablePropValue_ @ mobx.esm.js:4744
471
+ get @ mobx.esm.js:5243
472
+ hasDiff @ workspace.ts:3245
473
+ (anonymous) @ useFolder.tsx:71
474
+ makeFileTree @ useFolder.tsx:64
475
+ useFolder @ useFolder.tsx:303
476
+ (anonymous) @ index.tsx:65
477
+ (anonymous) @ observer.js:44
478
+ (anonymous) @ useObserver.js:80
479
+ trackDerivedFunction @ mobx.esm.js:1842
480
+ track @ mobx.esm.js:2360
481
+ useObserver @ useObserver.js:78
482
+ (anonymous) @ observer.js:44
483
+ renderWithHooks @ react-dom.development.js:15015
484
+ updateFunctionComponent @ react-dom.development.js:17386
485
+ updateSimpleMemoComponent @ react-dom.development.js:17245
486
+ beginWork @ react-dom.development.js:19170
487
+ beginWork$1 @ react-dom.development.js:23970
488
+ performUnitOfWork @ react-dom.development.js:22809
489
+ workLoopSync @ react-dom.development.js:22737
490
+ renderRootSync @ react-dom.development.js:22700
491
+ performSyncWorkOnRoot @ react-dom.development.js:22323
492
+ (anonymous) @ react-dom.development.js:11357
493
+ unstable_runWithPriority @ react.development.js:2764
494
+ runWithPriority$1 @ react-dom.development.js:11306
495
+ flushSyncCallbackQueueImpl @ react-dom.development.js:11352
496
+ flushSyncCallbackQueue @ react-dom.development.js:11339
497
+ discreteUpdates$1 @ react-dom.development.js:22450
498
+ discreteUpdates @ react-dom.development.js:3753
499
+ dispatchDiscreteEvent @ react-dom.development.js:5919
500
+ light-module.ts:99 SyntaxError: Unexpected token (289:4498) (at index.js:363:1)
501
+ at constructor (index.js:363:1)
502
+ at JSXParserMixin.raise (index.js:6609:1)
503
+ at JSXParserMixin.unexpected (index.js:6629:1)
504
+ at JSXParserMixin.parseExprAtom (index.js:11378:1)
505
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
506
+ at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
507
+ at JSXParserMixin.parseUpdate (index.js:10997:1)
508
+ at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
509
+ at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
510
+ at JSXParserMixin.parseExprOps (index.js:10835:1)
511
+ at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
512
+ at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
513
+ at index.js:10734:1
514
+ at JSXParserMixin.allowInAnd (index.js:12361:1)
515
+ at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
516
+ at JSXParserMixin.parseObjectProperty (index.js:11885:1)
517
+ at JSXParserMixin.parseObjPropValue (index.js:11913:1)
518
+ at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
519
+ at JSXParserMixin.parseObjectLike (index.js:11765:1)
520
+ at JSXParserMixin.parseExprAtom (index.js:11270:1)
521
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
522
+ at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
523
+ at JSXParserMixin.parseUpdate (index.js:10997:1)
524
+ at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
525
+ at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
526
+ at JSXParserMixin.parseExprOps (index.js:10835:1)
527
+ at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
528
+ at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
529
+ at index.js:10734:1
530
+ at JSXParserMixin.allowInAnd (index.js:12361:1)
531
+ at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
532
+ at JSXParserMixin.parseParenAndDistinguishExpression (index.js:11608:1)
533
+ at JSXParserMixin.parseExprAtom (index.js:11262:1)
534
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
535
+ at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
536
+ at JSXParserMixin.parseUpdate (index.js:10997:1)
537
+ at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
538
+ at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
539
+ at JSXParserMixin.parseExprOps (index.js:10835:1)
540
+ at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
541
+ at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
542
+ at index.js:10734:1
543
+ at JSXParserMixin.allowInAnd (index.js:12361:1)
544
+ at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
545
+ at JSXParserMixin.parseObjectProperty (index.js:11885:1)
546
+ at JSXParserMixin.parseObjPropValue (index.js:11913:1)
547
+ at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
548
+ at JSXParserMixin.parseObjectLike (index.js:11765:1)
549
+ at JSXParserMixin.parseExprAtom (index.js:11270:1)
550
+ at JSXParserMixin.parseExprAtom (index.js:4776:1)
551
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/techReqCreateDemo.js (8.40ms)
552
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/techReqDetail.js (3.70ms)
553
+ sandbox.tsx:193 [useSandbox] Setting eventHandlers to sandboxProps, count: 13
554
+ index.tsx:92 [CodeSandbox] eventHandlers comparison: {changed: false, prevKeys: Array(13), nextKeys: Array(13), iframeReady: true}
555
+ sandbox.tsx:193 [useSandbox] Setting eventHandlers to sandboxProps, count: 13
556
+ index.tsx:92 [CodeSandbox] eventHandlers comparison: {changed: false, prevKeys: Array(13), nextKeys: Array(13), iframeReady: true}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lc-test3",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {