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

error while generating cxfCore #250

Open
anandkp92 opened this issue Oct 4, 2024 · 1 comment
Open

error while generating cxfCore #250

anandkp92 opened this issue Oct 4, 2024 · 1 comment
Assignees

Comments

@anandkp92
Copy link
Member

node app.js -f ~/Programming/modelica/modelica-buildings/Buildings/Controls/OBC/CDL -o cxf --elementary --cxfCore 
/Users/akprakash/Programming/modelica/test/modelica-json/lib/objectExtractor.js:353
              if ('simple_expression' in subscript.expression) {
                                      ^

TypeError: Cannot use 'in' operator to search for 'simple_expression' in undefined
    at /Users/akprakash/Programming/modelica/test/modelica-json/lib/objectExtractor.js:353:39
    at Array.forEach (<anonymous>)
    at extractFromElementList (/Users/akprakash/Programming/modelica/test/modelica-json/lib/objectExtractor.js:351:60)
    at extractFromComposition (/Users/akprakash/Programming/modelica/test/modelica-json/lib/objectExtractor.js:228:21)
    at extractFromLongClassSpecifier (/Users/akprakash/Programming/modelica/test/modelica-json/lib/objectExtractor.js:194:27)
    at Object.extractAllObjects (/Users/akprakash/Programming/modelica/test/modelica-json/lib/objectExtractor.js:106:29)
    at generateAllObjectsJson (/Users/akprakash/Programming/modelica/test/modelica-json/lib/parser.js:156:29)
    at getSimpleJson (/Users/akprakash/Programming/modelica/test/modelica-json/lib/parser.js:144:28)
    at /Users/akprakash/Programming/modelica/test/modelica-json/lib/parser.js:55:14
    at Array.forEach (<anonymous>)
    at Object.getJsons (/Users/akprakash/Programming/modelica/test/modelica-json/lib/parser.js:49:13)
    at /Users/akprakash/Programming/modelica/test/modelica-json/app.js:126:10
    at new Promise (<anonymous>)
    at Object.<anonymous> (/Users/akprakash/Programming/modelica/test/modelica-json/app.js:122:35)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)

Node.js v20.9.0
@anandkp92 anandkp92 self-assigned this Oct 4, 2024
@anandkp92
Copy link
Member Author

Tracking fixes in this branch.

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