thedevdojo / larasail

LaraSail - Set Sail with your Laravel app on DigitalOcean

Home Page:https://devdojo.com/devdojo/larasail-laravel-on-digital-ocean

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Node 15 is deprecated

SamuelMwangiW opened this issue · comments

Describe the bug

During installation, the following warning is presented:

DEPRECATION WARNING                            

  Node.js 15.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_12.x — Node.js 12 LTS "Erbium"
   * https://deb.nodesource.com/setup_14.x — Node.js 14 LTS "Fermium" (recommended)
   * https://deb.nodesource.com/setup_16.x — Node.js 16 "Gallium"

To Reproduce

Run the following:

larasail setup

Expected behavior

Install a supported npm version

Screenshots

image

Desktop

Test run in docker but the error can be replicated in any supported debian-based OS:

  • OS: docker
  • Version: ubuntu:20.04

Smartphone

N/A

Additional context

Recommended to update the script to install LTS (npm v14) or latest (npm v16)