Magento2 icon indicating copy to clipboard operation
Magento2 copied to clipboard

Upgrade Node for Magento PWA setup

Open amaankulshreshtha opened this issue 3 years ago • 0 comments

I am following this tutorial to set up Magento PWA app. I need NodeJS >=10.14.1 LTS, but the current version inside the container is v6.17.1. I tried to follow this SO answer to update NodeJS inside the container but ran into the following error

W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
W: chmod 0600 of file /var/lib/apt/lists/deb.nodesource.com_node%5f6.x_dists_stretch_InRelease failed - Item::QueueURI (1: Operation not permitted)
W: chmod 0644 of file /var/lib/apt/lists/deb.nodesource.com_node%5f6.x_dists_stretch_InRelease failed - 201::URIDone (1: Operation not permitted)

after running the first command.

Please suggest a way to upgrade NodeJS inside this container.

amaankulshreshtha avatar Aug 11 '20 11:08 amaankulshreshtha