npm: Invalid tag name ">=null"

npm: Invalid tag name ">=null"

aheritieraheritier Posts: 7Questions: 1Answers: 0

Hi team,

I am trying to use StateRestore with NPM and I don't succeed to install the BS4 module

Link to test case: npm install datatables.net-staterestore-bs4
Debugger code (debug.datatables.net): N/A
Error messages shown:

npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ">=null": Tags may not have any characters that encodeURIComponent encodes.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/arnaud/.npm/_logs/2022-01-06T10_33_52_975Z-debug.log

And in the debug logs I have

36 timing command:install Completed in 1255ms
37 verbose stack Error: Invalid tag name ">=null": Tags may not have any characters that encodeURIComponent encodes.
37 verbose stack     at invalidTagName (/Users/arnaud/project/data/node/node_modules/npm/node_modules/npm-package-arg/npa.js:89:15)
37 verbose stack     at fromRegistry (/Users/arnaud/project/data/node/node_modules/npm/node_modules/npm-package-arg/npa.js:343:13)
37 verbose stack     at Function.resolve (/Users/arnaud/project/data/node/node_modules/npm/node_modules/npm-package-arg/npa.js:80:12)
37 verbose stack     at /Users/arnaud/project/data/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1034:38
37 verbose stack     at Array.map (<anonymous>)
37 verbose stack     at visit (/Users/arnaud/project/data/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1033:56)
37 verbose stack     at visitNode (/Users/arnaud/project/data/node/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:57:25)
37 verbose stack     at next (/Users/arnaud/project/data/node/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:44:19)
37 verbose stack     at depth (/Users/arnaud/project/data/node/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:82:10)
37 verbose stack     at depth (/Users/arnaud/project/data/node/node_modules/npm/node_modules/treeverse/lib/depth.js:27:12)
38 verbose cwd /Users/arnaud/project
39 verbose Darwin 21.2.0
40 verbose argv "/Users/arnaud/project/data/node/node" "/Users/arnaud/project/data/node/node_modules/npm/bin/npm-cli.js" "install" "datatables.net-staterestore-bs4"
41 verbose node v16.13.1
42 verbose npm  v8.1.2
43 error code EINVALIDTAGNAME
44 error Invalid tag name ">=null": Tags may not have any characters that encodeURIComponent encodes.
45 verbose exit 1

Description of problem:

It's impossible to install the node module datatables.net-staterestore-bs4

Note: datatables.net-staterestore is ok

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.