Day and Night Plugin Error
-
The Day and Night plugin stopped working, both on Chrome and Firefox. Clicking the triangles to expand "Select lines"; "Sun Times"; and "Time zone detail" does nothing.
Here's from the error console.
{
"timestamp": 1646493738022,
"runningMs": 13400,
"type": "user",
"module": "tinyrequire",
"msg": "DI error: Can not resolve @plugins/windy-plugin-day-night module",
"line": null,
"col": null,
"url": "https://www.windy.com/-Temperature-temp?temp,36.212,-100.088,4,i:pressure",
"script": null,
"ver": "35.0.0",
"target": "index",
"stack": "Error: Tinyrequire error: Module "@plugins/plugin-data-loader" does not exist
at Object.e.require (https://www.windy.com/v/35.0.0.ind.ecb0/index.js:6:2992)
at Object. (https://unpkg.com/windy-plugin-day-night:33:28)
at i (https://www.windy.com/v/35.0.0.ind.ecb0/index.js:6:2750)
at Object.e.require (https://www.windy.com/v/35.0.0.ind.ecb0/index.js:6:3083)
at Object._mount (https://www.windy.com/v/35.0.0.ind.ecb0/index.js:6:132881)
at https://www.windy.com/v/35.0.0.ind.ecb0/index.js:6:132360",
"deviceID": "d0a7e414-1caf-edc4-569c-daaad960133d",
"error": " {
"stack": "Error: Tinyrequire error: Module \"@plugins/plugin-data-loader\" does not exist
at Object.e.require (https://www.windy.com/v/35.0.0.ind.ecb0/index.js:6:2992)
at Object. (https://unpkg.com/windy-plugin-day-night:33:28)
at i (https://www.windy.com/v/35.0.0.ind.ecb0/index.js:6:2750)
at Object.e.require (https://www.windy.com/v/35.0.0.ind.ecb0/index.js:6:3083)
at Object._mount (https://www.windy.com/v/35.0.0.ind.ecb0/index.js:6:132881)
at https://www.windy.com/v/35.0.0.ind.ecb0/index.js:6:132360",
"message": "Tinyrequire error: Module \"@plugins/plugin-data-loader\" does not exist"
}",
"isOnline": true,
"latestBcast": "bcast: externalPluginLoaded windy-plugin-day-night (3698ms ago at 1646493734324)
pluginLoader : windy-plugin-day-night-ok
W.loadPlugin method called
{
"name": "windy-plugin-day-night",
"version": "0.0.50",
"author": "rittels",
"repository": {
"type": "git",
"url": "https://github.com/rittels/windy-plugins/tree/master/_plugins"
},
"description": "day-night",
"displayName": "Day and Night",
"hook": "contextmenu",
"className": "plugin-lhpane",
"classNameMobile": "plugin-mobile-bottom-slide",
"dependencies": [],
"exclusive": "lhpane"
}
Broadcasting externalPluginLoaded
All DONE your plugin is ready to be opened (3698ms ago at 1646493734324)
bcast: rqstClose plugins (527ms ago at 1646493737495)
bcast: globeClose (527ms ago at 1646493737495)
bcast: rqstOpen windy-plugin-day-night (7ms ago at 1646493738015)",
"sessionCounter": 4,
"sessionName": "us-n45x",
"lang": "en",
"size": "1715x1143",
"platform": "desktop",
"errorID": "di-error-can-not-resolve-pluginswindy-plugin-day-night-mo"
}About this version
Target: index.html
Version: 35.0.0
Built: 2022-02-28, 08:13
Your browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
WebGL particles: running -
@n45x Hi
Thanks for using the plugin. It should be fixed now.
-
@rittels the same error is happening on the skewt plugin. I'm having a hard time understanding what is breaking, if you can point me to your change I can try a fix and pull req (cc @johnckealy )
-
"Error: Tinyrequire error: Module "@plugins/plugin-data-loader" does not exist
The problem is not in the plugin, but in the current version of the client. The bug slipped in with refactoring to TS. It will likely be fixed soon.
-
@rittels ahh gotcha, I'll keep an eye out. Thanks!
-
Sorry guys for late reply. We have been quite busy implementing radiation. We apologize for all complications. Module
@plugins/plugin-data-loader
is fixed now, sorry again and thanks @rittels . -
@marekd thanks!
Now, I'm getting picker.getParams is not a function. Is this something that was missed as well? -
@andrestotorica
picker.getParams
was removed in a favor ofW.store.get("pickerLocation")
. Unfortunately, it must be fixed directly in plugin by its author. -
Many thanks to @andrestotorica for sending me a PR for windy-plugin-skewt. I think it's working now, I'll try to find some time at some point to properly look it over. I also need to remove the sonde observations as I'm not running the server that processes them anymore.