Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.
This repository was archived by the owner on May 26, 2022. It is now read-only.

Cannot read property 'config' of null #45

@Brian-Kaplan

Description

@Brian-Kaplan

Having some issues with closure-loader 0.9.1. I'm trying to run some tests with karma and it looks like this call (line 216 in index.js) always returns a null object for my tests. Any ideas?

    const options = loaderUtils.getOptions(this);

This options object is asked for a config value later in that code and since options is null it crashes out.

Versions:

webpack: 4.10.2
closure-loader: 0.9.1
google-closure-library: v20160911.0.0
karma-webpack: 3.0.0

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions