You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReferenceError: window is not defined
at /Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/components/back-top/index.tsx:55:1
at Object.defineProperty.value (/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/components/back-top/index.tsx:65:2)
at webpack_require (/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/webpack/bootstrap 7748098c79ae00940d3f:19:1)
at webpackContext (/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/components ^./[^_][\w-]+/(style/):103:1)
at /Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/index.js:15:1
at Array.forEach (native)
at Object.defineProperty.value (/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/index.js:14:1)
at webpack_require (/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/webpack/bootstrap 7748098c79ae00940d3f:19:1)
at Object.module.exports (/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/antd.js:86:19)
at webpack_require (~/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/webpack/bootstrap 7748098c79ae00940d3f:19:1)
antd 版本: 2.0.1
操作系统及其版本: Mac OS X 10.11.6
浏览器及其版本: Chrome
您做了什么?
编译的时候就出错了
您期待的结果是:
实际上的结果是:
可重现的在线演示
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
May 4, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
发生问题的环境是:
~/Desktop/work/tech/turbo/turbo_project/node_modules/gulp/node_modules/orchestrator/index.js:153
throw err;
^
ReferenceError: window is not defined
at
/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/components/back-top/index.tsx:55:1/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/components/back-top/index.tsx:65:2)at Object.defineProperty.value (
at webpack_require (
/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/webpack/bootstrap 7748098c79ae00940d3f:19:1)/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/components ^./[^_][\w-]+/(style/):103:1)at webpackContext (
at
/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/index.js:15:1/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/index.js:14:1)at Array.forEach (native)
at Object.defineProperty.value (
at webpack_require (
/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/webpack/bootstrap 7748098c79ae00940d3f:19:1)/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/antd.js:86:19)at Object.module.exports (
at webpack_require (~/Desktop/work/tech/turbo/turbo_project/node_modules/antd/dist/webpack:/webpack/bootstrap 7748098c79ae00940d3f:19:1)
您做了什么?
编译的时候就出错了
您期待的结果是:
实际上的结果是:
可重现的在线演示
The text was updated successfully, but these errors were encountered: