Create-nuxt-app: CNA should fail if the target directory is not empty

Created on 22 Jun 2020  路  1Comment  路  Source: nuxt/create-nuxt-app

Say, we have got a directory my-app in the current path. Firing in create-nuxt-app my-app goes ahead generating the project files within that directory.

Most helpful comment

There should be a way to bypass this through a --force-like argument. I like the safeguard of not accidentally delete / overwriting users files by default, however, there should be a way to overwrite those warning.

I am trying to create a new Nuxt application inside a Docker container so the directory already contains the Dockerfile preventing the Nuxt application from generating.

>All comments

There should be a way to bypass this through a --force-like argument. I like the safeguard of not accidentally delete / overwriting users files by default, however, there should be a way to overwrite those warning.

I am trying to create a new Nuxt application inside a Docker container so the directory already contains the Dockerfile preventing the Nuxt application from generating.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

senky picture senky  路  4Comments

lihbr picture lihbr  路  3Comments

OndrejCibulka picture OndrejCibulka  路  6Comments

sandro-git picture sandro-git  路  4Comments

lloydjatkinson picture lloydjatkinson  路  3Comments