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.

v6.5.0: Can't find variable: ol

See original GitHub issue

Everything works without problem in usual web browsers but: I’m using cutycapt for create printscreen of the map in terminal. It creates white page when I use version 6.5.0. Old version 6.4.3 is ok. With wkhtmltoimage is the same problem. It prints this warnings when I use --debug-javascript:

Warning: https://openlayers.org/en/latest/build/ol.js:1 SyntaxError: Unexpected identifier ‘t’. Cannot declare a lexical variable twice: ‘t’. Warning: https://viglino.github.io/ol-ext/dist/ol-ext.js:23 ReferenceError: Can’t find variable: ol Warning: https://mywebpage ReferenceError: Can’t find variable: ol

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ahocevarcommented, Jan 11, 2021

Yes, this will be available via cdn with the next release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't find variable: False - React Native (Hookstate) - Stack ...
You have got syntax error in your code somewhere. False (starting with a capital F) is not a variable/value defined in JS, unless...
Read more >
Ford F-150 3.5 & 5.0 Variable Cam Timing PHASER Problems ...
The problems with the 3.5 and 5.0 VCT Phasers broke down and explained. These VCT Phaser will set ... Your browser can't play...
Read more >
Troubleshoot .NET tool usage issues - Microsoft Learn
Roll-forward doesn't cross major version boundaries. If an application can't find an appropriate runtime, it fails to run and reports an error.
Read more >
OpenLayers v7.2.2 API - Class: Map
The map is the core component of OpenLayers. For a map to render, a view, one or more layers, and a target container...
Read more >
Node v6.5.0 (Current)
buffer: Fix regression introduced in v6.4.0 that prevented .write() at ... [ 8f9fb8154d ] - src: updating references to the old node.js file ......
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