npm: Invalid tag name ">=null"
npm: Invalid tag name ">=null"
aheritier
Posts: 7Questions: 1Answers: 0
in StateRestore
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
Digging a bit more I found https://github.com/DataTables/Dist-DataTables-StateRestore-Bootstrap4/issues/1 and thus it's already fixed by @ctrought ( merged by @allan ) with
https://github.com/DataTables/Dist-DataTables-StateRestore-Bootstrap4/commit/6ff8241a36bb361b7a12ea12242eeabfe8e08de9
Thus we just need to wait for a 1.0.2 release AFAIU ?
Yes - we need to do a release to sort that out. I've added it to my list of things to do tomorrow .
Allan
Awesome. Thanks a lot for your reactivity @allan
@allan @sandy Do you have any visibility on the new release of StateRestore ?
Cheers
Hi,
Sorry - getting bogged down in stuff at the moment and didn't get the release out. It is done now - 1.1.0.
Allan
Awesome @allan Thanks a lot
Thanks @allan!