Beginner developer query - possible dependency issue
-
I've followed the instructions on the documentation to fork the template github repo and clone it to my local device.
I have installed npm, node.js, and the latest version of leaflet.When I run the command "npm start" in my local repo fork dir, I have been getting the following error repeatedly, and I can't find a solution online. I'd imagine I might be be missing something as I am a beginner with Git and JS? Or is this an issue with the repo?
Can anybody help with this basic query? It would be much appreciated!
-
I idefix37 marked this topic as a regular topic on
-
i am now wondering if the version of node.js i am using is relevant - i have node 23.5.0 and npm 11.0 installed.
https://community.windy.com/topic/37156/error-trying-to-run-template-plugin
this thread suggests using node.js 18
-
-
You can make it work in windows, check out this thread:
-
Just ignore the ERROR in red, it will still occur, and does not matter. The problem is that the windy compiler cannot find the pluginConfig.ts file, on the windows platform.
-
@rittels perfect. thank you very much for pointing that one out
-
Hello I've run into the same issue, but even following solution provided in the link above, I can't have my problem resolved.
Here is what I have tried:
I tried to run the server on both Windows and Linux (Ubuntu 20.04), but failed in both, so does it mean I must run the example on WSL2?I also tried to add cross-env and update the pathOfTheFile in node_modules, as you mentioned. However, the line I met was
const pathOfTheFile = facadeModuleId.replace(/[\\/][^\\/]*$/, '')
and I am not quite sure what to do with this line. I tried to copy what you've written, but the problme is not gone.
-
@LostSummer What issue specifically?
This one?
ERROR failed to read input source map: failed to find input source map file "pluginConfig.js.map" in.....