Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Webpack dev server Validation error #879

Closed
adeelibr opened this issue May 17, 2019 · 5 comments
Closed

Webpack dev server Validation error #879

adeelibr opened this issue May 17, 2019 · 5 comments

Comments

@adeelibr
Copy link

Bug Report

Describe the bug

This is my package.json file

{
  "name": "dummy",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "npm run docz:dev",
    "docz:dev": "docz dev",
    "docz:build": "docz build"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "@babel/core": "^7.2.2",
    "@babel/preset-env": "^7.2.3",
    "@babel/preset-react": "^7.0.0",
    "babel-plugin-module-resolver": "^3.2.0",
    "docz": "^1.2.0",
    "docz-theme-default": "^1.2.0"
  }
}

This is .doczrc.js

export default {
  title: 'Dummy',
  description: 'Foo bar',
  source: './src-docs',
  debug: false,
  theme: 'docz-theme-default',
  themeConfig: {
    mode: 'dark',
    colors: {
      primary: '#ee212e',
    },
  },
  codeSandbox: false,
};

& all in my /src-doc files are .mdx files.

When I run

npm run docz dev 

or with yarn

yarn docz dev

I get the following error.

Screenshot 2019-05-17 at 17 48 17

I am not sure what I can do here, to resolve this 😞

**To Reproduce**
  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

To run docz successfully.

Environment

  • OS: [e.g. OSX 10.14.5]
  • Node/npm version: [e.g. Node v11.10.1/npm v6.7.0]
  • yarn v1.15.2
@adeelibr
Copy link
Author

Please do let me know if I can share any other kind of log to help in tracing the issue. @sw-yx 😭 😞

@swyxio
Copy link
Contributor

swyxio commented May 17, 2019

this seems to be a breaking change from webpack. fortunately we already have a PR! #878

@swyxio
Copy link
Contributor

swyxio commented May 17, 2019

@pedronauck i merged the bugfix if you can release

@swyxio swyxio closed this as completed May 17, 2019
@adeelibr
Copy link
Author

@sw-yx Any rought ETA as to when the next release will happen? 😅 😅

@swyxio
Copy link
Contributor

swyxio commented May 20, 2019

i dont control the releases, sorry

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants