Skip to content

[@rollup/plugin-node-resolve] Cannot read property 'custom' of undefined #1023

@dstaley

Description

@dstaley

Expected Behavior

Bundle is created (or at least an error about TypeScript).

Actual Behavior

./test/index_test.ts → dist/test-suite.js...
[!] (plugin node-resolve) TypeError: Cannot read property 'custom' of undefined
TypeError: Cannot read property 'custom' of undefined
    at Object.resolveId (/home/runner/rollup-plugin-repro-1/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js:1162:83)
    at /home/runner/rollup-plugin-repro-1/node_modules/rollup/dist/rollup.js:12899:25

Additional Information

I ran into this issue while trying to reproduce an issue with the TypeScript plugin.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions