question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest component versions die immediately

See original GitHub issue

Describe 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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
jonahallibonecommented, Jun 18, 2021

@dphang just to confirm the deploy worked in 3.1.0-alpha.3

1reaction
dphangcommented, Jun 18, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found