Hi, I ran through the quickstart steps on a fresh debian (buster) install, and
the install script installs version: dfx 0.5.7
which is odd as a 0.5.9 is available.
when trying to dfx upgrade
I get an error: unable to get local issuer certificate"
which looks very similar to:
running .cache/dfinity/uninstall.sh and installing the new version of dfx with sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" solved the problem for me
How do I install latest? or how do I upgrade from 0.5.7 ?
thanks.
okay, fixed that with setting DFX_VERSION to 0.5.9 manually
DFX_VERSION=0.5.9 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
but on dfx new hello
I get:
etching manifest https://sdk.dfinity.org/manifest.json
Version v0.5.9 installed successfully.
Creating new project "hello"...
CREATE hello/README.md (1.14KB)...
CREATE hello/.gitignore (189B)...
CREATE hello/dfx.json (464B)...
CREATE hello/src/hello_assets/assets/sample-asset.txt (24B)...
CREATE hello/src/hello/main.mo (107B)...
CREATE hello/webpack.config.js (1.94KB)...
CREATE hello/package.json (332B)...
CREATE hello/src/hello_assets/public/index.js (137B)...
⠁ Installing node dependencies...
An error occured:
Io(
Os {
code: 2,
kind: NotFound,
message: "No such file or directory",
},
)
however nodejs is installed:
node --version
v10.21.0
Okay, fixed that by apt install npm
(self-help works sorry for the forum spam.
3 Likes
nice investigation and no worries, this is in no way spam!
1 Like
Ori
July 5, 2020, 10:47pm
5
Nicely done. And these things help others, so don’t worry!
Please be aware though that 0.5.9 is mostly an internal build, so do enjoy, but things might break a little!
Hi Ori, good to know, which version should I use then? (0.5.7 is broken)
thnx!
Ori
July 6, 2020, 8:28am
7
V0.5.7 was pretty stable, is it anything deal-breaking there? If not I’d use that just for the moment.
fundef
July 6, 2020, 11:54am
8
see the post I linked to earlier, 0.5.7 fails with an
unable to get local issuer certificate
error
something with an openssl lib incorrectly referenced, IIRC.
it’s fixed in 0.5.9 but it means 0.5.7 is effectively unusable (on debian and arch) .
Ori
July 6, 2020, 12:14pm
9
Ah I thought you just had trouble with dfx upgrade. Ok keep using 0.5.9 by all means, if you find issues you can still report them of course and a new version isn’t too far away now anyway.