Answer the question
In order to leave comments, you need to log in
Error when sudo npm install?
Hello, installed fedora and node but can't install node_modules to work with gutenberg plugin - https://github.com/WordPress/gutenberg
npm 6.14.11
node 14.16.0
package.json says npm < 7 version should be
Is there anyone who works with gutenberg on fedora? help me please
Answer the question
In order to leave comments, you need to log in
The screenshots show that you are doing sudo git clone and thereby cloning the repository from under the root. And then try to do npm install without root rights to build the project. You need to decide from which user you will build the project. If not as root, then don't use sudo.
cd ~
git clone ...
npm install
To use the latest release of the Gutenberg plugin on your WordPress site: install from the plugins page in wp-admin, or download from the WordPress.org plugins repository.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question