sciencemesh / cs3api4lab

CS3APIs Jupyterlab connector
Apache License 2.0
4 stars 11 forks source link

Building with node >14 causes the UI to fail requests #226

Open diocas opened 1 year ago

diocas commented 1 year ago

I.e when sharing:

[E 2023-06-07 16:13:15.099 ServerApp] gateway: stat ref: path:"/cs3Files:eos/user/d/dalvesde/User Recoveries" : error: not found: gateway: storage provider not found for reference:path:"/cs3Files:eos/user/d/dalvesde/User Recoveries" , file /cs3Files:eos/user/d/dalvesde/User Recoveries
[W 2023-06-07 16:13:15.101 ServerApp] 400 GET /api/cs3/shares/file?file_path=cs3Files:eos/user/d/dalvesde/User%20Recoveries&1686147195064 (::1) 31.92ms referer=http://localhost:8888/lab
[I 2023-06-07 16:13:18.997 ServerApp] msg="Failed stat" fileid="/cs3Files:eos/user/d/dalvesde/User Recoveries" reason="gateway: stat ref: path:"/cs3Files:eos/user/d/dalvesde/User Recoveries" : error: not found: gateway: storage provider not found for reference:path:"/cs3Files:eos/user/d/dalvesde/User Recoveries" "
[E 2023-06-07 16:13:18.998 ServerApp] gateway: stat ref: path:"/cs3Files:eos/user/d/dalvesde/User Recoveries" : error: not found: gateway: storage provider not found for reference:path:"/cs3Files:eos/user/d/dalvesde/User Recoveries" , file /cs3Files:eos/user/d/dalvesde/User Recoveries
[W 2023-06-07 16:13:19.000 ServerApp] 400 GET /api/cs3/shares/file?file_path=cs3Files:eos/user/d/dalvesde/User%20Recoveries&1686147198960 (::1) 35.58ms referer=http://localhost:8888/lab
[I 2023-06-07 16:13:19.263 ServerApp] msg="Invoked stat" fileid="/eos/user/d/dalvesde" elapsedTimems="47.6"
[I 2023-06-07 16:13:23.907 ServerApp] msg="Invoked stat" fileid="/" elapsedTimems="424.8"
[E 2023-06-07 16:13:25.868 ServerApp] ResourceNotFoundError: Resource /cs3Files:eos/user/d/dalvesde/User Recoveries not found
[E 2023-06-07 16:13:25.868 ServerApp] {
      "Host": "localhost:8888",
      "Accept": "*/*",
      "Referer": "http://localhost:8888/lab",
      "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
    }
[E 2023-06-07 16:13:25.868 ServerApp] 500 POST /api/cs3/shares?1686147205781 (::1) 81.55ms referer=http://localhost:8888/lab
piotrWichlinskiSoftwaremind commented 1 year ago

@diocas It looks like there is something wrong with the front-end building process. This version of jupyter lab needs version 14 of the node. I have experienced some issues with the application when using a newer node version. When using a newer version of node front-end builds without errors but the application has multiple bugs.

diocas commented 1 year ago

Built with node 14 and it worked... This is strange and should be fixed, so I'll rename the issue.