Skip to content

[0.33.2 regression] Cannot read property 'name' of undefined #869

@C0ZEN

Description

@C0ZEN

When building my app with the latest version 0.33.2, I have this error during the build: Cannot read property 'name' of undefined.
Everything was OK with the 0.33.1.
The script used is ncc build --license licenses.txt --minify.

StackTrace:

ncc: Version 0.33.2
ncc: Compiling file index.js into CJS
ncc: Using [email protected] (local user-provided)
HookWebpackError: Cannot read property 'name' of undefined
    at makeWebpackError (S:\C0ZEN\Documents\sonia\stale\node_modules\@vercel\ncc\dist\ncc/index.js.cache.js:37:374401)
    at S:\C0ZEN\Documents\sonia\stale\node_modules\@vercel\ncc\dist\ncc/index.js.cache.js:37:177732
    at eval (eval at create (S:\C0ZEN\Documents\sonia\stale\node_modules\@vercel\ncc\dist\ncc/index.js.cache.js:20:107860), <anonymous>:13:1)
    at fn (S:\C0ZEN\Documents\sonia\stale\node_modules\@vercel\ncc\dist\ncc/index.js.cache.js:37:140906)
    at _next0 (eval at create (S:\C0ZEN\Documents\sonia\stale\node_modules\@vercel\ncc\dist\ncc/index.js.cache.js:20:107860), <anonymous>:11:1)
    at eval (eval at create (S:\C0ZEN\Documents\sonia\stale\node_modules\@vercel\ncc\dist\ncc/index.js.cache.js:20:107860), <anonymous>:26:1)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

This is visible on this public repository: Sonia-corporation/stale#466

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions