window is not defined in SSR mode @0.14.0
See original GitHub issueSee title. @0.13.2 all OK
(node:22785) ExperimentalWarning: The ESM module loader is experimental.
18|uae-realty-front:3820 | modules/Avatar deprecated. Use ui/Avatar instead
18|uae-realty-front:3820 | ReferenceError: window is not defined
18|uae-realty-front:3820 | at Object.<anonymous> (/var/www/uae/uae-realty/node_modules/graphiql/dist/utility/commonKeys.js:12:15)
18|uae-realty-front:3820 | at Module._compile (internal/modules/cjs/loader.js:688:30)
18|uae-realty-front:3820 | at Module._compile (/var/www/uae/uae-realty/node_modules/pirates/lib/index.js:99:24)
18|uae-realty-front:3820 | at Module._extensions..js (internal/modules/cjs/loader.js:699:10)
18|uae-realty-front:3820 | at Object.newLoader [as .js] (/var/www/uae/uae-realty/node_modules/pirates/lib/index.js:104:7)
18|uae-realty-front:3820 | at Module.load (internal/modules/cjs/loader.js:598:32)
18|uae-realty-front:3820 | at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
18|uae-realty-front:3820 | at Function.Module._load (internal/modules/cjs/loader.js:529:3)
18|uae-realty-front:3820 | at Module.require (internal/modules/cjs/loader.js:636:17)
18|uae-realty-front:3820 | at require (internal/modules/cjs/helpers.js:20:18)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
React SSR window is not defined - javascript - Stack Overflow
Hello guys I'm trying to use dialog polyfill, to open modal window But when I try to register it I get window is...
Read more >How to solve "window is not defined" errors in React and Next.js
Because in the Node.js world, window is not defined, window is only available in browsers. There are three ways to solve that: 1....
Read more >Getting Started - Piral - Documentation
At this point, the application shell shows an empty page, since there is currently no layout defined and no pilet loaded into the...
Read more >A Modern Library for 3D Data Processing - Open3D
Open3D will now build in Release mode by default if CMAKE_BUILD_TYPE is not specified. Python is no longer required for building Open3D for...
Read more >Frontastic CLI changelog
0 (2020-11-26). New features. output used mutagen commands in debug mode; make backstage selectable as project for frontastic internal. Bugfixes. fix windows ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@acao, thanks!
@acao Did you mean to re-open this?