bunx --bun bna-ui init
██████╗ ███╗ ██╗ █████╗
██╔══██╗████╗ ██║██╔══██╗
██████╔╝██╔██╗ ██║███████║
██╔══██╗██║╚██╗██║██╔══██║
██████╔╝██║ ╚████║██║ ██║
╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝
Expo React Native UI, CLI Library
🚀 Welcome to BNA - Expo React Native Starter
? What is your project name? mobile
ℹ Detected package manager: bun
⠋ Creating your BNA project...✗ Failed to copy template: 113 | if (!destStat) {
114 | await fs.mkdir(dest)
115 | }
116 |
117 | // iterate through the files in the current directory to copy everything
118 | await asyncIteratorConcurrentProcess(await fs.opendir(src), async (item) => {
^
TypeError: fs.opendir is not a function. (In 'fs.opendir(src)', 'fs.opendir' is undefined)
at /private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:118:45
at onDir (/private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:111:22)
at /private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:55:36
at processTicksAndRejections (:55:76)
✖ Failed to create project
✗ An error occurred: 113 | if (!destStat) {
114 | await fs.mkdir(dest)
115 | }
116 |
117 | // iterate through the files in the current directory to copy everything
118 | await asyncIteratorConcurrentProcess(await fs.opendir(src), async (item) => {
^
TypeError: fs.opendir is not a function. (In 'fs.opendir(src)', 'fs.opendir' is undefined)
at /private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:118:45
at onDir (/private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:111:22)
at /private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:55:36
at processTicksAndRejections (:55:76)
error: "bna-ui" exited with code 1 (SIGHUP)
bunx --bun bna-ui init
██████╗ ███╗ ██╗ █████╗
██╔══██╗████╗ ██║██╔══██╗
██████╔╝██╔██╗ ██║███████║
██╔══██╗██║╚██╗██║██╔══██║
██████╔╝██║ ╚████║██║ ██║
╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝
Expo React Native UI, CLI Library
🚀 Welcome to BNA - Expo React Native Starter
? What is your project name? mobile
ℹ Detected package manager: bun
⠋ Creating your BNA project...✗ Failed to copy template: 113 | if (!destStat) {
114 | await fs.mkdir(dest)
115 | }
116 |
117 | // iterate through the files in the current directory to copy everything
118 | await asyncIteratorConcurrentProcess(await fs.opendir(src), async (item) => {
^
TypeError: fs.opendir is not a function. (In 'fs.opendir(src)', 'fs.opendir' is undefined)
at /private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:118:45
at onDir (/private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:111:22)
at /private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:55:36
at processTicksAndRejections (:55:76)
✖ Failed to create project
✗ An error occurred: 113 | if (!destStat) {
114 | await fs.mkdir(dest)
115 | }
116 |
117 | // iterate through the files in the current directory to copy everything
118 | await asyncIteratorConcurrentProcess(await fs.opendir(src), async (item) => {
^
TypeError: fs.opendir is not a function. (In 'fs.opendir(src)', 'fs.opendir' is undefined)
at /private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:118:45
at onDir (/private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:111:22)
at /private/tmp/bna-ui@latest--bunx/node_modules/fs-extra/lib/copy/copy.js:55:36
at processTicksAndRejections (:55:76)
error: "bna-ui" exited with code 1 (SIGHUP)