-
Notifications
You must be signed in to change notification settings - Fork 48
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
Managementform error client-side #75
Comments
Are you browserifying your code? If so, are you disabling the "detect globals" setting? If not, is there anything in your code that could be introducing a I suspect the environment checking might need a tweak, as it currently does this: module.exports = {
browser: typeof process == 'undefined'
} The error you see is guarded by a |
I used webpack to build. I'll double check my settings and get back to you. Thanks for the speedy response. |
Looks like Have to run now. but will release a fix in a couple of hours. The workaround for now should be to disable insertion of a process global by whatever bundler you're using. |
I got it building w/ your gulp defaults and I no longer receive the error. Thank you. I'm coming at node from a ruby/sprockets background through libraries like this. I've found that there's a million and one ways to package node libs for the browser, so I'm not yet in the habit of looking at things like gulpfiles to see if all I have to do is run a command. Might want to add a quick note in the readme :). |
My bad in this case, it's common for bundlers to shim |
I'm running into issues validating a Formset on the client-side. I'm getting the same error in your example:
ManagementForm data is missing or has been tampered with
Code below. There's some mutable array vars that aren't included but can be inferred. I get that error in the debugger statement below:
The text was updated successfully, but these errors were encountered: