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: self is not defined #308

Closed
hero-guo opened this issue Sep 16, 2019 · 0 comments · Fixed by #309
Closed

ReferenceError: self is not defined #308

hero-guo opened this issue Sep 16, 2019 · 0 comments · Fixed by #309

Comments

@hero-guo
Copy link
Contributor

Help us to manage our issues by answering the following:

  1. How would you tag this issue?
  • Bug
  1. Describe your issue:
    using uform with Next.js
    run next build
  • What is the current behavior?
    ReferenceError: self is not defined
    at Object. (/Users/neil/works/pandora-web/node_modules/@uform/utils/lib/globalThis.js:3:30)
    at Module._compile (internal/modules/cjs/loader.js:868:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
    at Module.load (internal/modules/cjs/loader.js:731:32)
    at Function.Module._load (internal/modules/cjs/loader.js:644:12)
    at Module.require (internal/modules/cjs/loader.js:771:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at Object. (/Users/neil/works/pandora-web/node_modules/@uform/utils/lib/clone.js:4:20)
    at Module._compile (internal/modules/cjs/loader.js:868:30)

  • What is the expected behavior?

  • Which versions of UForm?
    "@uform/antd": "^0.4.1",

  • Did this work in previous versions of UForm?

  1. If your issue is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via Bug Report Template on CodeSandbox
    .
janryWang pushed a commit that referenced this issue Sep 17, 2019
ReferenceError: self is not defined
#308
janryWang pushed a commit that referenced this issue Sep 18, 2019
* fix(globalThis): fix ReferenceError

ReferenceError: self is not defined
#308

* fix(@uform/next): fix moveto window is not defined
anyuxuan pushed a commit to anyuxuan/uform that referenced this issue Nov 14, 2019
anyuxuan pushed a commit to anyuxuan/uform that referenced this issue Nov 14, 2019
* fix(globalThis): fix ReferenceError

ReferenceError: self is not defined
alibaba#308

* fix(@uform/next): fix moveto window is not defined
ZirkleTsing pushed a commit that referenced this issue May 14, 2020
ReferenceError: self is not defined
#308
ZirkleTsing pushed a commit that referenced this issue May 14, 2020
* fix(globalThis): fix ReferenceError

ReferenceError: self is not defined
#308

* fix(@uform/next): fix moveto window is not defined
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

Successfully merging a pull request may close this issue.

1 participant