preact-cli icon indicating copy to clipboard operation
preact-cli copied to clipboard

force does not work

Open HawkeyePierce89 opened this issue 5 years ago • 1 comments

Do you want to request a feature or report a bug?

Bug

What is the current behaviour?

preact-cli does not create project for exist folder. Or, put it another way, force option does not work.

I have screenshot with erroneous behavior

exist

If I create project to nonexistent folder all works correctly

new

What is the expected behaviour?

force option should work correctly and create project in my exist folder.

I am using Windows 10 Enterprise build 18362.

HawkeyePierce89 avatar Oct 16 '19 12:10 HawkeyePierce89

I've tested this on Linux, node v13.3.0. Everything worked fine. It might not be possible to reproduce on Linux.

Here's my preact info:

Environment Info:

  System:
    OS: Linux 5.4 Arch Linux
    CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
  Binaries:
    Node: 13.3.0 - /usr/local/bin/node
    npm: 6.7.0 - ~/.npm-global/bin/npm
  Browsers:
    Firefox: 71.0
  npmGlobalPackages:
    preact-cli: 3.0.0-rc.5

@HawkeyePierce89 can you please share your output from preact info?

bojan88 avatar Dec 28 '19 19:12 bojan88

I can't reproduce either.

Might've gotten fixed at some point. Closing out.

rschristian avatar Dec 22 '22 08:12 rschristian