eclipse-sparkplug / sparkplug

Sparkplug
Eclipse Public License 2.0
109 stars 39 forks source link

Question: Issues with yarn install (Fails with Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close) #500

Open SeppPenner opened 8 months ago

SeppPenner commented 8 months ago

What do you want to know?

With https://github.com/SeppPenner/SparkplugNet/issues/39 and https://github.com/eclipse-sparkplug/sparkplug/issues/484, I'm trying to run the TCK with yarn.

I have NVM running on Windows (https://github.com/coreybutler/nvm-windows), version 1.1.12, node version 21.4.0 and tried to follow https://github.com/eclipse-sparkplug/sparkplug/blob/develop/tck/UserGuide.adoc. Yarn version is 3.0.1:

nvm install 21
nvm use 21
npm install -g yarn
corepack enable
yarn install
yarn build
yarn start

However, yarn install throws errors like Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close. Full logfile can be found under https://github.com/SeppPenner/YourMotherIsALogFile/blob/master/Logfile.md (Because of the 65536 character limit in comments / issues).

Any ideas what I'm doing wrong?

Is this related to a Sparkplug Listing request? If so, link the issue from https://github.com/eclipse-sparkplug/sparkplug.listings here.

No response

Version

None

Accept EFTL Terms

icraggs-sparkplug commented 8 months ago

I think this is a yarn issue? I did a quick search and found https://github.com/yarnpkg/berry/issues/3597

SeppPenner commented 7 months ago

I think this is a yarn issue? I did a quick search and found yarnpkg/berry#3597

Thank you, I hope I can check this soon.

swanandx commented 6 months ago

I was facing same issue, using yarn set version latest fixed it for me :rocket:

SeppPenner commented 6 months ago

Still need to check it, sorry...