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

Cross-Dependency Issue with Server and Parser #32

Closed
parithon opened this issue Oct 31, 2022 · 0 comments · Fixed by #33
Closed

Cross-Dependency Issue with Server and Parser #32

parithon opened this issue Oct 31, 2022 · 0 comments · Fixed by #33

Comments

@parithon
Copy link
Contributor

As of version 1.0.39, there appears to be a cross-dependency issue with the ./server and ./parser code which prevents them from compiling out-of-the-box. Below is an example of the errors I received when I cloned the repository, ran npm install then npm run compile without making any other changes.

I plan on providing a pull request with a fix for these dependency issues.

❯ npm run compile 06:10:40PM

sailpoint-iiq-dev-accelerator@1.0.39 compile
tsc -b

server/src/server.ts:18:25 - error TS2307: Cannot find module '../../parser/out/SPBSLexer' or its corresponding type declarations.

18 import {SPBSLexer} from '../../parser/out/SPBSLexer';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

server/src/server.ts:19:26 - error TS2307: Cannot find module '../../parser/out/SPBSParser' or its corresponding type declarations.

19 import {SPBSParser} from '../../parser/out/SPBSParser';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

server/src/server.ts:20:37 - error TS2307: Cannot find module '../../parser/out/SPBSParserVisitorImpl' or its corresponding type declarations.

20 import {SPBSParserVisitorImpl} from '../../parser/out/SPBSParserVisitorImpl';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

server/src/server.ts:22:39 - error TS2307: Cannot find module '../../parser/out/ParserErrorListenerImpl' or its corresponding type declarations.

22 import {ParserErrorListenerImpl} from "../../parser/out/ParserErrorListenerImpl";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

server/src/server.ts:23:38 - error TS2307: Cannot find module '../../parser/out/LexerErrorListenerImpl' or its corresponding type declarations.

23 import {LexerErrorListenerImpl} from "../../parser/out/LexerErrorListenerImpl";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

server/src/server.ts:24:38 - error TS2307: Cannot find module '../../parser/out/SPBSParserListenerImpl' or its corresponding type declarations.

24 import {SPBSParserListenerImpl} from "../../parser/out/SPBSParserListenerImpl";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 6 errors.

parithon added a commit to parithon/sailpoint-iiq-dev-accelerator that referenced this issue Oct 31, 2022
parithon added a commit to parithon/sailpoint-iiq-dev-accelerator that referenced this issue Oct 31, 2022
parithon added a commit to parithon/sailpoint-iiq-dev-accelerator that referenced this issue Oct 31, 2022
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

Successfully merging a pull request may close this issue.

1 participant