Giter VIP home page Giter VIP logo

nepxion / discoverydesktop Goto Github PK

View Code? Open in Web Editor NEW
91.0 11.0 61.0 11.56 MB

☀️ Nepxion DiscoveryDesktop is a desktop UI for Nepxion Discovery with service governance, blue green and gray release orchestration, traffic inspection 服务治理、蓝绿灰度发布编排、流量侦测的前端

Home Page: http://www.nepxion.com

License: Apache License 2.0

Batchfile 0.66% Java 98.96% Shell 0.38%
spring-cloud gray-release console ui desktop web blue-green-deployment

discoverydesktop's Issues

D3 目录名大小写引起的启动问题

环境:

OS:CentOS,Linux x86_64
node: v12.13.1
DiscoveryUI: master 分支最新代码

问题现象:

在运行 npm run dev 的时候报错:

 ERROR  Failed to compile with 4 errors                                                                                                                                                                                                                 9:12:25 AM

These relative modules were not found:

* ../../components/D3/Cluster in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/home/index.vue
* ../../components/D3/Force in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/home/index.vue
* ../D3/Cluster in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/GrayRouterDialog/index.vue
* ../D3/Force in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/GrayRouterDialog/index.vue

查看了一下代码,发现 src/components/d3/clustersrc/components/d3/force 这两个目录的目录名中 d3, cluster, force 首字母没有大写导致。将目录名改成大写后启动成功。

npm install 之后 npm run dev 报Cannot find module 'vs/editor/contrib/gotoSymbol/goToCommands'

node版本 v10.21.0

npm install
npm run dev
报Cannot find module 'vs/editor/contrib/gotoSymbol/goToCommands'

异常信息如下
Error: Cannot find module 'vs/editor/contrib/gotoSymbol/goToCommands'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.resolve (internal/modules/cjs/helpers.js:33:19)
at resolveMonacoPath (/Users/charles/Documents/project/nepxion/DiscoveryUI/node_modules/monaco-editor-webpack-plugin/out/index.js:34:28)
at use.options.pre.featurePaths.map (/Users/charles/Documents/project/nepxion/DiscoveryUI/node_modules/monaco-editor-webpack-plugin/out/index.js:173:63)
at Array.map ()
at createLoaderRules (/Users/charles/Documents/project/nepxion/DiscoveryUI/node_modules/monaco-editor-webpack-plugin/out/index.js:173:43)
at MonacoEditorWebpackPlugin.apply (/Users/charles/Documents/project/nepxion/DiscoveryUI/node_modules/monaco-editor-webpack-plugin/out/index.js:91:23)
at Compiler.apply (/Users/charles/Documents/project/nepxion/DiscoveryUI/node_modules/tapable/lib/Tapable.js:375:16)
at webpack (/Users/charles/Documents/project/nepxion/DiscoveryUI/node_modules/webpack/lib/webpack.js:33:19)
at startDevServer (/Users/charles/Documents/project/nepxion/DiscoveryUI/node_modules/webpack-dev-server/bin/webpack-dev-server.js:367:16)
at processOptions (/Users/charles/Documents/project/nepxion/DiscoveryUI/node_modules/webpack-dev-server/bin/webpack-dev-server.js:350:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

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.