Map start
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 62
- Forks
- 413
- Avg merge
- 9h 41m
- Merged PRs (30d)
- 81
Description
Good day
When I want to start the map I get the following error:
OK. File 'src/resources/generated/online-routing-providers.json' generated successfully (1196 bytes)
Error: ENOTDIR: not a directory, scandir 'C:\web\map\public\images\poi-icons-svg'
at readdirSync (node:fs:1509:26)
at ls (file:///C:/web/map/src/resources/scripts/generate-resources.mjs:88:16)
at file:///C:/web/map/src/resources/scripts/generate-resources.mjs:18:11
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:119:5) {
errno: -4052,
code: 'ENOTDIR',
syscall: 'scandir',
path: 'C:\web\map\public\images\poi-icons-svg'
}
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at cat (file:///C:/web/map/src/resources/scripts/generate-resources.mjs:99:21)
at generate (file:///C:/web/map/src/resources/scripts/generate-resources.mjs:68:23)
at file:///C:/web/map/src/resources/scripts/generate-resources.mjs:16:1
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:119:5)
file:///C:/web/map/src/resources/scripts/generate-resources.mjs:79
throw new Error(Fatal error: ${file} neither found nor generated);
^
Error: Fatal error: src/resources/generated/poiicons.json neither found nor generated
at generate (file:///C:/web/map/src/resources/scripts/generate-resources.mjs:79:11)
at file:///C:/web/map/src/resources/scripts/generate-resources.mjs:16:1
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:119:5)
Any solution to this?
thank you
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/resources/scripts/generate-resources.mjs, especially the calls reported at lines 16, 18, 68, 79, 88, and 99. Reproduce the map-start generation step and inspect public/images/poi-icons-svg plus src/resources/generated/online-routing-providers.json. Done means generation completes without ENOTDIR or JSON errors and produces src/resources/generated/poiicons.json.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100