A
A
AntoxaVolkov2016-07-08 23:43:08
Node.js
AntoxaVolkov, 2016-07-08 23:43:08

What is the reason for the error when working with Bower?

Good day!
The other day I reinstalled Windows 10. Now I reinstall everything I need to work. Installed Node.js, npm, git. Here it came to bower, the installation was successful:

C:\Users\AntoxaVolkov\AppData\Roaming\npm\bower -> C:\Users\AntoxaVolkov\AppData\Roaming\npm\node_modules\bower\bin\bower
[email protected] C:\Users\AntoxaVolkov\AppData\Roaming\npm\node_modules\bower

I run any command bower gives an error:
PS C:\Users\AntoxaVolkov> bower -v
C:\Users\AntoxaVolkov\AppData\Roaming\npm\node_modules\bower\lib\node_modules\mkdirp\index.js:89
                    throw err0;
                    ^

Error: EEXIST: file already exists, mkdir 'C:\Users\AntoxaVolkov\.config\configstore'

    at Error (native)
    at Object.fs.mkdirSync (fs.js:794:18)
    at Function.sync (C:\Users\AntoxaVolkov\AppData\Roaming\npm\node_modules\bower\lib\node_modules\mkdirp\index.js:70:13)
    at Object.create.all.get (C:\Users\AntoxaVolkov\AppData\Roaming\npm\node_modules\bower\lib\node_modules\configstore\index.js:39:13)
    at Object.Configstore (C:\Users\AntoxaVolkov\AppData\Roaming\npm\node_modules\bower\lib\node_modules\configstore\index.js:28:44)
    at readCachedConfig (C:\Users\AntoxaVolkov\AppData\Roaming\npm\node_modules\bower\lib\config.js:19:23)
    at defaultConfig (C:\Users\AntoxaVolkov\AppData\Roaming\npm\node_modules\bower\lib\config.js:11:12)
    at Object.<anonymous> (C:\Users\AntoxaVolkov\AppData\Roaming\npm\node_modules\bower\lib\index.js:16:32)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)

Please tell me what is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2016-07-08
@AntoxaVolkov

Error: EEXIST: Файл уже существует, mkdir 'C:\Users\AntoxaVolkov\.config\configstore'

Try uninstalling C:\Users\AntoxaVolkov\.config\configstoreand reinstalling bower.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question