Latest component versions die immediately
See original GitHub issueDescribe the bug
This happens immediately when trying to deploy. Upgraded from 1.19.alpha.4. For reference this worked fine on 1.19.x using Next@11
jonah@jonahs-laptop privco-frontend % serverless
error:
TypeError: Cannot read property 'name' of undefined
at exports.fromCallback (/Users/jonah/.serverless/components/registry/npm/@sls-next/serverless-component@1.20.0-alpha.26/node_modules/universalify/index.js:15:26)
at Object.<anonymous> (/Users/jonah/.serverless/components/registry/npm/@sls-next/serverless-component@1.20.0-alpha.26/node_modules/fs-extra/lib/fs/index.js:57:27)
at Module._compile (internal/modules/cjs/loader.js:1136:30)
at Module._compile (pkg/prelude/bootstrap.js:1281:32)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1156:10)
at Module.load (internal/modules/cjs/loader.js:984:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1024:19)
at Module.require (pkg/prelude/bootstrap.js:1225:31)
at require (internal/modules/cjs/helpers.js:72:18)
1s › Template › TypeError: Cannot read property 'name' of undefined
Versions
- OS/Environment: macOS
- @sls-next/serverless-component version:
component: "@sls-next/serverless-component@1.20.0-alpha.26"
- Next.js version:
next@11
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
New fixes and component versions in Symantec Endpoint ...
This document lists the new fixes and component versions in Symantec Endpoint Protection (SEP) 14.3 RU3 (14.3.5413.3000).
Read more >Understanding React v16.4+ New Component Lifecycle ...
All UI components take birth in the browser and will die at some point in time. What is lifecycle methods and why it...
Read more >Latest updates and version history for SQL Server
This article lists various builds or updates that are available for different versions of SQL Server. Original product version: SQL Server
Read more >Semantic Versioning 2.0.0 | Semantic Versioning
In systems with many dependencies, releasing new package versions can quickly become a nightmare. If the dependency specifications are too tight, ...
Read more >Component Versions - Trend Micro Security Agent
The date and time an agent program update was last started. Agent version. The version number of the agent. Agent GUID. The unique...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dphang just to confirm the deploy worked in
3.1.0-alpha.3
Sure we can just downgrade to fs-extra 9.1.0, not a big deal as this is just used for filesystem operations at build time.
PR: https://github.com/serverless-nextjs/serverless-next.js/pull/1252