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.
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";
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
thennpm run compile
without making any other changes.I plan on providing a pull request with a fix for these dependency issues.