Description of problem: It seems that we have a very outdated version of npm in Mageia 6 as I get this error when I try to run exactly as the README.md for the wire-desktop guide tells me to run, bit by bit. Loading "Gruntfile.js" tasks...ERROR >> SyntaxError: Unexpected token ) Warning: Task "linux-prod" not found. Use --force to continue. Aborted due to warnings. npm ERR! Linux 4.14.30-desktop-3.mga6 npm ERR! argv "/usr/bin/node" "/bin/npm" "run" "build:linux" npm ERR! node v6.10.3 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! wire-desktop@ build:linux: `grunt linux-prod` npm ERR! Exit status 3 npm ERR! npm ERR! Failed at the wire-desktop@ build:linux script 'grunt linux-prod'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the wire-desktop package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! grunt linux-prod npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs wire-desktop npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls wire-desktop npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/kristoffer/Desktop/wire-desktop/npm-debug.log I'm looking to get npm added to Cauldron as a seperate package to nodejs. Version-Release number of selected component (if applicable): 6.0.0 Anyone open to add it?
CC: (none) => hamnisdudeURL: (none) => https://github.com/npm/npm
(In reply to Kristoffer Grundström from comment #0) > Description of problem: It seems that we have a very outdated version of npm > in Mageia 6 as I get this error <snip> > > I'm looking to get npm added to Cauldron as a separate package to nodejs. You mean with its own npm SRPM, so split out of the nodejs SRPM, right? > > Version-Release number of selected component (if applicable): 6.0.0 > > Anyone open to add it? Assigning to the nodejs maintainer and CC'ing some more nodejs-* maintainers for a decision about whether this package request can be accepted.
CC: (none) => mageia, marja11, thierry.vignaudSource RPM: npm => (none)Assignee: bugsquad => joequant
Yes, that's exactly what I meant.
Created attachment 10495 [details] Output from trying to update the npm version https://npme.npmjs.com/docs/cli/updating.html tells you to do ' npm install npm -g ' to make sure that npm is the latest version installed, but when I do so as root in the terminal in MATE I get the attached output.
Ping! What's the verdict about this Is it a no-go?
Apparently it still does not want to upgrade with it's own suggested command: npm install -g npm It would be nice to have the instructions telling you to run that command using sudo if your user is added to sudoers group. It works just fine when runned with sudo.
Can someone please push at least version 7.0.0 of npm so that I may finally build a tutanota-desktop rpm for Mageia? When running npm install to build tutanota-desktop I get this: npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for tutanota@3.85.10: wanted: {"npm":">=7.0.0"} (current: {"node":"14.17.4","npm":"6.14.14"}) npm ERR! notsup Not compatible with your version of node/npm: tutanota@3.85.10 npm ERR! notsup Not compatible with your version of node/npm: tutanota@3.85.10 npm ERR! notsup Required: {"npm":">=7.0.0"} npm ERR! notsup Actual: {"npm":"6.14.14","node":"14.17.4"}
I see we have 7.19. in Cauldron. Can we push a Backport to Mageia 8?
Hi. npm has been updated along the new nodejs version.
Resolution: (none) => FIXEDStatus: NEW => RESOLVEDCC: (none) => chb0