Skip to content

Doesn't work properly with modern JS code #47

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

Closed
paulmillr opened this issue Aug 27, 2019 · 1 comment
Closed

Doesn't work properly with modern JS code #47

paulmillr opened this issue Aug 27, 2019 · 1 comment

Comments

@paulmillr
Copy link

See this run: https://github.com/paulmillr/readdirp/runs/204881542

It says “unexpected token (“ — this error is usually printed when async functions aren’t supported by the engine.

It errors only on Macos, which means something is wrong with your macos-node installation.

GitHub uses node 12.x (or 10.x or 8.x) which all support async functions. See travis-ci: the same build ran there without issues https://travis-ci.org/paulmillr/readdirp/builds/571845859

@reconbot
Copy link

I use async functions and I haven't had this issue. Try outputting the node version before npm install?

eg node -v

krzyk pushed a commit to krzyk/setup-node that referenced this issue Apr 11, 2023
deining pushed a commit to deining/setup-node that referenced this issue Nov 9, 2023
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
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