Skip to content

PRE-3296: Fix invalid package.json name - #8

Merged
Lasalot merged 1 commit into
mainfrom
PRE-3296-fix-invalid-package-name
Aug 4, 2026
Merged

PRE-3296: Fix invalid package.json name#8
Lasalot merged 1 commit into
mainfrom
PRE-3296-fix-invalid-package-name

Conversation

@Lasalot

@Lasalot Lasalot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • package.json (and package-lock.json) declared "name": "Weird Animals" — invalid per npm naming rules (no uppercase/spaces)
  • Changed to "weird-animals"
  • This crashes Netlify CLI's function bundler (detectZisiBuilder) whenever it walks up to this file to detect a function's runtime — breaking netlify dev for this site and anything that links it locally, e.g. prerender-netlify-extension's smoke test (see linked ticket for full diagnosis and local repro)

Linear: PRE-3296 — https://linear.app/prerender/issue/PRE-3296

Test plan

  • Locally reproduced the crash against the unmodified package.json, then confirmed renaming to weird-animals resolves it — all functions (including prerender-netlify-extension's edge function) load and crawler/browser classification works correctly

🤖 Generated with Claude Code

package.json declared "Weird Animals" as the name, which npm rejects
(uppercase/spaces aren't valid). This crashes Netlify CLI's function
bundler (detectZisiBuilder) whenever it walks up to this file to
detect a function's runtime, breaking netlify dev for this site and
anything that links it (e.g. prerender-netlify-extension's smoke test).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for weirdanimals ready!

Name Link
🔨 Latest commit d722d75
🔍 Latest deploy log https://app.netlify.com/projects/weirdanimals/deploys/6a71edd8648a560008074c81
😎 Deploy Preview https://deploy-preview-8--weirdanimals.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Lasalot
Lasalot merged commit b9b79f1 into main Aug 4, 2026
5 checks passed
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.

2 participants