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

AccessDenied create package.json #5723

Closed
dsincl12 opened this issue Sep 19, 2023 · 4 comments
Closed

AccessDenied create package.json #5723

dsincl12 opened this issue Sep 19, 2023 · 4 comments
Labels
bug Something isn't working cli Something to do with CLI arguments

Comments

@dsincl12
Copy link

What version of Bun is running?

1.0.2+37edd5a6e389265738e89265bcbdf2999cb81a49

What platform is your computer?

Darwin 23.0.0 arm64 arm

What steps can reproduce the bug?

Run the command to create a SvelteKit app: bun create svelte@latest

What is the expected behavior?

SvelteKit app successfully created

What do you see instead?

$ bun create svelte@latest my-app
error: AccessDenied create package.json

Additional information

No response

@dsincl12 dsincl12 added the bug Something isn't working label Sep 19, 2023
@Electroid Electroid added the cli Something to do with CLI arguments label Sep 19, 2023
@squishyu
Copy link

Seems to work fine both on Arch Linux amd64 and Alpine Linux (Docker) arm64 with bun 1.0.2

> bun create svelte@latest                                                                      

create-svelte version 5.0.6

┌  Welcome to SvelteKit!
│
◇  Where should we create your project?
│    (hit Enter to use current directory)
│
◇  Directory not empty. Continue?
│  Yes
│
◇  Which Svelte app template?
│  SvelteKit demo app
│
◇  Add type checking with TypeScript?
│  Yes, using TypeScript syntax
│
◇  Select additional options (use arrow keys/space bar)
│  none
│
└  Your project is ready!

✔ Typescript
  Inside Svelte components, use <script lang="ts">

Install community-maintained integrations:
  https://github.com/svelte-add/svelte-add

Next steps:
  1: npm install (or pnpm install, etc)
  2: git init && git add -A && git commit -m "Initial commit" (optional)
  3: npm run dev -- --open

To close the dev server, hit Ctrl-C

Stuck? Visit us at https://svelte.dev/chat

@dsincl12
Copy link
Author

Not so much on macOS then though? I'm running macOS Sonoma (14.0).

@nektro
Copy link
Member

nektro commented May 25, 2024

does this still reproduce for you? it appears to be working on my end in Bun 1.1.10 (you may need to run bun upgrade)

I'm on arm64 macOS 14.4.1

image

@dsincl12
Copy link
Author

Seems to work now

@nektro nektro closed this as completed May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Something to do with CLI arguments
Projects
None yet
Development

No branches or pull requests

4 participants