Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.js 13.x is no longer actively supported #2

Closed
kwenzig opened this issue Dec 29, 2020 · 3 comments
Closed

Node.js 13.x is no longer actively supported #2

kwenzig opened this issue Dec 29, 2020 · 3 comments

Comments

@kwenzig
Copy link

kwenzig commented Dec 29, 2020

Installation with

pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -

as described here https://wiki.fhem.de/wiki/Google_Assistant_FHEM_Connect#Installation results in

                              DEPRECATION WARNING                            
  Node.js 13.x is no longer actively supported!
  You will not receive security or critical stability updates for this version.
  You should migrate to a supported version of Node.js as soon as possible.
  Use the installation script that corresponds to the version of Node.js you
  wish to install. e.g.
   * https://deb.nodesource.com/setup_10.x — Node.js 10 LTS "Dubnium"
   * https://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium" (recommended)
   * https://deb.nodesource.com/setup_14.x — Node.js 14 LTS "Fermium"
   * https://deb.nodesource.com/setup_15.x — Node.js 15 "Fifteen"

These warnings in a later step may be realted:

pi@raspberrypi:~ $ sudo npm install -g gassistant-fhem --unsafe-perm
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
/usr/bin/gassistant-fhem -> /usr/lib/node_modules/gassistant-fhem/bin/gassistant-fhem
> grpc@1.24.4 install /usr/lib/node_modules/gassistant-fhem/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download 
[grpc] Success: "/usr/lib/node_modules/gassistant-fhem/node_modules/grpc/src/node/extension_binary/node-v79-linux-arm-glibc/grpc_node.node" is installed via remote
> core-js@3.6.5 postinstall /usr/lib/node_modules/gassistant-fhem/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
(...)
> protobufjs@6.10.2 postinstall /usr/lib/node_modules/gassistant-fhem/node_modules/protobufjs
> node scripts/postinstall
+ gassistant-fhem@3.0.3
added 327 packages from 244 contributors in 99.301s
@fhempy
Copy link
Owner

fhempy commented Dec 30, 2020

Thanks!

I'm going to test it with Node.js 14 LTS and see if it works.

request, request-promise and har-validator are separate libraries I need to change due to deprecated warning.

@fhempy
Copy link
Owner

fhempy commented Dec 30, 2020

Successfully tested with NodeJS 14 and updated wiki for installation.

Other fixes will be done in the next days.

@fhempy
Copy link
Owner

fhempy commented Apr 23, 2022

Closed, as it works with NodeJS14.

@fhempy fhempy closed this as completed Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants