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

Try Catch problems #35

Closed
jiveturkeyJay opened this issue Apr 15, 2021 · 2 comments
Closed

Try Catch problems #35

jiveturkeyJay opened this issue Apr 15, 2021 · 2 comments

Comments

@jiveturkeyJay
Copy link

jiveturkeyJay commented Apr 15, 2021

Some of the code in this is preventing installation

client/node_modules/fs-extra/lib/mkdirs/make-dir.js:85 } catch { ^

There are a number of try catch statements that don't have any parenthesis.
I'm not sure if try catches are allowed without parenthesis but in this case it is not work.
I've tried a few fixes that have been suggested such as updating node version, updating the version of the packages that are installing make-dir but no good.

Thanks

Jason

@RyanZim
Copy link
Contributor

RyanZim commented Apr 15, 2021

If you're using a new enough Node version, it should work fine. Can you post the full error with stack trace?

@sindresorhus
Copy link
Owner

Upgrade your Node.js version.

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

3 participants