简体   繁体   中英

How to use Quasar Framework and/or Vue3 with Bun.js

Using the "bun create..." command, I could create a "react" and also "next" project. It was straightforward following the instructions on the bun.js git repository.

How can I use "Quasar Framework" and/or "Vue 3" with bun.js?

"bun install -g @quasar/cli" is working fine but when I try to create a quasar project (quasar create...) then I get the message: "/usr/bin/env: 'node': Permission denied"...

It looks like Quasar is trying to find "Node.js" instead of "Bun.js".

Any ideas how can I make it works with Quasar | Vue3?

The problem is that Bun.js is still missing a few packages like readline. See also here https://github.com/oven-sh/bun/issues/311 .

bun --bun run quasar

Runs quite well and gives an output.

bun --bun run quasar build

Gives you the following error message.

error: Cannot find package "readline" from "/home/kurt/bcrtool-gui/node_modules/@quasar/app-vite/lib/helpers/logger.js"
error: "quasar" exited with code 1 (SIGHUP)

I think we still have to wait for a stable v1.0.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM