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

2nd Build error #2

Open
BurtHarris opened this issue May 18, 2017 · 2 comments
Open

2nd Build error #2

BurtHarris opened this issue May 18, 2017 · 2 comments

Comments

@BurtHarris
Copy link

BurtHarris commented May 18, 2017

After hacking a quick fix for #1, running npm run compile gives me a different error. This one may be a bit trickier to address, as the antlr4ts cli tool currently exhibits some platform-specific differences in path handling on Windows. Antlr4ts has a bug outstanding on this, tunnelvisionlabs/antlr4ts#303, where I've documented the the suggested workaround. , I'll also mention @sharwell in this bug to get his attention.

Here's the errors running on Windows :

C:\code\extract-interface-ts>npm run compile

> extract-interface-ts@1.0.0 compile C:\code\extract-interface-ts
> tsc -watch -p ./

src/extractInterfaceListener.ts(2,39): error TS2307: Cannot find module './grammar/JavaParser'.
src/extractInterfaceListener.ts(3,40): error TS2307: Cannot find module './grammar/JavaParser'.
src/extractInterfaceListener.ts(7,26): error TS2307: Cannot find module './grammar/JavaParser'.
src/extractInterfaceListener.ts(8,28): error TS2307: Cannot find module './grammar/JavaListener'.
src/index.ts(5,25): error TS2307: Cannot find module './grammar/JavaLexer'.
src/index.ts(6,26): error TS2307: Cannot find module './grammar/JavaParser'.
2:37:03 PM - Compilation complete. Watching for file changes.
@BurtHarris
Copy link
Author

BurtHarris commented May 18, 2017

If you are interested in detecting these sorts of platform-portability issues without running your own Windows machine, you might consider setting up an account at appveyor.com. It's like Travis.CI but for Windows. My experience was this was a very simple way get continuous integration running on a project, identifying potential build problems very quickly. 👍

@ChuckJonas
Copy link
Owner

@BurtHarris thanks for the feedback! I'll try to fix the platform specific issues when I have a free moment and also hook up appveyor.

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

2 participants