On Thu, Jun 4, 2020 at 2:53 PM sebb <seb...@gmail.com> wrote:
>
> I tried updating init.pp to install 12.x, but the node installation
> does not seem to have been updated.

Puppet instructions:

  exec { 'Add nodesource sources':
    command => 'curl https://deb.nodesource.com/setup_12.x | bash -',
    creates => '/etc/apt/sources.list.d/nodesource.list',
    path    => ['/usr/bin', '/bin', '/usr/sbin']
  }

This, loosely translates, is equivalent to:

if not File.exist('/etc/apt/sources.list.d/nodesource.list')
  system 'curl https://deb.nodesource.com/setup_12.x | bash -'
end

So the solution may be as simple as

  sudo rm ''/etc/apt/sources.list.d/nodesource.list'

That may be all that is needed, but I'm not sure.  I'm surprised to
not find either a package-lock.json or a node_modules directory on
whimsy-vm5.  Yet tools such as the board agenda tool seem to work.

- Sam Ruby

> On Mon, 1 Jun 2020 at 17:56, sebb <seb...@gmail.com> wrote:
> >
> > Just saw the below warning when updating whimsy-vm5:
> > OK to take the recommended action?
> >
> > S.
> >
> >                             DEPRECATION WARNING
> >
> >   Node.js 8.x LTS Carbon 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"
> >
> >   Please see https://github.com/nodejs/Release for details about which
> >   version may be appropriate for you.
> >
> >   The NodeSource Node.js distributions repository contains
> >   information both about supported versions of Node.js and supported Linux
> >   distributions. To learn more about usage, see the repository:
> >     https://github.com/nodesource/distributions

Reply via email to