Open juha-h opened 2 years ago
The json errors are produced by lint, so I guess they are not important.
same problem on centos 9 stream + node.js 16.17
[11:49:02] Starting 'lint'... [11:49:08] /home/noc/tryit-jssip/gulpfile.js 45:21 error Unexpected use of file extension "json" for "./package.json" import/extensions
/home/noc/tryit-jssip/lib/audioPlayer.js 3:23 error Unexpected use of file extension "json" for "./sounds.json" import/extensions
✖ 2 problems (2 errors, 0 warnings)
I upgraded my host OS from Debian 10 to 11 and noticed that
npm install
does not anymore succeed. I gotFrom page https://www.npmjs.com/package/react-addons-css-transition-group I learned that now react-transition-group is recommended as react-addons-css-transition-group replacement. So I went and in
package.json
replaced linewith line
and in
lib/components/TransitionAppear.jsx
linewith line
After that
npm install
worked (with lots of depreceted warnings):Then I run
gulp prod
and got two errors about json file extensions:I haven't tried to figure out how those errors could be fixed.