温锦文欧普厨电及净水器总代理 发表于 2024-12-21 14:28:14

Neo4j Desktop 无法打开

一、Warn:DeskTop UI interface won’t displayed

1、表现形式:进程运行,但是 Neo4j Desktop UI 界面无法显示

https://i-blog.csdnimg.cn/direct/15757bd546ac467fbd60de9d48a4471a.png#pic_center
2、Debug info

   location:
C:\Users\<username>\.Neo4jDesktop\log.log
● ● ● Starting Neo4j Desktop 1.5.9 @ Windows_NT 10.0.22631, AMD Ryzen 7 5800H with Radeon Graphics         }
Initializing persistence
● ● ● GraphQL server is running @ http://127.0.0.1:11001
Configuring crash reporting
Reading settings
PowerShell compatibility check
PowerShell version: 5. Required version: 5.
PowerShell language mode: FullLanguage
Reading bundled resources D:\Neo4j Desktop\workspace\resources
Distribution folder for java should exist
Will copy []
Distribution folder for neo4j should exist
Will copy []
Reading bundled resources D:\Neo4j Desktop\workspace\resources
Distribution folder for graphApps should exist
Failed to read installed 'neo4j-bloom', will replace with bundled distribution Error: Graph-App does not contain package.json
    at getLocalMetadata (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:3897:15)
    at async newerGraphAppVersion (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:3263:22)
    at async D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:5251:36
    at async Promise.all (index 0)
    at async loadResource (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:5246:32)
    at async D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:5312:21
    at async __webpack_modules__.9680.exports.default (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:5327:5)
    at async App.<anonymous> (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:13083:9)
Failed to read installed 'neo4j-browser', will replace with bundled distribution Error: Graph-App does not contain package.json
    at getLocalMetadata (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:3897:15)
    at async newerGraphAppVersion (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:3263:22)
    at async D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:5251:36
    at async Promise.all (index 1)
    at async loadResource (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:5246:32)
    at async D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:5312:21
    at async __webpack_modules__.9680.exports.default (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:5327:5)
    at async App.<anonymous> (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:13083:9)
Will copy [ 'neo4j-bloom-2.10.0.tar.gz', 'neo4j-browser-5.12.0.tar.gz' ]
Copying D:\Neo4j Desktop\workspace\resources\offline\plugins to C:\Users\kurosaki\AppData\Local\Neo4j\Relate\Cache\plugin
Copying D:\Neo4j Desktop\workspace\resources\offline\plugin-versions to D:\Neo4j Desktop\application-data\relate-data\plugin-versions
Could not link DBMS to Relate. Installation path does not exist. {
id: 'database-4d173c63-eeaf-41c8-95ed-97a8cf951297',
version: '5.12.0',
installationRoot: 'D:\\Neo4j Desktop\\application-data\\neo4jDatabases\\database-4d173c63-eeaf-41c8-95ed-97a8cf951297\\installation-5.12.0'
}
Could not link DBMS to Relate. Installation path does not exist. {
id: 'database-490546ef-9102-471a-9b0f-7844083e8097',
version: '5.12.0',
installationRoot: 'D:\\Neo4j Desktop\\application-data\\neo4jDatabases\\database-490546ef-9102-471a-9b0f-7844083e8097\\installation-5.12.0'
}
Starting Nest application... NestFactory
AuthModule dependencies initialized InstanceLoader
MetricsModule dependencies initialized InstanceLoader
ConfigHostModule dependencies initialized InstanceLoader
WebModule dependencies initialized InstanceLoader
ConfigModule dependencies initialized InstanceLoader
ConfigModule dependencies initialized InstanceLoader
SystemModule dependencies initialized InstanceLoader
SystemModule dependencies initialized InstanceLoader
GraphQLSchemaBuilderModule dependencies initialized InstanceLoader
DesktopModule dependencies initialized InstanceLoader
FilesModule dependencies initialized InstanceLoader
HealthModule dependencies initialized InstanceLoader
DBMSModule dependencies initialized InstanceLoader
DBMSPluginsModule dependencies initialized InstanceLoader
DBModule dependencies initialized InstanceLoader
ExtensionModule dependencies initialized InstanceLoader
ProjectModule dependencies initialized InstanceLoader
GraphQLModule dependencies initialized InstanceLoader
Mapped {/graphql, POST} route GraphQLModule
Nest application successfully started NestApplication
● ● ● Relate management API is running @ http://127.0.0.1:12320
Configuring proxy: NO_PROXY
ERROR: {"error":"Fetch status ","url":"https://dist.neo4j.org/neo4j-desktop/win/latest.yml"}
App initialization error TypeError: Cannot read properties of undefined (reading 'name')
    at isReachable (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:6237:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async isOnline (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:6247:9)
    at async broadcastOnline (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:11850:20)
    at async configureProxy (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:11925:5)
    at async initProxy (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:11936:5)
    at async App.<anonymous> (D:\Neo4j Desktop\workspace\resources\app.asar\dist\main.prod.js:13088:9)
3、原因分析

neo4j desktop 应用步调在初始化哀求的资源(https://dist.neo4j.org/neo4j-desktop/win/latest.yml)被墙了,导致403 Forbidden错误,哀求被服务器拒绝。
4、办理方案

4.1、断网

断网就可以打开了,但是是下下策
https://i-blog.csdnimg.cn/direct/fa9c15c218314267b7a5c70b6d226789.png#pic_center
https://i-blog.csdnimg.cn/direct/a2f07a267fdb4a21954625080eda1bb1.png#pic_center
4.2、手动设置代理

   这里使用 export 全局变量指定好像有些人不管用,手动设置有人成功了
export https_proxy=http://127.0.0.1:51641 http_proxy=http://127.0.0.1:51641 all_proxy=socks5://127.0.0.1:51641
环境变量设置成功案例https://i-blog.csdnimg.cn/direct/eaba0dd8590b46d8810742f4010efb50.png#pic_center   手动设置操作步骤:


[*] 位置:
C:\User\{username}\.neo4jdesktop\persist\userData.json

[*] 添加设置
"appSettings": {
    "proxyHost": "proxy_host",
    "proxyPort": "proxy_port",
    "proxyType": "HTTP_PROXY"
},

[*] proxyHost:一样平常是本地环回地址(127.0.0.1)
[*] proxyPort:代理服务器监听的端口
[*] proxyType: 常见的有:"HTTP_PROXY" 或 "SOCKS5" 看你本身的代理范例
https://i-blog.csdnimg.cn/direct/1039b978fd7e4fb381773915bdeb9b57.png#pic_center
5、参考

Why can’t the Neo4j Desktop version be opened? · Issue #13557 · neo4j/neo4j

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页: [1]
查看完整版本: Neo4j Desktop 无法打开