Open-EO / openeo-hub

Source code for openEO Hub, a centralized platform to explore openEO back-end providers.
https://hub.openeo.org
Apache License 2.0
8 stars 3 forks source link

Dependency issue on Ubuntu? #88

Closed m-mohr closed 3 years ago

m-mohr commented 3 years ago

I'm getting the following error when running npm install on our Ubuntu 20 server:

npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin"} (current: {"os":"linux","arch":"x64"}) npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: undefined npm ERR! notsup Actual OS: linux npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in: npm ERR! /home/m_mohr08/.npm/_logs/2021-07-23T10_16_06_817Z-debug.log npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin"} (current: {"os":"linux","arch":"x64"}) npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: undefined npm ERR! notsup Actual OS: linux npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in: npm ERR! /home/m_mohr08/.npm/_logs/2021-07-23T10_16_12_900Z-debug.log

christophfriedrich commented 3 years ago

I'm using Ubuntu 20 myself on my development laptop (20.04.2 64-bit with GNOME v3.36.8 to be precise), so this is quite a surprise. To doublecheck I cloned the repo into a fresh folder and tried a brand new npm install -- which finished without any problems (on both the master and development branches).

But I do remember fsevents coming up often in the logs -- so far without any actual problems though, so until now I just didn't care.

Can you provide any more details? I don't know what exactly might be helpful though, so can't ask for anything specific.

christophfriedrich commented 3 years ago

Oh hang on, I've got an idea: I'm still on npm v6 -- is the server on v7? Maybe they recently changed how conflicts like this are handled and this breaks it on the server but not on my machine.

m-mohr commented 3 years ago

I have quite a number of issues right now on the university VM, so maybe I start with dependencies from scratch and see how that goes...

m-mohr commented 3 years ago

VM is running: npm v7.12.1 node v10.19.0 (I need to update this) Ubuntu 20.04.2 LTS

christophfriedrich commented 3 years ago

npm v12??? The most recent one is 7.20.1 :monocle_face: Is that what npm -v says?

m-mohr commented 3 years ago

lol, forgot to copy the 7 at the beginning - 7.12.1

node is on 16.4.1 now npm just updated to 7.20.1

m-mohr commented 3 years ago

npm install succeeds now from a fresh install, I guess that was a npm dependency issue again.