GithubHelp home page GithubHelp logo

Comments (4)

AIREM-Richard avatar AIREM-Richard commented on August 19, 2024

我知道怎么可以npm start 了, 把根目录的 ykit.js 改成 ykit.config.js. 但 npm run build 还不知怎么处理.

from json-schema-editor-visual.

fengdanbailu avatar fengdanbailu commented on August 19, 2024

npm run start是当前目录的服务,不是jsonschema的服务;
npm run demo之后没有报错,但也没有启动服务;
npm run build报错

from json-schema-editor-visual.

Ninju avatar Ninju commented on August 19, 2024

I had the same problem. Possible solution in #46

from json-schema-editor-visual.

febaoshan avatar febaoshan commented on August 19, 2024

package.json中script的写法问题,我改了之后就可以正常执行了。可以参照如下内容修改:

{
  "name": "json-schema-editor-visual",
  "version": "1.1.1",
  "description": "jsonschema editor",
  "main": "package/index.js",
  "license": "MIC",
  "scripts": {
    "start": "ykit s -p 8082",
    "demo": "set NODE_ENV='production' && ykit pack -m",
    "build": "set NODE_ENV='production' && webpack"
  },
  "dependencies": {
    "antd": "^3.1.6",
    "brace": "^0.10.0",
    "generate-schema": "^2.6.0",
    "moox": "^1.0.2",
    "react-redux": "^5.0.6",
    "underscore": "^1.8.3"
  },
  "devDependencies": {
    "autoprefixer": "^7.2.1",
    "babel-cli": "^6.26.0",
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.4",
    "babel-plugin-import": "^1.7.0",
    "babel-plugin-transform-class-properties": "^6.24.1",
    "babel-preset-env": "^1.6.1",
    "babel-preset-react": "^6.24.1",
    "babel-preset-react-app": "^3.1.0",
    "cross-env": "^5.1.1",
    "css-loader": "^0.28.11",
    "extract-text-webpack-plugin": "^4.0.0-beta.0",
    "less": "^2.7.2",
    "less-loader": "^4.1.0",
    "react-addons-perf": "^15.4.2",
    "style-loader": "^0.20.3",
    "webpack": "4.20.2",
    "webpack-cli": "3.1.1",
    "ykit-config-antd": "^1.2.0",
    "ykit": "^0.8.13"
  }
}

from json-schema-editor-visual.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.