Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to enable bunx(or npx, pnpm create, yarn create) create-fuwari. #210

Open
L4Ph opened this issue Oct 28, 2024 · 5 comments
Open

I want to enable bunx(or npx, pnpm create, yarn create) create-fuwari. #210

L4Ph opened this issue Oct 28, 2024 · 5 comments

Comments

@L4Ph
Copy link
Contributor

L4Ph commented Oct 28, 2024

So I decided to create it.
It will probably become a boilerplate with even higher freedom of degree once it's completed.

I'm still in the process of making it, but I'd like to complete it someday.

https://github.com/L4Ph/create-fuwari

@L4Ph
Copy link
Contributor Author

L4Ph commented Nov 5, 2024

The create-fuwari package has been experimentally released.
Please test its functionality with npm create fuwari@latest and so on.

https://www.npmjs.com/package/create-fuwari

@saicaca
Copy link
Owner

saicaca commented Nov 15, 2024

Thank you for your effort!

I failed to get this to work on my device. I'm unfamiliar with this, so your help might be needed to determine the problem.🥲

saica@DESKTOP-573IMD5:~$ pnpm create fuwari@latest
.local/share/pnpm/store/v3/tmp/dlx-1570  |   +2 +
.local/share/pnpm/store/v3/tmp/dlx-1570  | Progress: resolved 2, reused 2, downloaded 0, added 2, done
✔ Please enter the project name: fuwari
✔ Please enter the site title: Fuwari
✔ Please enter the site subtitle: Demo Site
✔ Please select the language of the site. en
✔ Install Dependencies? yes
Error downloading template: Tarball not found: /home/saica/.cache/giget/gh/saicaca-fuwari/main.tar.gz (offline: true)
Error: Tarball not found: /home/saica/.cache/giget/gh/saicaca-fuwari/main.tar.gz (offline: true)
    at r1 (file:///home/saica/.local/share/pnpm/store/v3/tmp/dlx-1570/node_modules/.pnpm/[email protected][email protected]/node_modules/create-fuwari/dist/index.mjs:38:14007)
    at async n1 (file:///home/saica/.local/share/pnpm/store/v3/tmp/dlx-1570/node_modules/.pnpm/[email protected][email protected]/node_modules/create-fuwari/dist/index.mjs:38:14722)
    at async file:///home/saica/.local/share/pnpm/store/v3/tmp/dlx-1570/node_modules/.pnpm/[email protected][email protected]/node_modules/create-fuwari/dist/index.mjs:38:15291
node:internal/fs/promises:633
  return new FileHandle(await PromisePrototypeThen(
                        ^

Error: ENOENT: no such file or directory, open 'undefined/src/config.ts'
    at async open (node:internal/fs/promises:633:25)
    at async Object.readFile (node:internal/fs/promises:1242:14)
    at async file:///home/saica/.local/share/pnpm/store/v3/tmp/dlx-1570/node_modules/.pnpm/[email protected][email protected]/node_modules/create-fuwari/dist/index.mjs:38:15335 {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: 'undefined/src/config.ts'
}

Node.js v21.6.2

@L4Ph
Copy link
Contributor Author

L4Ph commented Nov 15, 2024

I'm investigating the same issue, but I don't know why it's happening...

It's working fine, so I think it's probably a dependency issue, but I don't know what the problem is...

L4Ph/create-fuwari#1

@L4Ph
Copy link
Contributor Author

L4Ph commented Nov 20, 2024

@saicaca

There was a bug related to tsup (or rather esbuild). I've switched to rslib, so please clone and run the following commands:

git clone https://github.com/L4Ph/create-fuwari.git
cd create-fuwari
pnpm i
pnpm run build
node ./bin/cli.mjs //shebang

and let me know the result.

@L4Ph
Copy link
Contributor Author

L4Ph commented Dec 2, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants