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
Cannot generate lib/lexer.js with emscripten 1.40.1 #87
Comments
Well, after reading some history commits, I found maybe I will appreciate for your reply. @guybedford |
@richardo2016 |
Thx for your reply! Sure enough, I found the parts of source in I try to resolve this issue: #67 . It seems to be required to regenerate |
Of course, would be happy to take a PR and manually do the build. There was actually a similar PR to cjs-module-lexer recently here - nodejs/cjs-module-lexer#54. Perhaps compare your results on that, also noting the pure JS implementation as well, which can be nice to keep in sync. |
Oh sorry of course that PR is not related code, slow on context switching today apparently. |
No problem.
That's OK, I have read this comment when I |
It would be a huge help, thank you so much for looking into this. |
It seems I should use emcc 1.40.1-fastcomp (legacy engine) rather emcc 1.40.1. After changing it, I can generate But I haven't compiled a valid result, on top of this fix commit, I run commands below to compile
But I don't know how to run tests, commands below seems wrong:
I got error: So I took a diff view to compare valid Should I follow the instructions at the start of left view(the VALID revision) to manipulate codes in right view(the revision I compiled) |
@guybedford Hi, another PR so soon again :P , but it's not about this issue. After this commit, I can generate |
I cannot build
lib/lexer.js
by myself withmake lib/lexer.js
,Error like below:
Env Info
OS: macOS
emscripten version: 1.40.1
as mentioned #86 , I installed emscripten 1.40.1 and activate it in my bash session.
I'm sure I haved installed it, because I checked it by
./emsdk list
and./emcc -v
.and
Should I do extra jobs to make it work?
Thx for your reading here :P
The text was updated successfully, but these errors were encountered: