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

when i'm parsing file it getting error #149

Open
Priyanshukeshri opened this issue Mar 23, 2023 · 0 comments
Open

when i'm parsing file it getting error #149

Priyanshukeshri opened this issue Mar 23, 2023 · 0 comments

Comments

@Priyanshukeshri
Copy link

This is the error
C:\Users\kumarkes\Downloads\check\python\yang\node_modules\yang-js\lib\yang.js:328
for (j = 0, len1 = modules.length; j < len1; j++) {
^

TypeError: Cannot read properties of undefined (reading 'length')
at prefix2module (C:\Users\kumarkes\Downloads\check\python\yang\node_modules\yang-js\lib\yang.js:328:42)
at normalizeEntry (C:\Users\kumarkes\Downloads\check\python\yang\node_modules\yang-js\lib\yang.js:354:23)
at Array.map ()
at Function.normalizePath (C:\Users\kumarkes\Downloads\check\python\yang\node_modules\yang-js\lib\yang.js:359:34)
at Function.locate (C:\Users\kumarkes\Downloads\check\python\yang\node_modules\yang-js\lib\yang.js:386:33)
at Function.locate (C:\Users\kumarkes\Downloads\check\python\yang\node_modules\yang-js\lib\yang.js:384:30)
at Function. (C:\Users\kumarkes\Downloads\check\python\yang\node_modules\yang-js\lib\lang\extensions.js:193:27)
at Function.resolve (C:\Users\kumarkes\Downloads\check\python\yang\node_modules\yang-js\lib\lang\extensions.js:200:12)
at Function.compile (C:\Users\kumarkes\Downloads\check\python\yang\node_modules\yang-js\lib\expression.js:49:17)
at Function.compile (C:\Users\kumarkes\Downloads\check\python\yang\node_modules\yang-js\lib\yang.js:168:22)

Node.js v18.14.0

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