Skip to content

fix: remove postinstall script#7

Open
EastSun5566 wants to merge 1 commit into
mainfrom
fix/remove-postinstall-script
Open

fix: remove postinstall script#7
EastSun5566 wants to merge 1 commit into
mainfrom
fix/remove-postinstall-script

Conversation

@EastSun5566

Copy link
Copy Markdown
Contributor

postinstall script will cause npm i -g to fail:

npm i -g @hackmd/spm
npm error code 1
npm error path ~/.nvm/versions/node/v24.16.0/lib/node_modules/@hackmd/spm
npm error command failed
npm error command sh -c bun run build
npm error $ bun build index.ts --target node --outdir dist
npm error error: ModuleNotFound resolving "index.ts" (entry point)
npm error error: script "build" exited with code 1

When global install triggers the build script, it causes the install to fail. I think the build can be run manually.

@EastSun5566 EastSun5566 self-assigned this Jun 8, 2026
@EastSun5566 EastSun5566 requested a review from Yukaii June 8, 2026 09:07
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

Successfully merging this pull request may close these issues.

1 participant