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

Runtime Error #34

Closed
lucasbois1 opened this issue Jun 7, 2022 · 6 comments
Closed

Runtime Error #34

lucasbois1 opened this issue Jun 7, 2022 · 6 comments

Comments

@lucasbois1
Copy link

Runtime Error

In v1.7.1 im getting a few of this runtime errors

image


I've modified this lines ...

(Lines 220, 281, 319)
(I've deleted all the '?' before the dots in those lines)

image

image

image

and now is up and running.

Since i modified the dist file and i dont know how to fix the source code, I've oppened this Issue and not made a Pull Request.

@liuweiGL
Copy link
Owner

liuweiGL commented Jun 9, 2022

Which version of nodejs?

@lucasbois1
Copy link
Author

Node version - v16.15.1
npm version - v8.11.0
NVM version - v1.1.9

@liuweiGL
Copy link
Owner

What a weird bug, optional chaining is already supported in Node.js 14.

@liuweiGL
Copy link
Owner

You can append console.log(process.version) to vite.config.js to confirm the real node version.

@lucasbois1
Copy link
Author

image

console.log(process.version) printed in console

@liuweiGL
Copy link
Owner

liuweiGL commented Jun 14, 2022

nodejs/help#3766
npm/cli#4234 (comment)

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