I am trying to create a new stenciljs project using the provided command npm init stencil
After running the above command, i get this error
Can someone please help me to find out what exactly is going wrong.
One observation is that after running the command, a new folder named Rohan is created under users directory. Here is my users's directory:
I was able to figure put the solution. Thanks to Thomas for giving me a hint in the comment :)
The issue was related to the npm-cache path. Since i have space in the username, the cache path was not taken properly. I fixed the path by running this command(set the path for the respective folder only):
After this, the command npm init stencil will ran properly and was able to create the project.