-
-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Syncpack version
14.0.0-alpha.34
Operating system(s)
Mac
Steps to reproduce
-
git clone [email protected]:Yuxiang-Huang/syncpack-alpha-devcontainer-bug.git -
Open the repo in a VS Code devcontainer.
-
Install the Dev Containers extension
-
Command palette -> "Dev Containers: Reopen in Container"
-
-
Run
bun install -
Run
bunx syncpack lint
Expected behavior
Syncpack succeeds with
✓ No issues found
Actual behavior
Syncpack throws the following error:
✗ Node.js/npx/tsx process failed with stderr: error: Cannot find module './cjs/index.cjs' from ''
Bun v1.3.2 (Linux arm64)
Contents of syncpack configuration file
Optional comments
The bunx syncpack lint runs successfully if you add a .syncpackrc.json file to the root of the project.
For example, with the following content:
{
"$schema": "./node_modules/syncpack/dist/schema.json",
"indent": " "
}Code of Conduct
- I agree to follow the Code of Conduct
export default { indent: " ", } satisfies import("syncpack").RcFile;