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
Pushstate server started on port 2999
🕷 Starting crawling http://localhost:2999
Error: Uncaught [TypeError: o.URL.createObjectURL is not a function]
at reportException (/map-react/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:58:24)
at processJavaScript (/map-react/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js:130:7)
at HTMLScriptElementImpl._eval (/map-react/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js:65:7)
at /map-react/node_modules/jsdom/lib/jsdom/browser/resource-loader.js:31:22
at Object.check (/map-react/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js:89:11)
at /map-react/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js:108:12
at wrappedEnqueued (/map-react/node_modules/jsdom/lib/jsdom/browser/resource-loader.js:255:16)
at Request.request [as _callback] (/map-react/node_modules/jsdom/lib/jsdom/browser/resource-loader.js:203:9)
at Request.self.callback (/map-react/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13) TypeError: o.URL.createObjectURL is not a function
at Object.o.196.../../source/worker (http://localhost:2999/static/js/main.e1936e75.js:1:488554)
at i (http://localhost:2999/static/js/main.e1936e75.js:1:49924)
at http://localhost:2999/static/js/main.e1936e75.js:1:49975
at Object.o.217.../ (http://localhost:2999/static/js/main.e1936e75.js:1:515610)
at i (http://localhost:2999/static/js/main.e1936e75.js:1:49924)
at http://localhost:2999/static/js/main.e1936e75.js:1:49975
at Object.o.205../worker_pool (http://localhost:2999/static/js/main.e1936e75.js:1:494710)
at i (http://localhost:2999/static/js/main.e1936e75.js:1:49924)
at http://localhost:2999/static/js/main.e1936e75.js:1:49975
at Object.o.149.../render/line_atlas (http://localhost:2999/static/js/main.e1936e75.js:1:369730)
✏️ Saving / as /index.html
🕸 Finished crawling.
I can implement polyfil, but not sure how to pass it:
Though I do not care that much about actual implementation, even simple fake noop function will do - I do not need to render map on server side, I only need render placeholder for the map, actual map will be rendered on client. Map is for users (with js), server side rendered html is for search bot.
The text was updated successfully, but these errors were encountered:
stereobooster
added a commit
to stereobooster/react-snapshot
that referenced
this issue
Jun 3, 2017
I get this error:
I can implement polyfil, but not sure how to pass it:
Those are not working:
I suppose I need to patch jsdom?..
Related: alex3165/react-mapbox-gl#240
UPD
Found that this is a bug in jsdom jsdom/jsdom#1721.
Though I do not care that much about actual implementation, even simple fake noop function will do - I do not need to render map on server side, I only need render placeholder for the map, actual map will be rendered on client. Map is for users (with js), server side rendered html is for search bot.
The text was updated successfully, but these errors were encountered: