-
Notifications
You must be signed in to change notification settings - Fork 260
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
SyntaxError: Unexpected token = #50
Comments
I am also seeing this issue |
you can remove the " = null" on line 137 and it fixes that issue |
Hey thanks for the report. Can I get some more detail about your environment? Such as the version of node that you're using. I will try to reproduce and fix this issue asap. |
Sorry I spoke a little too soon on versions. My development environment has node v6.11.3 and and the other production environment that is failing uses v4.7.2 Both have the exact same code. I get the above error at line 137. Removing what i said fixes the issue and has caused no noticeable issues on either version. |
@richardgirges on the one hand i don't think we should fix it. but on the other hand, we won't be able to provide fixes to people who are using old versions of node. solution:
|
Thats also fine @r3wt . Its also an issue with v5.8.0 which my macbook uses. The v4.7.2 is what ubuntu provides in its repo for using apt-get so i would think people using linux will run into this issue. Its not an issue for me now since i fixed it in my code base. |
Ya @r3wt I agree that we should uphold support for 6 and above. Because this is such a trivial fix, I'm going to go ahead and push it up and cut a minor version like you suggested, followed by another minor version update with the restrictions on engine support. |
I am unable to run my application with express-fileupload installed. I get the following error when attempting to run my application:
Here is my route code:
Please advise.
The text was updated successfully, but these errors were encountered: