Yes, now it’s better:
==> Starting build()...
npm ERR! Cannot read property '@babel/plugin-syntax-import-assertions' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /home/maras/.npm/_logs/2023-11-03T18_06_43_220Z-debug.log
==> ERROR: A failure occurred in build().
Aborting...
That should be the default logging level, I think :).
There was the same error in the npm log:
Cannot read property '@babel/plugin-syntax-import-assertions' of undefined
So I updated node and nvm:
info using npm@10.2.3
info using node@v20.9.0
But I can’t install tropy after that:
npm WARN deprecated @babel/plugin-proposal-export-namespace-from@7.18.9: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm ERR! code 1
npm ERR! path /home/maras/.cache/yay/tropy/src/tropy-1.15.2/node_modules/electron
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! HTTPError: Response code 404 (Not Found)
npm ERR! at Request._onResponseBase (/home/maras/.cache/yay/tropy/src/tropy-1.15.2/node_modules/got/dist/source/core/index.js:913:31)
npm ERR! at Request._onResponse (/home/maras/.cache/yay/tropy/src/tropy-1.15.2/node_modules/got/dist/source/core/index.js:948:24)
npm ERR! at ClientRequest.<anonymous> (/home/maras/.cache/yay/tropy/src/tropy-1.15.2/node_modules/got/dist/source/core/index.js:962:23)
npm ERR! at Object.onceWrapper (node:events:629:26)
npm ERR! at ClientRequest.emit (node:events:526:35)
npm ERR! at origin.emit (/home/maras/.cache/yay/tropy/src/tropy-1.15.2/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
npm ERR! at HTTPParser.parserOnIncomingClient (node:_http_client:693:27)
npm ERR! at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
npm ERR! at TLSSocket.socketOnData (node:_http_client:535:22)
npm ERR! at TLSSocket.emit (node:events:514:28)
npm ERR! A complete log of this run can be found in: /home/maras/.npm/_logs/2023-11-03T18_52_04_947Z-debug-0.log
==> KLAIDA: Kilo bėdų su build().
I’m not a programmer, that’s too much for me :). I can add log if that’ll help you.
The only reason why I’m installing tropy is that tropy-bin dosen’t work properly in Wayland. So I’ll use tropy-bin in XWayland for now.