'How to fix error(E212) of nvim in powershell?

i have given all permission to user_profile however nvim is giving this error in powershell

. $env:USERPROFILE.config\powershell\user_profile.ps1

Error:E212 can't open file for writing: no such file or directory



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source