Open rfrankspk opened 2 years ago
Hi, I have a similiar issue. Except, I'm using a windows 10 system.
Behavior is as follows:
PS C:\Users\xxx\workspace\vue-parcel> create-single-spa
? Directory for new project xx
? Select type to generate single-spa application / parcel
? Which framework do you want to use? vue
? Organization name (can use letters, numbers, dash or underscore) xx
PS C:\Users\xxx\workspace\vue-parcel>
I cloned the project and had a look into why it is also happening on my machine...
There I found out that the error occurs only when @vue/cli
is globally installed.
In case I had @vue/cli
globally installed, it was using command vue
and some lines below applied .cmd
to command.
When it then tried to create the vue project, it failed because it could not find/recognize vue.cmd
.
So, after removing the if-branch, including .cmd
, it worked fine. With and without globally installed @vue/cli
.
@rfrankspk Does it also occur to you, if there is no globally installed @vue/cli
?
update you local environment vue/cli
npm install -g @vue/cli
Describe the bug or question
npx create-single-spa@latest
fails when creating a Vue application/parcel...To Reproduce
Expected behavior Vue parcel is created successfully.
Screenshots and/or console output
Additional context