Package Details: prospect-mail 0.5.4-1

Git Clone URL: https://aur.archlinux.org/prospect-mail.git (read-only, click to copy)
Package Base: prospect-mail
Description: An unofficial Outlook mail desktop client powered by Electron.(Use system-wide electron)
Upstream URL: https://github.com/julian-alarcon/prospect-mail
Keywords: electron hacktoberfest microsoft365 office365 outlook outlook-desktop-client
Licenses: MIT
Conflicts: prospect-mail, prospect-mail-beta
Provides: prospect-mail
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 1
Popularity: 0.000290
First Submitted: 2024-01-18 02:10 (UTC)
Last Updated: 2025-03-21 09:47 (UTC)

Dependencies (7)

Required by (0)

Sources (2)

Latest Comments

tuximail commented on 2025-05-13 11:57 (UTC)

This sounded promising, but even with a clean install, unfortunately the same error. I did a bit of research. It seems a common problem that npm is using not the node binary people expect it to, from what I understand. My solution for now is to use the bin version of this package. Thank you for the support, even though we couldn't narrow the issue down :)

zxp19821005 commented on 2025-05-12 09:53 (UTC)

@tuximail I've reinstalled it for several times, and no errors occurd:

==> 正在开始 prepare()...
mkdir: 已创建目录 '/home/zxp-endeavouros/.cache/paru/clone/prospect-mail/src/.nvm'
'/home/zxp-endeavouros/.cache/paru/clone/prospect-mail/src/.nvm/nvm.sh' -> '/usr/share/nvm/nvm.sh'
'/home/zxp-endeavouros/.cache/paru/clone/prospect-mail/src/.nvm/nvm-exec' -> '/usr/share/nvm/nvm-exec'
Downloading and installing node v20.19.1...
Downloading https://registry.npmmirror.com/-/binary/node/v20.19.1/node-v20.19.1-linux-x64.tar.xz...
########################################################################################################################################################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v20.19.1 (npm v10.8.2)
Creating default alias: default -> 20 (-> v20.19.1)
Now using node v20.19.1 (npm v10.8.2)
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
$ electron-builder install-app-deps
  • electron-builder  version=24.6.4
  • loaded configuration  file=package.json ("build" field)
Done in 188.17s.
==> 正在开始 build()...
yarn run v1.22.22
$ /home/zxp-endeavouros/.cache/paru/clone/prospect-mail/src/prospect-mail.git/node_modules/.bin/electron-builder --linux dir -c.electronDist=/usr/lib/electron27
  • electron-builder  version=24.6.4 os=6.14.5-arch1-1
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=27.0.2 appOutDir=dist/linux-unpacked
  • copying Electron  source=/usr/lib/electron27 destination=/home/zxp-endeavouros/.cache/paru/clone/prospect-mail/src/prospect-mail.git/dist/linux-unpacked
Done in 0.99s.
==> 正在进入 fakeroot 环境...
==> 正在开始 package()...
==> 正在清理安装...

I think maybe you should add these to your .bashr or .zshrc:

# NVM
[ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm"
source /usr/share/nvm/nvm.sh
source /usr/share/nvm/bash_completion
source /usr/share/nvm/init-nvm.sh

and reinstall again. You'd better do a purge clean first.

tuximail commented on 2025-05-12 08:17 (UTC)

I reinstalled nvm, but no changes. Here is what I observed. The Version node20 is correctly installed during the process:

mkdir: created directory '/home/junger/.cache/yay/prospect-mail/src/.nvm'
'/home/user/.cache/yay/prospect-mail/src/.nvm/nvm.sh' -> '/usr/share/nvm/nvm.sh'
'/home/user/.cache/yay/prospect-mail/src/.nvm/nvm-exec' -> '/usr/share/nvm/nvm-exec'
Downloading and installing node v20.19.1...
Downloading https://nodejs.org/dist/v20.19.1/node-v20.19.1-linux-x64.tar.xz...
############################################################################################################################################################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v20.19.1 (npm v10.8.2)
Creating default alias: default -> 20 (-> v20.19.1)
Now using node v20.19.1 (npm v10.8.2)

but later, when the error occurs, it says:

error prospect-mail@0.5.4: The engine "node" is incompatible with this module. Expected version "^20.6". Got "23.9.0"

I checked with my package manager: I have the package nodejs in version 23.9.0 installed. This is an indirect dependency of this package (it is a dependency of yarn). If I am totally mistaken here, I am sorry - this was just my observation and it makes sense to me.

zxp19821005 commented on 2025-05-12 07:56 (UTC)

@tuximail It looks that you havn't installed nvm correctlly. Please reinstall or update it first. I've used nvm to install node20.

tuximail commented on 2025-05-12 07:38 (UTC)

I am not familiar with npm and all this, but I get this error for a while when trying to update to the current package version:

yarn run v1.22.22
error prospect-mail@0.5.4: The engine "node" is incompatible with this module. Expected version "^20.6". Got "23.9.0"
error Commands cannot run with an incompatible environment.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> ERROR: A failure occurred in build().