Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw error when launch 'npm run docz:dev' #653

Closed
zhuweileo opened this issue Feb 20, 2019 · 2 comments
Closed

Throw error when launch 'npm run docz:dev' #653

zhuweileo opened this issue Feb 20, 2019 · 2 comments

Comments

@zhuweileo
Copy link

Bug Report

Describe the bug
As the picture below,when I run npm run docz:dev ,it will thorw error。
image

package.json

{
  "name": "react-component",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "build": "rm -rf dist&&cross-env NODE_ENV=production webpack --config webpack.config.js",
    "demo:dev": "webpack-dev-server --mode=development --config webpack.demo.config.js",
    "demo:build": "rm -rf dist&&cross-env NODE_ENV=production npx webpack --config webpack.config.js",
    "docz:dev": "docz dev",
    "docz:build": "docz build"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/zhuweileo/react-component.git"
  },
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/zhuweileo/react-component/issues"
  },
  "homepage": "https://github.com/zhuweileo/react-component#readme",
  "devDependencies": {
    "@babel/core": "^7.2.2",
    "@babel/preset-env": "^7.3.1",
    "@babel/preset-react": "^7.0.0",
    "autoprefixer": "^9.4.7",
    "babel-loader": "^8.0.5",
    "cross-env": "^5.2.0",
    "css-loader": "^2.1.0",
    "docz": "^0.13.7",
    "docz-theme-default": "^0.13.7",
    "html-webpack-plugin": "^3.2.0",
    "mini-css-extract-plugin": "^0.5.0",
    "node-sass": "^4.11.0",
    "postcss-loader": "^3.0.0",
    "react-hot-loader": "^4.6.4",
    "sass-loader": "^7.1.0",
    "style-loader": "^0.23.1",
    "webpack": "^4.29.0",
    "webpack-cli": "^3.2.1",
    "webpack-dev-server": "^3.1.14",
    "webpack-merge": "^4.2.1"
  },
  "dependencies": {
    "prop-types": "^15.6.2",
    "react": "^16.7.0",
    "react-dom": "^16.7.0"
  }
}

Environment

  • OS: [Windows 10]
  • Node/npm version: [v10.13.0]
@swyxio
Copy link
Contributor

swyxio commented Feb 20, 2019

did you check this? #596

@swyxio swyxio closed this as completed Feb 20, 2019
@zhuweileo
Copy link
Author

zhuweileo commented Feb 21, 2019

Thanks a lot and hope fyi pedro get well soon. @sw-yx

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

No branches or pull requests

2 participants