Skip to content

Add shebang for Node.js execution#9

Merged
ef4 merged 1 commit into
embroider-build:mainfrom
NullVoxPopuli:patch-1
Jun 30, 2026
Merged

Add shebang for Node.js execution#9
ef4 merged 1 commit into
embroider-build:mainfrom
NullVoxPopuli:patch-1

Conversation

@NullVoxPopuli

Copy link
Copy Markdown
Contributor

if using npx instead of pnpm dlx, you get a syntax error without this?

https://discord.com/channels/480462759797063690/717767358743183412/1479130782982344837

@Windvis

Windvis commented Jun 25, 2026

Copy link
Copy Markdown

To clarify (for those who don't have access to the Discord). The npm docs mention the following:

Please make sure that your file(s) referenced in bin starts with #!/usr/bin/env node, otherwise the scripts are started without the node executable!

After adding this locally to the npx installed package, things work as expected again.

@ef4
ef4 merged commit 458b11c into embroider-build:main Jun 30, 2026
@github-actions github-actions Bot mentioned this pull request Jun 30, 2026
@mansona mansona added the bug Something isn't working label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants