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

ExecJS::ProgramError: TypeError: existsSync is not a function #193

Closed
pollinoco opened this issue Nov 2, 2020 · 5 comments
Closed

ExecJS::ProgramError: TypeError: existsSync is not a function #193

pollinoco opened this issue Nov 2, 2020 · 5 comments

Comments

@pollinoco
Copy link

pollinoco commented Nov 2, 2020

I have this issue with version 10.0.1.1

ExecJS::ProgramError: TypeError: existsSync is not a function
PreviousMap.loadFile ((execjs):9628:11)
PreviousMap.loadMap ((execjs):9667:21)
new PreviousMap ((execjs):9562:23)
new Input ((execjs):9721:17)
parse$3 ((execjs):9830:19)
new LazyResult$1 ((execjs):9960:18)
Processor$1.process ((execjs):10369:14)
process ((execjs):22757:61)
eval (eval at ((execjs):22778:8), :1:23)
(execjs):22778:8

@morgoth
Copy link

morgoth commented Nov 2, 2020

I have the same problem. Freezing to 10.0.1.0 for now (which is a working fine version)

@albb0920
Copy link
Collaborator

albb0920 commented Nov 2, 2020

Can any of you share your execjs runtime information? Thanks!
(node or miniracer & version)

@morgoth
Copy link

morgoth commented Nov 2, 2020

 node -v
v12.19.0

@BenoitMC
Copy link

BenoitMC commented Nov 2, 2020

Same problem.

node -v
v14.12.0

@albb0920
Copy link
Collaborator

albb0920 commented Nov 2, 2020

This happens when input css contains source map annotation, which postcss will try to load for chaining.

Execjs runtimes are not able to read files, the browser build of postcss didn't handle this .

I'll release a patch very soon, thanks everyone for reporting this.

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

4 participants