question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

window is not defined in SSR mode @0.14.0

See original GitHub issue

See 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Fi1osofcommented, Aug 19, 2019

@acao, thanks!

0reactions
benjiecommented, Aug 19, 2019

@acao Did you mean to re-open this?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found