Menu icon Foundation
Install "foundation-cli" error ENOENT

I installed Gti and Node correctly, when trying to install Foundation I receive this error

 

 

npm ERR! code ENOENT

npm ERR! errno -4058

npm ERR! syscall rename

directory is "ansistyles"

 

Tankyou. 

 

enoenterrorinstallfoundation 643Foundation 6.4.3

I installed Gti and Node correctly, when trying to install Foundation I receive this error

 

 

npm ERR! code ENOENT

npm ERR! errno -4058

npm ERR! syscall rename

directory is "ansistyles"

 

Tankyou. 

 

Edgardo 11 months ago

Agrego captura del error

Colin Smith 10 months ago

I get the same problem

Edgardo 10 months ago

me, no solution yet.

and waiting for someone to give me an answer.

Daniel Ruf 10 months ago

Try disabling your antivirus, try upgrading npm and try it again.

Edgardo 10 months ago

No, it's still not working ...

I deactivated the NOD32, deinstalled GIt and Node ...

Then I installed again from scratch: Git / Node / Gulp / Bower (all right up there)

When I try to install: npm install -g foundation-cli

Follow the same error !!! ENOENT -4058 / rename

 

I can not find the reason. I would appreciate any other idea ...

giovanni rivera 10 months ago

If I'm not mistaking this has to do with permissions. I was having the same issue, bu in Mac OS hopefully hopefully you guys can find how to run these scripts on cmdPrompt on Windows:

 

sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config

 

Running those scrip on Terminal in my Mac solve the problem, never done it on Windows but I'm pretty there has to be a way to write them in cmpPrompt.

 

Forum Of Dsicucssion

Edgardo 10 months ago

Thanks for your answer Giovanni.

In Windows there is no "sudo" command.

The console is accessed with administrator privileges (Run as administrator), which is the same.

I did that test several times, and it does not give a positive result.

Thanks again.

 

giovanni rivera 10 months ago

You welcome!
Yeah I know there is no sudo is just the scripts I use to overcome my situation. I hope you find a solution is vI was about to install Foundation on my Windows PC and start looking for the easy way to do it. That's how I found your post.