-
Notifications
You must be signed in to change notification settings - Fork 862
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
package is a reserved word #235
Comments
In both ES3 and in ES5+ strict mode, |
Yeah the obvious fix is to change package to pkg, which we did. We are using jade, which is using with (https://github.com/ForbesLindesay/with), which is using acorn. I see from the link above that this is from with using the latest version of acorn. |
@jackspaniel It was because of this commit - pugjs/with@0ef234b - where @ForbesLindesay sets Closing this as not issue of Acorn. |
Did something recently change to make this crash? We use jade, which uses with, which uses acorn. Without updating anything, our code started breaking in our test environments, where we do a fresh install every time. Or local dev environments were fine. Finally I tried deleting jade and doing a fresh install and then I was able to see the error on my local. The world of subdependencies can be very hard to debug.
The text was updated successfully, but these errors were encountered: