Hey guys, so I am getting up to speed again now, I finally got HoloNET working with RSM thanks to @connor help! So I can now connect my .net and unity project (oasis api, STAR ODK Interoperable Metaverse Low Code Generator & Our World Geo-Location AR game in Unity), I am running the RAD scaffolding tool (looks great), but I am getting these errors:
[nix-shell:~]$ npm init @holochain
Need to install the following packages:
@holochain/create
Ok to proceed? (y) y
@holochain/create v0.0.35
.
::.:-.-:.-. . .
....-:=-==++***+--==.: :.:..
. :::--=**%@%@@@@@@@@@@%*-. =:=
. .-.:*%@@@@@@%####%@@@@@@%%+=:...
. :-::*#@@@@#=: .-*@@@@%*= :: .
-.:-*#@@@@+. =@@@@#+-:. .
.:-::+%@@@#. *@@@#-=:. .
:..=*@@@# *@@%#-.-:
..:.#+@@@. @@%#-:*:
.::-**@@% #@@*=--..
..:.:=#@@% #@@%+:....
:. :+*@@@: .@@@%=::..
::- -+*@@@%. #@@@=-::::.
. -=:=*%@@%: :%@@%+:.:.
.- .-.+%%@@*: :*@@%**.: .-
.:=++%@@@%*-:. ..-+%@@@#*=+-: .
.. ...-.-#@@@@@@@@@@@@@@@@@@#+--.::.:
. .::-==-#%%@@@@@@%@@#+--:. ::
. .:- .:+:=+++***++--:.:-:...
: .::-:..::.::: .. ..
.: . :. .: .
_ _ _ _ _ ______ ___ ______ _____ _
| | | | | | | | (_) | ___ \/ _ \| _ \ |_ _| | |
| |_| | ___ | | ___ ___| |__ __ _ _ _ __ | |_/ / /_\ \ | | | | | ___ ___ | |___
| _ |/ _ \| |/ _ \ / __| '_ \ / _` | | '_ \ | /| _ | | | | | |/ _ \ / _ \| / __|
| | | | (_) | | (_) | (__| | | | (_| | | | | | | |\ \| | | | |/ / | | (_) | (_) | \__ \
\_| |_/\___/|_|\___/ \___|_| |_|\__,_|_|_| |_| \_| \_\_| |_/___/ \_/\___/ \___/|_|___/
Welcome to the Holochain RAD Tools!
Go to the browser tab that just opened and scaffold your first Holochain app!
App is running at http://localhost:3000 in production mode
Press CTRL-C to stop
> Automatic Setup: we are about to execute these commands:
sh <(curl -L -k https://nixos.org/nix/install)
. ~/.nix-profile/etc/profile.d/nix.sh
cd oasis
nix-shell -p cachix --run "cachix use holochain-ci"
nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-21.11.tar.gz -p niv --run "niv init && niv drop nixpkgs && niv drop niv && niv add -b main holochain/holonix"
nix-shell . --run "npm install"
nix-shell (Nix) 2.5.0pre20211206_d1aaa7e
> Automatic setup: nix is already installed, skipping
> Automatic setup: cd oasis
> Automatic Setup: nix-shell -p cachix --run "cachix use holochain-ci"
Configured https://holochain-ci.cachix.org binary cache in /home/dellams/.config/nix/nix.conf
> Automatic Setup: nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-21.11.tar.gz -p niv --run "niv init && niv drop nixpkgs && niv drop niv && niv add -b main holochain/holonix"
Initializing
Creating nix/sources.nix
Creating nix/sources.json
Importing 'niv' ...
Adding package niv
Writing new sources file
Done: Adding package niv
Importing 'nixpkgs' ...
Adding package nixpkgs
Writing new sources file
Done: Adding package nixpkgs
Done: Initializing
Dropping package: nixpkgs
Dropping package: niv
Adding package holonix
Writing new sources file
Done: Adding package holonix
> Automatic Setup: nix-shell . --run "npm install"
copying path '/nix/store/1cywj8621w8z3j67s10dylz397zj1dxp-rust-overlay-1a133f5' from 'https://holochain-ci.cachix.org'...
copying path '/nix/store/xpd7al7c5l2s4jmgkyjkhmmxcnah377m-packages_binaries' from 'https://holochain-ci.cachix.org'...
copying path '/nix/store/aazka30zb5v3r5cbir57m959xnbr2wa7-holochain' from 'https://holochain-ci.cachix.org'...
these 2 derivations will be built:
/nix/store/0rch5lm6anwl3i8kbyzkq281rwszf580-hn-versions.drv
/nix/store/r8r73r6g4vw9qx1wvlwmpj5a9izpy82r-hn-introspect.drv
these 3 paths will be fetched (21.69 MiB download, 82.50 MiB unpacked):
/nix/store/5rs6305h9vq08x89hvd6mv8bqz10pn59-hc_holochain_kitsune-p2p-tx2-proxy-hc
/nix/store/h2spvljp6my55q0qgsbn75jjq2dl2wvh-hc_holochain_kitsune-p2p-tx2-proxy-kitsune_p2p_tx2_proxy
/nix/store/mk7jgqrz4rpzjplf8bn1r9k8bv1ls79g-hc_holochain_kitsune-p2p-tx2-proxy-holochain
copying path '/nix/store/5rs6305h9vq08x89hvd6mv8bqz10pn59-hc_holochain_kitsune-p2p-tx2-proxy-hc' from 'https://holochain-ci.cachix.org'...
copying path '/nix/store/mk7jgqrz4rpzjplf8bn1r9k8bv1ls79g-hc_holochain_kitsune-p2p-tx2-proxy-holochain' from 'https://holochain-ci.cachix.org'...
copying path '/nix/store/h2spvljp6my55q0qgsbn75jjq2dl2wvh-hc_holochain_kitsune-p2p-tx2-proxy-kitsune_p2p_tx2_proxy' from 'https://holochain-ci.cachix.org'...
building '/nix/store/r8r73r6g4vw9qx1wvlwmpj5a9izpy82r-hn-introspect.drv'...
building '/nix/store/0rch5lm6anwl3i8kbyzkq281rwszf580-hn-versions.drv'...
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated wrench@1.3.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm ERR! code 1
npm ERR! path /home/dellams/oasis/ui
npm ERR! command failed
npm ERR! command sh -c npm run build
npm ERR! > ui@1.0.0 build
npm ERR! > rollup -c
npm ERR!
npm ERR! src/main.ts → public/build/bundle.js...
npm ERR! (!) `this` has been rewritten to `undefined`
npm ERR! https://rollupjs.org/guide/en/#error-this-is-undefined
npm ERR! ../node_modules/@type-craft/title/dist/definitions/create-title.js
npm ERR! 1: var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
npm ERR! ^
npm ERR! 2: var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
npm ERR! 3: if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
npm ERR! ...and 1 other occurrence
npm ERR! ../node_modules/@type-craft/title/dist/definitions/title-detail.js
npm ERR! 1: var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
npm ERR! ^
npm ERR! 2: var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
npm ERR! 3: if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
npm ERR! ...and 1 other occurrence
npm ERR! ../node_modules/@type-craft/content/dist/definitions/create-content.js
npm ERR! 1: var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
npm ERR! ^
npm ERR! 2: var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
npm ERR! 3: if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
npm ERR! ...and 1 other occurrence
npm ERR!
npm ERR! ...and 15 other files
npm ERR! (!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.
npm ERR! (!) Plugin svelte: Unused CSS selector "h1"
npm ERR! src/App.svelte
npm ERR! 47: }
npm ERR! 48:
npm ERR! 49: h1 {
npm ERR! ^
npm ERR! 50: color: #ff3e00;
npm ERR! 51: text-transform: uppercase;
npm ERR! (!) Unresolved dependencies
npm ERR! https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
npm ERR! zlib (imported by ../node_modules/@holochain/client/lib/bundle.js)
npm ERR! fs (imported by ../node_modules/@holochain/client/lib/bundle.js)
npm ERR! [!] (plugin commonjs) SyntaxError: Unexpected keyword 'this' (170:11) in /home/dellams/oasis/node_modules/@vaadin/field-base/src/helper-controller.js
npm ERR! ../node_modules/@vaadin/field-base/src/helper-controller.js (170:11)
npm ERR! 168: detail: {
npm ERR! 169: hasHelper,
npm ERR! 170: node: this.node,
npm ERR! ^
npm ERR! 171: },
npm ERR! 172: }),
npm ERR! SyntaxError: Unexpected keyword 'this' (170:11) in /home/dellams/oasis/node_modules/@vaadin/field-base/src/helper-controller.js
npm ERR! at Parser.pp$4.raise (/home/dellams/oasis/node_modules/rollup/dist/shared/rollup.js:19740:13)
npm ERR! at Parser.pp$5.checkUnreserved (/home/dellams/oasis/node_modules/rollup/dist/shared/rollup.js:19640:12)
npm ERR! at Parser.pp$5.parsePropertyValue (/home/dellams/oasis/node_modules/rollup/dist/shared/rollup.js:19447:10)
npm ERR! at Parser.pp$5.parseProperty (/home/dellams/oasis/node_modules/rollup/dist/shared/rollup.js:19410:8)
npm ERR! at Parser.pp$5.parseObj (/home/dellams/oasis/node_modules/rollup/dist/shared/rollup.js:19356:21)
npm ERR! at Parser.pp$5.parseExprAtom (/home/dellams/oasis/node_modules/rollup/dist/shared/rollup.js:19091:17)
npm ERR! at Parser.pp$5.parseExprSubscripts (/home/dellams/oasis/node_modules/rollup/dist/shared/rollup.js:18907:19)
npm ERR! at Parser.pp$5.parseMaybeUnary (/home/dellams/oasis/node_modules/rollup/dist/shared/rollup.js:18873:17)
npm ERR! at Parser.pp$5.parseExprOps (/home/dellams/oasis/node_modules/rollup/dist/shared/rollup.js:18800:19)
npm ERR! at Parser.pp$5.parseMaybeConditional (/home/dellams/oasis/node_modules/rollup/dist/shared/rollup.js:18783:19)
npm ERR!
npm ERR! npm ERR! Lifecycle script `build` failed with error:
npm ERR! npm ERR! Error: command failed
npm ERR! npm ERR! in workspace: ui@1.0.0
npm ERR! npm ERR! at location: /home/dellams/oasis/ui
npm ERR! A complete log of this run can be found in:
npm ERR! /home/dellams/.npm/_logs/2022-07-11T19_02_07_210Z-debug-0.log
> Automatic setup: there was an error executing the automatic setup, exiting...
npm notice
npm notice New minor version of npm available! 8.5.5 -> 8.13.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.13.2
npm notice Run npm install -g npm@8.13.2 to update!
npm notice
npm ERR! code 1
npm ERR! path /home/dellams
npm ERR! command failed
npm ERR! command sh -c create
npm ERR! A complete log of this run can be found in:
npm ERR! /home/dellams/.npm/_logs/2022-07-11T18_52_46_272Z-debug-0.log
[nix-shell:~]$
Any help would be greatly appreciated thanks.