We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
程序设置中没有显示地图,无法开启地图。BING_MAP_API_KEY和ALLOWED_DOMAINS环境变量都已经设置了,api直接复制的,ALLOWED_DOMAINS是vps的公网ip。
> myip@3.0.0 start > concurrently "npm run start-frontend" "npm run start-backend" [0] [0] > myip@3.0.0 start-frontend [0] > node frontend-server.js [0] [1] [1] > myip@3.0.0 start-backend [1] > node backend-server.js [1] [1] node:internal/modules/esm/resolve:265 [1] throw new ERR_MODULE_NOT_FOUND( [1] ^ [1] [1] Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/app/common/referer-check.js' imported from /app/api/map.js [1] at finalizeResolution (node:internal/modules/esm/resolve:265:11) [1] at moduleResolve (node:internal/modules/esm/resolve:933:10) [1] at defaultResolve (node:internal/modules/esm/resolve:1157:11) [1] at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12) [1] at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25) [1] at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38) [1] at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39) [1] at link (node:internal/modules/esm/module_job:86:36) { [1] code: 'ERR_MODULE_NOT_FOUND', [1] url: 'file:///app/common/referer-check.js' [1] } [1] [1] Node.js v20.13.1 [1] npm run start-backend exited with code 1 [0] Static file server running on port http://localhost:18966
The text was updated successfully, but these errors were encountered:
It should be fixed now. #214
Sorry, something went wrong.
还是没有地图开关,这是为什么。 没有报错了但是还是没有地图开关。 我api是bing的api没有错误,alloweddomain是填写的vps的公网ip。
可以了
jason5ng32
No branches or pull requests
Environment:
Description:
程序设置中没有显示地图,无法开启地图。BING_MAP_API_KEY和ALLOWED_DOMAINS环境变量都已经设置了,api直接复制的,ALLOWED_DOMAINS是vps的公网ip。
Terminal Logs (include any error messages or stack traces):
The text was updated successfully, but these errors were encountered: