blockchain-jd-com / explorer Goto Github PK
View Code? Open in Web Editor NEWThe data explorer of JD Chain is a web front page project,which is serving by gateway.
License: Apache License 2.0
The data explorer of JD Chain is a web front page project,which is serving by gateway.
License: Apache License 2.0
安装包出现的。。
运行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安装好依赖,就没问题了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.