ionic-team / ionic-team/vscode-ionic

Plugin Fails to Recognize Bun

Open
#239 6 comments 0 reactions 1 assignee Claimed by @damiant View on GitHub
enhancement fixed in webnative.dev
Dominant language
TypeScript
Stars
15
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I am using a monorepo and have tested `Bun 1.2.14`, which generates `bun.lock`, and `Bun 1.1.45`, which generates `bun.lockb`. However, when clicking the command item in the plugin, it only executes `npx` commands, such as `npx npm run build --workspace=k:\Projects\VSCodeProjects\Project\apps\app && npx cap copy`. I have reviewed issue #135 and tried clicking "Migrate to Bun," with the following output:

```
[Ionic] bun -v
1.1.45
[Ionic] del node_modules /S /Q

[Ionic] bun install
[error] Resolving dependencies
Resolved, downloaded and extracted [462]
error: Workspace dependency "@scope/core" not found

Searched in "..\..\..\..\..\..\K:\Projects\VSCodeProjects\Project\apps\app\*"

Workspace documentation: https://bun.sh/docs/install/workspaces

error: Workspace dependency "@scope/parser" not found

Searched in "..\..\..\..\..\..\K:\Projects\VSCodeProjects\Project\apps\app\*"

Workspace documentation: https://bun.sh/docs/install/workspaces

error: @scope/core@* failed to resolve
error: @scope/parser@* failed to resolve

[Ionic] Completed Migrate to Bun
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.