The same problem occurred on my Mac with OSX.
Problem:
for some reason, npm created a responsive application with read and write permissions to the System for the application folder only, although all the files and folders contained read and write permissions for me, the user creating it.
Decision:
You will need an administrator password. Visit the application folder in Finder, for example, "directory / ReactApps / response-app / ...", right-click and select the "Permissions" drop-down menu, click the lock icon in the lower right corner of this panel and enter admin password, create a new one user, by clicking the “+” icon, select yourself and “Allow reading / writing”, click the unlocked lock icon again. Copy your current code into Atom, close Atom (cmd + q), restart, select the file, select all (cmd + a), paste and then save (cmd + s).
Further
Tristan newman
source share