quasarframework / quasar

Quasar Framework - Build high-performance VueJS user interfaces in record time
https://quasar.dev
MIT License
25.79k stars 3.5k forks source link

Symlink regression from cli webpack >3.6.2 #16063

Open nseb opened 1 year ago

nseb commented 1 year ago

What happened?

Helllo , i found an regression from cli webpack >3.6.2 My project I use symlink for src-capacitor because i build differents app with the same src. /home/sebastien/IdeaProjects/tmp/um-app/node_modules/@quasar/app-webpack/node_modules/fs-extra/lib/util/stat.js:81 throw new Error(Cannot overwrite non-directory '${dest}' with directory '${src}'.) ^

Error: Cannot overwrite non-directory '/home/sebastien/IdeaProjects/tmp/um-app/src-capacitor' with directory '/home/sebastien/IdeaProjects/tmp/um-app/node_modules/@quasar/app-webpack/templates/capacitor/www'.

in 3.6.2 , works: build.js line 194 : artifacts.clean(outputFolder)

What did you expect to happen?

can use symlink for src-capacitor

Reproduction URL

not reproductible va codespen

How to reproduce?

create a symlink src-capacitor on a folder with sources

Flavour

Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)

Areas

Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)

Platforms/Browsers

Other

Quasar info output

No response

Relevant log output

No response

Additional context

No response

github-actions[bot] commented 1 year ago

Hi @nseb! 👋

It looks like you provided an invalid or unsupported reproduction URL. Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub. Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc. Please edit your original post above and provide a valid reproduction URL as explained.

Without a proper reproduction, your issue will have to get closed.

Thank you for your collaboration. 👏

nseb commented 1 year ago

Hello , It's not reproductible with a codepen