1

I've never been really familiar with the npx command but from my understanding it's just a way of executing NPM packages, which is required in the Getting started guide from Remix.run web framework.

It's really frustrating to just get stuck on the first step when I simply have to execute the npx create-remix@latest command. I get the following error:

Error: EEXIST: file already exists, mkdir 'C:\Users\Ruben'
command not found: create-remix

Not sure what happens underlying but I don't know why it's trying to create a folder in the C drive when I execute this on D:\Github\new-project

NPM/NPX version: 6.14.6

Ruben Szekér
  • 1,065
  • 1
  • 10
  • 21

1 Answers1

0

This seems to be a problem with your node/npm configuration rather then remix.run.

.npmrc file at C:\Users\Ruben

Do you have a .npmrc file? Maybe try and delete it as this answer details.

If you Google for "npx eexist file already exists", you will find several threads with the same issue and it seems to be a node/npm installation/configuration issue: 1, 2

Andre
  • 4,185
  • 5
  • 22
  • 32