-
Notifications
You must be signed in to change notification settings - Fork 634
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
tileserver-gl Module Not Found Error #1308
Comments
Could it be you prepared it on a different version of node? Do you have |
No is the same node V18.18.1 u can see the post #1020 |
And the file does exist there at node_modules\maplibre-gl-native\lib\node-v108\mbgl.node? One other thing on windows is you need the C++ reditributable. maybe the version on that particular server is out of date? I ran into an issue testing the current maplibre-native pre release where I had to update to the latest version or maplibre-native was failing silently. Maybe as a precaution make sure you have the latest from https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version |
Thank you, It works perfectly now. Your help solved the problem. You're the best. |
was it the c++ redistributable? |
yes |
Hello,
I am encountering an issue while trying to run tileserver-gl on a server without internet access. I have successfully set up tileserver-gl on other servers using a prepared folder with all necessary files, but on this particular server, I receive the following error:
`C:\Users\andreas\Desktop\map> npx tileserver-gl --mbtiles africa.mbtiles
node:internal/modules/cjs/loader:1340
return process.dlopen(module, path.toNamespacedPath(filename));
Error: Le module spécifié est introuvable.
?\C:\Users\andreas\Desktop\map\node_modules@maplibre-gl-native\lib\node-v108\mbgl.node
at Module._extensions..node (node:internal/modules/cjs/loader:1340:18)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/helpers:107:18)
at require (node:internal/modules/cjs/helpers:132:18)
at Object. (C:\Users\andreas\Desktop\map\node_modules@maplibre-gl-native\platform\node\index.js:5:12)
at Module._compile (node:internal/modules/cjs/loader:1255:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12) {
code: 'ERR_DLOPEN_FAILED'
}
Node.js v18.18.1`
i have already make the tileserver-gl work in server 2022 ->
#1020
The text was updated successfully, but these errors were encountered: