Vercel deployment is failing with the latest version(2.0.1)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- react, typescript
- Domain
- build-system
Research direction
Start by reproducing npm run build with @vercel/analytics 2.0.1 in the reported React 18.3.1 setup, then inspect the Rollup error around the shown route expression. Done means the project builds and deploys successfully without this failure.
Written by the indexing model from the issue text.
Description
Hi team,
I am using the 2.0.1 version of @vercel/analytics package, and the vercel deployment is failing. The error details are below.
package version: 2.0.1
Project framework : React (18.3.1)
Error:
207: ...props.route !== void 0 && { disableAutoTrack: true },
at getRollupError (file:///vercel/path0/node_modules/rollup/dist/es/shared/parseAst.js:317:41)
at error (file:///vercel/path0/node_modules/rollup/dist/es/shared/parseAst.js:313:42)
at Module.error (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:17396:16)
at Module.traceVariable (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:17829:29)
at ModuleScope.findVariable (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:15419:39)
at ReturnValueScope.findVariable (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:5684:38)
at FunctionBodyScope.findVariable (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:5684:38)
at Identifier.bind (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:5451:40)
at CallExpression.bind (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:2833:23)
at CallExpression.bind (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:12528:15)
Error: Command "npm run build" exited with 1
Can someone help to look into this.
Any help is appreciated.
- Dominant language
- TypeScript
- Stars
- 515
- Forks
- 52
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vercel/analytics
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in vercel/analytics
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·