Regarding the issue above I have anyway been able to run the public test net symbol node.
I have found similar issue while installing the symbol-cli tool.
Here is the output:
user@server:~$ sudo npm install --global symbol-cli
npm WARN deprecated @types/ora@3.2.0: This is a stub types definition. ora provides its own type definitions, so you do not need this installed.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated js-joda@1.11.0: This package is deprecated, please check/use @js-joda/core instead
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
/usr/bin/symbol-cli -> /usr/lib/node_modules/symbol-cli/bin/symbol-cli
> tiny-secp256k1@1.1.5 install /usr/lib/node_modules/symbol-cli/node_modules/tiny-secp256k1
> npm run build || echo "secp256k1 bindings compilation fail. Pure JS implementation will be used."
> tiny-secp256k1@1.1.5 build /usr/lib/node_modules/symbol-cli/node_modules/tiny-secp256k1
> node-gyp rebuild
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/home/user/.cache/node-gyp/12.19.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/symbol-cli/node_modules/tiny-secp256k1/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/symbol-cli/node_modules/tiny-secp256k1/.node-gyp'
gyp ERR! System Linux 4.15.0-118-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/symbol-cli/node_modules/tiny-secp256k1
gyp ERR! node -v v12.19.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tiny-secp256k1@1.1.5 build: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tiny-secp256k1@1.1.5 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2020-10-10T14_09_17_582Z-debug.log
secp256k1 bindings compilation fail. Pure JS implementation will be used.
npm WARN eslint-config-prettier@6.12.0 requires a peer of eslint@>=3.14.1 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-prettier@3.1.4 requires a peer of eslint@>=5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-prettier@3.1.4 requires a peer of prettier@>=1.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN symbol-sdk@0.21.0 requires a peer of utf8@^2.1.2 but none is installed. You must install peer dependencies yourself.
+ symbol-cli@0.22.0
added 261 packages from 211 contributors in 23.464s
I have been able to use the cli tool anyway for basic stuff like creating new profile.
I have not tested all the options yet.
Another small issue in the following documentation
is mentioned how to run the symbol node with:
symbol-bootstrap start -p testnet -a dual
I had to use sudo command to make it work so
sudo symbol-bootstrap start -p testnet -a dual
also the path mentioned in the documentation where the configuration .yml file is
target/config/generated-addresses/addresses.yml
but when running the symbol-bootstrap command from above it created the addresses.yml file
on the following path:
target/addresses.yml
I do not have the config folder maybe because I have not called
symbol-bootstrap config
before.
This just for you to know in case you need to make changes to the documentation.
In case i find anything else i will report it here or in a new thread.