We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
The Typescript SDK is incompatible with the current runtime since only Nodejs 12 is provided - and the SDK requires a more recent version.
We should install a recent version of Nodejs when creating the runtime rootfs instead of using the version provided by Debian 11 Bullseye.
Installing it from Nodesource looks like a recommended approach: https://github.com/nodesource/distributions/blob/master/README.md
The text was updated successfully, but these errors were encountered:
This may be enough:
diff --git a/runtimes/aleph-debian-11-python/create_disk_image.sh b/runtimes/aleph-debian-11-python/create_disk_image.sh index 7fbb620..c6a10e8 100755 --- a/runtimes/aleph-debian-11-python/create_disk_image.sh +++ b/runtimes/aleph-debian-11-python/create_disk_image.sh @@ -22,7 +22,6 @@ apt-get install -y --no-install-recommends --no-install-suggests \ python3-setuptools \ python3-pip python3-cytoolz python3-pydantic \ iproute2 unzip \ - nodejs npm \ build-essential python3-dev pip3 install 'fastapi~=0.71.0' @@ -33,6 +32,10 @@ pip3 install 'aleph-client>=0.4.6' 'coincurve==15.0.0' # Compile all Python bytecode python3 -m compileall -f /usr/local/lib/python3.9 +# Install Nodejs 18 +curl -fsSL https://deb.nodesource.com/setup_18.x | bash - +apt-get install -y nodejs + echo "root:toor" | /usr/sbin/chpasswd mkdir -p /overlay
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
The Typescript SDK is incompatible with the current runtime since only Nodejs 12 is provided - and the SDK requires a more recent version.
We should install a recent version of Nodejs when creating the runtime rootfs instead of using the version provided by Debian 11 Bullseye.
Installing it from Nodesource looks like a recommended approach:
https://github.com/nodesource/distributions/blob/master/README.md
The text was updated successfully, but these errors were encountered: