GithubHelp home page GithubHelp logo

blockchain-jd-com / explorer Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 21.0 32.75 MB

The data explorer of JD Chain is a web front page project,which is serving by gateway.

License: Apache License 2.0

JavaScript 77.76% HTML 14.05% SCSS 8.19%

explorer's People

Contributors

cg-zhou avatar dependabot[bot] avatar huanghaiquan avatar imuge avatar wangdoctor avatar wangzhiyong69 avatar zhaoguangwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

explorer's Issues

运行npm run dev抛Couldn't find preset "react" relative to directory

运行npm run dev抛如下异常:

Module build failed: Error: Couldn't find preset "react" relative to directory "F:\\github\\explorer"
    at F:\github\explorer\data-explorer\node_modules\babel-core\lib\transformation\file\options\option-manager.js:293:19
    at Array.map (<anonymous>)
    at OptionManager.resolvePresets (F:\github\explorer\data-explorer\node_modules\babel-core\lib\transformation\file\options\option-manager.js:275:20)
    at OptionManager.mergePresets (F:\github\explorer\data-explorer\node_modules\babel-core\lib\transformation\file\options\option-manager.js:264:10)
    at OptionManager.mergeOptions (F:\github\explorer\data-explorer\node_modules\babel-core\lib\transformation\file\options\option-manager.js:249:14)
    at OptionManager.init (F:\github\explorer\data-explorer\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
    at File.initOptions (F:\github\explorer\data-explorer\node_modules\babel-core\lib\transformation\file\index.js:212:65)
    at new File (F:\github\explorer\data-explorer\node_modules\babel-core\lib\transformation\file\index.js:135:24)
    at Pipeline.transform (F:\github\explorer\data-explorer\node_modules\babel-core\lib\transformation\pipeline.js:46:16)
    at transpile (F:\github\explorer\data-explorer\node_modules\babel-loader\lib\index.js:50:20)
    at Object.module.exports (F:\github\explorer\data-explorer\node_modules\babel-loader\lib\index.js:173:20)
 @ multi (webpack)-dev-server/client?http://0.0.0.0:8081 webpack/hot/dev-server react-hot-loader/patch ./app-web.js

说明:
已经正常执行npm install安装好所有的依赖,发现项目寻找node_modules的目录有问题,没有寻找当前目录下的node_modules而是跑到父目录去了。

临时解决:
目前将data-explorer模块下的package.json迁移到explorer根目录下,在explorer根目录下执行npm install安装好依赖,就没问题了

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.