From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: Roland Everaert <r.everaert@protonmail.com>
Cc: Roland Everaert via <help-guix@gnu.org>
Subject: Re: How to work with npm from guix shell
Date: Fri, 18 Feb 2022 12:37:51 +0000 [thread overview]
Message-ID: <pN_iqIno3Ahrwzfsyuyu6XyrFqoCjHfrOqYFhNVG1ENKL9wyZvSoonDvRzrRH_rs2HUxKX9p42on3fElRvZPEMRh2-fQzt9CKDo-dNIY4DI=@elenq.tech> (raw)
In-Reply-To: <9pktpNAPpnoSpUh22Bjksq9DtauCBhUvlLFcaOQOVO28tM62Y1Dj7lRw_QC2x2AI8sBLEeEzUub6m3Mq2o5bUVgcgHqXSE4-UelN2J52UAk=@protonmail.com>
Hi
> Hello,
>
> I try to install the community server of the solid project using the following documentation in a guix shell session.
>
> https://solidproject.org//self-hosting/css
>
> Unfortunatelly I got the following error during the execution of 'npm install -g @solid/community-server'
This command installs stuff globally, which tries to access system's directories and that's what's giving you the error (the store is immutable).
What I suggest is to remove the -g so the packages are going to be installed in the current folder under node_modules, and you'll be able to run them by their path:
./node_modules/community-server/bin/whatever
You can also add that to the PATH and simplify some things.
That's what I do.
But there might be other better options, like setting where should npm install the packages globally? I don't know about that.
Hope that helps
next prev parent reply other threads:[~2022-02-18 12:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 12:27 How to work with npm from guix shell Roland Everaert via
2022-02-18 12:37 ` Ekaitz Zarraga [this message]
2022-02-22 12:55 ` Roland Everaert
2022-02-18 12:43 ` Martin Castillo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='pN_iqIno3Ahrwzfsyuyu6XyrFqoCjHfrOqYFhNVG1ENKL9wyZvSoonDvRzrRH_rs2HUxKX9p42on3fElRvZPEMRh2-fQzt9CKDo-dNIY4DI=@elenq.tech' \
--to=ekaitz@elenq.tech \
--cc=help-guix@gnu.org \
--cc=r.everaert@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.