Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Mint 20 [Ulyana]: Installation utterly broken under NPM, all attempts to solve issues have failed, Percollate rendered unusable #101

Closed
captainmalarky opened this issue Aug 23, 2020 · 5 comments

Comments

@captainmalarky
Copy link

Environment

  • Operating System: Linux Mint (MATE) 20 Ulyana // Ubuntu Linux 20 derivative distro
  • node --version: multiple, including recommended 10.0.0
  • npm --version: corresponding
  • yarn --version, if using Yarn:
  • percollate --version: 0.8.0

Description

The installation of Percollate via NPM on Linux Mint (MATE DE) 20 Ulyana (recommended version installed via NVM, as well as generic latest) does not work. It states that multiple dependencies have deprecated and that the installation has failed. I have reinstalled the OS, reinstalled only the recommended v10.0.0 of node.js via NVM and the issues have not been resolved.

@danburzo
Copy link
Owner

danburzo commented Aug 23, 2020

Hi @captainmalarky, thank you for the bug report. I have reproduced the installation failure using 10.0.0.

I specified 10.0.0 because it's the earliest Node.js version that supports all the JavaScript syntax used in percollate. However, in the process of upgrading the puppeteer package, I missed the fact that their installer now required Node.js 10.18.1, so in percollate@0.8.1 I have bumped the Node.js requirement accordingly.

Please note that this is not the recommended version, but the minimum version in which percollate is expected to work.

With Node.js 10.18.1 installed with nvm on Linux Mint 20, I am able to install and use percollate.

Please let me know if that fixes the issue for you!

Edit: I've also tried with Node v12.18.3 (installed with nvm install --lts, and it works. In regards to the deprecated dependencies, the warnings are inconsequential to the installation process.

@captainmalarky
Copy link
Author

captainmalarky commented Aug 23, 2020 via email

@danburzo
Copy link
Owner

Unfortunately I haven't used Node.js on Linux extensively enough to suggest the best approach, but in my tests (installing, and running, Linux Mint 20 in a VirtualBox environment) it seems that nvm works well for managing node versions, installing percollate, and using it.

One small disadvantage to nvm is, however, that you'll need to install percollate for each node version you use since it stores globally-installed packages in separate folders for each version. (Use npm bin -g to find out where the global binaries are kept).

@captainmalarky
Copy link
Author

captainmalarky commented Aug 24, 2020 via email

@danburzo
Copy link
Owner

I'm glad you got percollate working, and thank you for the kind words!

I've now bumped the minimum Node version to 10.22.0 for good measure, but I'll only publish a new version on npm with the next batch of updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants