Hi, moderators! Can you help me with linking to Trusted Cloud so I could continue with the course?
I experiencing the same problems with beta and Master wallets when
node src/main.js link *******
I’ve tried every suggestion from this forum.
I completely removed the newer version of node js from Windows 10, following this post from StackOverflow:
https://stackoverflow.com/questions/20711240/how-to-completely-remove-node-js-from-windows
Following instructions from Enjin
https://enjin.io/docs/daemon-installation
I’ve downloaded and installed “node-v11.0.0-x64.msi” from:
https://nodejs.org/download/release/v11.0.0/
Suppose Python 2 is auto-installed with the node.js
I already have installed Python 3.9
When in cmd
python --version
Python 2.7.18
After node installed
(Windows+R cmd run with ctrl-shift-enter)
npm install --global --production windows-build-tools
OK
GIT - already installed, updated to the newest version.
Then downloaded the zip for the wallet daemon:
https://cdn.enjin.io/downloads/enjin-wallet-daemon/latest
Before npm install
I created a new “config.json” following these instructions “Copy the file from example-config.json to config.json”
https://enjin.io/docs/daemon-first-steps
Then npm install
OK
added 414 packages from 239 contributors and audited 414 packages in 94.628s
found 40 vulnerabilities (26 low, 1 moderate, 12 high, 1 critical)
Then npm audit fix --force
fixed 40 of 40 vulnerabilities in 414 scanned packages
If npm install
Master version it returns
added 655 packages from 425 contributors and audited 655 packages in 183.013s
found 1039 vulnerabilities (30 low, 5 moderate, 1003 high, 1 critical)
Then npm audit fix --force
fixed 381 of 1039 vulnerabilities in 652 scanned packages
658 vulnerabilities required manual review and could not be updated
Then node src/main.js account new
OK
This is Log output error after node src/main.js link *******
Same problems with beta and Master wallets
<
Logging to C:\Users\msi\AppData\Local\enjin-wallet-daemon\enjin-wallet-daemon-2021-01-31T01-28-08.189Z.log
Reading config file: D:\Unity\Ivan on Tech\WaMaster\enjin-wallet-daemon-master\config.json
Password:********
Enjin Wallet Daemon v0.2
account - created - (address: 0x50a5D54213320F9a0cbB93aFB61727CD1fB6688b)
account - nonce 0 - (address: 0x50a5D54213320F9a0cbB93aFB61727CD1fB6688b)
storage - Saving storage to: C:\Users\msi\AppData\Local\enjin-wallet-daemon\storage.json
wallet - Linking to new app using *******
wallet - Getting TP ID...
wallet - TP ID is 5
wallet - Connecting to trusted platform 5
storage - Saving storage to: C:\Users\msi\AppData\Local\enjin-wallet-daemon\storage.json
! Error
--------------------------------------------------------------------------------
(node:1484) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'errors' of undefined
at main.then.catch (D:\Unity\Ivan on Tech\WaMaster\enjin-wallet-daemon-master\src\main.js:97:48)
at process.internalTickCallback (internal/process/next_tick.js:77:7)
(node:1484) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1484) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
>
**Before every new attempt, I delete **
%LOCALAPPDATA%\enjin-wallet-daemon
- folder
I’ve exported Env variables (user and system) maybe you can spot some error there if there is:
USER
Key Name: HKEY_CURRENT_USER\Environment
Class Name: <NO CLASS>
Last Write Time: 1/31/2021 - 1:49 AM
Value 0
Name: ChocolateyLastPathUpdate
Type: REG_SZ
Data: 132551870052684399
Value 1
Name: OneDrive
Type: REG_EXPAND_SZ
Data: C:\Users\msi\OneDrive
Value 2
Name: Path
Type: REG_SZ
Data: C:\Users\msi\.windows-build-tools\python27\;C:\Users\msi\.windows-build-tools\python27\;C:\Users\msi\.windows-build-tools\python27\;C:\Users\msi\.windows-build-tools\python27\;C:\Users\msi\AppData\Local\Microsoft\WindowsApps;C:\Users\msi\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\msi\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\msi\AppData\Roaming\npm
Value 3
Name: TEMP
Type: REG_EXPAND_SZ
Data: %USERPROFILE%\AppData\Local\Temp
Value 4
Name: TMP
Type: REG_EXPAND_SZ
Data: %USERPROFILE%\AppData\Local\Temp
Value 5
Name: NVM_HOME
Type: REG_EXPAND_SZ
Data: C:\Users\msi\AppData\Roaming\nvm
Value 6
Name: NVM_SYMLINK
Type: REG_EXPAND_SZ
Data: C:\Program Files\nodejs
Value 7
Name: PSModulePath
Type: REG_SZ
Data: C:\Users\msi\Documents\WindowsPowerShell\Modules
SYSTEM
Key Name: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
Class Name: <NO CLASS>
Last Write Time: 1/31/2021 - 1:50 AM
Value 0
Name: ChocolateyInstall
Type: REG_SZ
Data: C:\ProgramData\chocolatey
Value 1
Name: ComSpec
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\cmd.exe
Value 2
Name: DriverData
Type: REG_SZ
Data: C:\Windows\System32\Drivers\DriverData
Value 3
Name: NUMBER_OF_PROCESSORS
Type: REG_SZ
Data: 12
Value 4
Name: OS
Type: REG_SZ
Data: Windows_NT
Value 5
Name: Path
Type: REG_SZ
Data: C:\Python27\;C:\Python27\Scripts;C:\ProgramData\Boxstarter;C:\Python39\Scripts\;C:\Python39\;C:\Users\msi\AppData\Roaming\Python\Python39\Scripts;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Users\msi\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Program Files\nodejs\
Value 6
Name: PATHEXT
Type: REG_SZ
Data: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW
Value 7
Name: PROCESSOR_ARCHITECTURE
Type: REG_SZ
Data: AMD64
Value 8
Name: PROCESSOR_IDENTIFIER
Type: REG_SZ
Data: Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
Value 9
Name: PROCESSOR_LEVEL
Type: REG_SZ
Data: 6
Value 10
Name: PROCESSOR_REVISION
Type: REG_SZ
Data: 9e0a
Value 11
Name: PSModulePath
Type: REG_SZ
Data: C:\ProgramData\Boxstarter;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
Value 12
Name: TEMP
Type: REG_EXPAND_SZ
Data: %SystemRoot%\TEMP
Value 13
Name: TMP
Type: REG_EXPAND_SZ
Data: %SystemRoot%\TEMP
Value 14
Name: USERNAME
Type: REG_SZ
Data: SYSTEM
Value 15
Name: windir
Type: REG_EXPAND_SZ
Data: %SystemRoot%
Value 16
Name: NVM_HOME
Type: REG_EXPAND_SZ
Data: C:\Users\msi\AppData\Roaming\nvm
Value 17
Name: NVM_SYMLINK
Type: REG_EXPAND_SZ
Data: C:\Program Files\nodejs
Am I doing something wrong or there are some issues with the Enjin wallet and how to FIX that?