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

ReferenceError: Symbol is not defined on OpenShift/Node.js v4.2.4 #126

Closed
marcandrews opened this issue Jan 4, 2016 · 2 comments
Closed

Comments

@marcandrews
Copy link

When I attempt to start my Node.js server app on OpenShift, I get the following error:

...node_modules/discord.js/lib/Util/Cache.js:1
(subClass,superClass):subClass.__proto__ = superClass;}var discrimS=Symbol();v
                                                                    ^
ReferenceError: Symbol is not defined

Another issue is that even though I have updated Node.js to 4.2.4 on my OpenShift instance, the OVERRIDE_DISCORD_MIN_VERSION=true environment variable is still required.

Any ideas on how I can solve this?

@abalabahaha
Copy link
Contributor

Check your Node.JS version again. If it's really 4.2.4, it shouldn't require OVERRIDE_DISCORD_MIN_VERSION.

@marcandrews
Copy link
Author

Thanks. There was a bug in my app cartridge and even though I had installed 4.2.4, it was still loading 0.10.

For more information, see ryanj/nodejs-custom-version-openshift#2

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants