Closed mohammedasker closed 4 years ago
Update: I manage to solve it by closing the gatsby server
and then running the Gatsby plugin for Netlify CMS
again. The cause of the issue is when the server is running, it won't be able to install any plugins unless the server is closed. The hint is in this part from the terminal:
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
So the key is I should install the plugins first before running gatsby server
Hi, someone forwards me to this repository because they believe it is npm issue and so I hope anyone would help me fix the problem. The original question appeared in Gatsby issues.
Description
I am unable to install the
Gatsby plugin for Netlify CMS
to my blog. I've been following a tutorial of adding Netlify CMS to existing blog and also referred to this doc.Steps to reproduce
Here's a link to my repo: https://github.com/mohammedasker/blogger
npm install --save netlify-cms-app gatsby-plugin-netlify-cms
Expected result
Gatsby plugin for Netlify CMS
installed successfully.Actual result
Error in installing Gatsby plugin for Netlify CMS.
Here's the error log I got from the terminal:
Environment