Skip to content

TypeError: Cannot read property 'properties' of undefined #12

Description

@nicolaskruchten

Walking through the README from top to bottom, I hit an error with npm run build:js-dev:


> my-dash-component@0.0.1 build:js-dev /Users/nicolas/plotly/dash-component-boilerplate
> webpack --mode development

/Users/nicolas/plotly/dash-component-boilerplate/node_modules/webpack-cli/bin/config-yargs.js:89
                                describe: optionsSchema.definitions.output.properties.path.description,
                                                                           ^

TypeError: Cannot read property 'properties' of undefined
    at module.exports (/Users/nicolas/plotly/dash-component-boilerplate/node_modules/webpack-cli/bin/config-yargs.js:89:48)
    at /Users/nicolas/plotly/dash-component-boilerplate/node_modules/webpack-cli/bin/webpack.js:60:27
    at Object.<anonymous> (/Users/nicolas/plotly/dash-component-boilerplate/node_modules/webpack-cli/bin/webpack.js:515:3)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-dash-component@0.0.1 build:js-dev: `webpack --mode development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the my-dash-component@0.0.1 build:js-dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/nicolas/.npm/_logs/2018-09-26T19_27_29_669Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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