Giter Site home page Giter Site logo

Comments (9)

shuxiaokai3 avatar shuxiaokai3 commented on June 9, 2024

方便提供您的错误信息吗

from moyu-server.

bilinxing avatar bilinxing commented on June 9, 2024

/root/workspace/moyu/node_modules/electron/index.js:14
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
^

Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (/root/workspace/moyu/node_modules/electron/index.js:14:11)
at Object. (/root/workspace/moyu/node_modules/electron/index.js:18:18)
at Module._compile (node:internal/modules/cjs/loader:1095:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1147:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/root/workspace/moyu/node_modules/vue-cli-plugin-electron-builder/lib/testWithSpectron.js:2:22)
at Module._compile (node:internal/modules/cjs/loader:1095:14)

Node.js v17.0.1

from moyu-server.

shuxiaokai3 avatar shuxiaokai3 commented on June 9, 2024

国内环境安装electron通常不太稳定
可以尝试:

  1. npm install --registry=https://registry.npm.taobao.org --legacy-peer-deps (使用淘宝源)
  2. yarn (使用yarn来安装)
  3. 尝试使用cnpm来安装
  4. 尝试降低node版本,例如 12~14然后重新尝试前面两步

from moyu-server.

bilinxing avatar bilinxing commented on June 9, 2024

换成node 14 可以了。 不过,我在导入文档的时候,报413错。我本地部署的,看请求接口居然是: https://online.jobtool.cn/api/project/import/moyu

from moyu-server.

bilinxing avatar bilinxing commented on June 9, 2024

虽然做了很多功能。但是部署文档,使用文档都很不完善,各种细节比如title还是vue,始终给人感觉是个demo,不敢用于生产的,这样很难推广起来的。

from moyu-server.

shuxiaokai3 avatar shuxiaokai3 commented on June 9, 2024

换成node 14 可以了。 不过,我在导入文档的时候,报413错。我本地部署的,看请求接口居然是: https://online.jobtool.cn/api/project/import/moyu

为了方便用户仅部署客户端进行开发体验,默认我们将线上地址作为用户默认请求地址,你可以修改如图代码替换为本地地址。
image

from moyu-server.

shuxiaokai3 avatar shuxiaokai3 commented on June 9, 2024

虽然做了很多功能。但是部署文档,使用文档都很不完善,各种细节比如title还是vue,始终给人感觉是个demo,不敢用于生产的,这样很难推广起来的。

非常感谢您的反馈,我们正在加紧完善文档和相关测试细节,目前发布最新版本为0.8.0版本,我们会尽力在2022年之前发布第一个稳定版本。当前版本会在一些细节方面存在bug,但不影响基础流程使用,非常感谢您的体验,我们会尽快完善反馈的bug。

from moyu-server.

FleyX avatar FleyX commented on June 9, 2024

好奇目前是你 @shuxiaokai3 一个人开发维护还是有一整个商业团队

from moyu-server.

shuxiaokai3 avatar shuxiaokai3 commented on June 9, 2024

好奇目前是你 @shuxiaokai3 一个人开发维护还是有一整个商业团队

目前是一个人在开发维护!

from moyu-server.

Related Issues (2)

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.