Documentation
Feedback
Guides
Troubleshooting

Troubleshooting
Development
I can’t install the Headless CMS plugins in my account

Windows users may encounter the 'EPERM: operation not permitted' error during the installation of the Headless CMS plugin.

If you are a Windows user, you may encounter the following error after installing the Headless CMS plugin:


_10
vtex plugins install cms
_10
warning "@vtex/cli-plugin-cms > @vtex/api > apollo-server-core > apollo-graphql@0.9.5" has incorrect peer dependency "graphql@^14.2.1 || ^15.0.0".
_10
Installing plugin @vtex/cli-plugin-cms... failed
_10
Error: EPERM: operation not permitted, symlink
_10
'C:\Users\LukeSkywalker\AppData\Roaming\npm\node_modules\vtex' ->
_10
'C:\Users\LukeSkywalker\AppData\Local\vtex\node_modules\vtex'
_10
Code: EPERM

To solve this issue, enable Developer Mode in your machine. FastStore projects rely on creating symbolic links (symlinks), and this mode grants the necessary permissions and privileges to use them, which reduces the probability of encountering errors during development.

Running the FastStore project as an Administrator is not recommended.

  1. To enable Developer Mode, refer to Microsoft's official guide Enable your device for development.

  2. After enabling Developer Mode, launch Windows Terminal and run vtex cms. This will allow the system to create the necessary symlinks for running commands from the Headless CMS plugin.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page