NodeJS
-
- Warlord
- Posts: 622
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
NodeJS
I'm trying to install nodejs. Using getpkg a nodejs-16.14.2-x86_64-1.xzm was built, but surprisingly it misses some libs: libuv, libicui18n.so.70 and who knows how many more. I wonder why getpkg didn't take care of dependencies for me. Could someone build or share their nodejs module, please?
NodeJS
all the deps of nodejs are available into the slackware 64 current tree,you may have trouble with the icu package that not match the porteus version that is 69 if i remeber well
brotli,c-ares,icu,libnghttp2,libuv,openssl,zlib and rpm i think if you have the Aporteus better to use arch that have nodejs in community repos and the last version.
and i can confirm you if you use the deps checker in SPM and choose the npm package you have all you ned to start with:
brotli,c-ares,icu,libnghttp2,libuv,openssl,zlib and rpm i think if you have the Aporteus better to use arch that have nodejs in community repos and the last version.
and i can confirm you if you use the deps checker in SPM and choose the npm package you have all you ned to start with:
Code: Select all
root /mnt/sdj1/porteus/modules # npm
npm <command>
Usage:
npm install install all the dependencies in your project
npm install <foo> add the <foo> dependency to your project
npm test run this project's tests
npm run <foo> run the script named <foo>
npm <command> -h quick help on <command>
npm -l display usage info for all commands
npm help <term> search for help on <term>
npm help npm more involved overview
All commands:
access, adduser, audit, bin, bugs, cache, ci, completion,
config, dedupe, deprecate, diff, dist-tag, docs, doctor,
edit, exec, explain, explore, find-dupes, fund, get, help,
hook, init, install, install-ci-test, install-test, link,
ll, login, logout, ls, org, outdated, owner, pack, ping,
pkg, prefix, profile, prune, publish, rebuild, repo,
restart, root, run-script, search, set, set-script,
shrinkwrap, star, stars, start, stop, team, test, token,
uninstall, unpublish, unstar, update, version, view, whoami
Specify configs in the ini-formatted file:
/root/.npmrc
or on the command line via: npm <command> --key=value
More configuration info: npm help config
Configuration fields: npm help 7 config
npm@8.5.5 /usr/lib/node_modules/npm
root /mnt/sdj1/porteus/modules # node
Welcome to Node.js v17.8.0.
Type ".help" for more information.
- Rava
- Contributor
- Posts: 5401
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
NodeJS
Just FYI, npm is by default not part of Porteus.
More info here
Npm (software) on en.wikipedia
https://docs.npmjs.com/getting-started
https://docs.npmjs.com/
HTH
More info here
Npm (software) on en.wikipedia
https://docs.npmjs.com/getting-started
https://docs.npmjs.com/
HTH
Cheers!
Yours Rava
Yours Rava
- ncmprhnsbl
- DEV Team
- Posts: 3933
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
NodeJS
a couple of things: 1. getpkg is a simple script that simply searches and downloads packages from the official slackware repo, and as such does not and cannot determine dependencies. (slackware repos don't even contain any such info)
2. RC3 is now a long way out of sync with slackware current, meaning a lot of packages will be compiled against newer libs (even more so now that current has moved on even from the slackware-15.0 release)
one way the possibly get compatible packages for RC3 is to manually search: https://slackware.uk/cumulative/slackwa ... ackware64/ for the package at or around about the release date of RC3 ie. june or july 2021
this way there should be *less* 'missing library issues' ..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
-
- Warlord
- Posts: 622
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
NodeJS
Sorry, am I too outdated with my system? I thought RC3 was the latest porteus? Am I recommended to migrate to Aporteus at this stage? Would installing/using the npm (which I haven't heard of before) on RC3 allow me to install packages easier? -- okay, don't confuse me with this npm -- it's installed within/after/if I manage to install nodejs itself
Last edited by rych on 09 Apr 2022, 03:10, edited 1 time in total.
NodeJS
hi rych if you choose Aporteus you have to do a rsync of the iso that upgrade to the last software the system and after you can play with the package manager that is a great tool, arch, and Aporteus too, they migrated to the 3.10 python.when the porteus slackware 15 is done and the sbopkg is ready to the version,we can play with it
-
- Warlord
- Posts: 622
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
NodeJS
beny, thanks, I might try APorteus then. Is it from this thread: ArchLinux packages manager for Porteus ? I'd be getting this as it has OpenBox and Japanese input included:
By the way, do you have an idea when the next version after RC3 will be ready: this year, next year? It's worrying that even getpkg is now ahead and gives me incompatible packages:APorteus-MULT_ja-v22.03.24.3-x86_64.iso (523 M)
https://www.mediafire.com/file/yrdfrcaa ... x86_64.iso
md5sum: 2ec8aaab21ad995c9ad8c53d969715c1 APorteus-MULT_ja-v22.03.24.3-x86_64.iso
Multi Desktop: LXDE, FVWM, E16, OPENBOX
Kernel version: 5.18-rc1
Packages version: the latest version at the time of creating ISO (2022.03.26/2022.03.24).