You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
I've run into a beginner permission issue with the default installation instructions on Raspberry Pi 4 using ubuntu-server 19.10.1 pre-installed image. Here is the partial output:
ubuntu@raspbari28:~/projects$ git clone https://github.com/meanjs/mean.git
Cloning into 'mean'...
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 10697 (delta 12), reused 0 (delta 0), pack-reused 10671
Receiving objects: 100% (10697/10697), 3.82 MiB | 9.35 MiB/s, done.
Resolving deltas: 100% (5441/5441), done.
ubuntu@raspbari28:~/projects$ cd mean
ubuntu@raspbari28:~/projects/mean$ sudo npm install
npm ERR! code 128
npm ERR! Command failed: git clone --depth=1 -q -b fix/https-agent-vuln git://github.com/snyk/node-https-proxy-agent.git /root/.npm/_cacache/tmp/git-clone-6ca7be8b
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-6ca7be8b': Permission denied
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-12-16T03_08_28_127Z-debug.log
ubuntu@raspbari28:~/projects/mean$ npm start
> meanjs@0.6.0 start /home/ubuntu/projects/mean
As I understand it, the ubuntu-server image uses ubuntu as the user with elevated privileges. I am running the installation command (viz. sudo npm install) which in my naivete I assume should preclude the issue experienced above. Please advise on how to correct my mistake. Thanks.
$ uname -a
Linux raspbari28 5.3.0-1014-raspi2 #16-Ubuntu SMP Tue Nov 26 11:18:23 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
MongoDB was installed successfully using the 18.10 package for ARM64
Node (v13.3.0 & npm v6.13.1) was installed from NodeSource.org
The text was updated successfully, but these errors were encountered:
Hello,
I've run into a beginner permission issue with the default installation instructions on Raspberry Pi 4 using ubuntu-server 19.10.1 pre-installed image. Here is the partial output:
As I understand it, the ubuntu-server image uses ubuntu as the user with elevated privileges. I am running the installation command (viz. sudo npm install) which in my naivete I assume should preclude the issue experienced above. Please advise on how to correct my mistake. Thanks.
The text was updated successfully, but these errors were encountered: