Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map start #395

Open
nine007 opened this issue May 14, 2024 · 2 comments
Open

Map start #395

nine007 opened this issue May 14, 2024 · 2 comments
Labels

Comments

@nine007
Copy link

nine007 commented May 14, 2024

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

@DmitryAlexei
Copy link
Contributor

You need to put osmand resources by the provided links

@nine007
Copy link
Author

nine007 commented May 16, 2024

Thank you for your feedback, but can you give me more details please?
thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants