-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux build question #4
Comments
Hello. Thank you for using Vutron and for reporting issues! It looks like you need a Add the following values to your {
// ...
"homepage": "YOUR_PROJECT_HOMEPAGE_OR_GIT_URL"
// ...
} Note: The current master branch has been modified to include the homepage default in |
hello,I find it is looks like 'electron-userland/electron-build-service#9' . this problem looks like electron-build 's ,and i use linux to build , haven't resolve it . do you have any good mothod to resole it? by the way ,'homepage' didn't resolve this problem. |
and in ubuntu ,cnpm i
|
I also confirmed that the problem is reproduced with If $ npm install
|
Thank you for your working. Thank you very much again. |
After checking a little more, it seems that there is a problem in the process of building the Native Node Module of Electron-builder. {
"scripts": {
"postinstall": "npm run lint:fix && electron-builder install-app-deps" // << this line
}
} In general, the electron-builder install-app-deps option is not used, so it has been modified not to be performed with postinstall, and a guide has been added to allow developers to selectively add them if necessary. Now, I have confirmed that there is no problem with the installation even with cnpm based on the master branch. (at least for the current dependency package list) Thanks for your help in fixing the problem! $ cnpm i
✔ Installed 28 packages
✔ Linked 452 latest versions
[1/4] scripts.postinstall pinia@2.0.23 › vue-demi@* run "node ./scripts/postinstall.js", root: "/home/test/source/vutron/node_modules/_vue-demi@0.13.11@vue-demi"
[1/4] scripts.postinstall pinia@2.0.23 › vue-demi@* finished in 122ms
[2/4] scripts.postinstall vite@3.1.8 › esbuild@^0.15.9 run "node install.js", root: "/home/test/source/vutron/node_modules/_esbuild@0.15.12@esbuild"
[2/4] scripts.postinstall vite@3.1.8 › esbuild@^0.15.9 finished in 79ms
[3/4] scripts.postinstall electron@^21.2.0 run "node install.js", root: "/home/test/source/vutron/node_modules/_electron@21.2.0@electron"
[3/4] scripts.postinstall electron@^21.2.0 finished in 4s
[4/4] scripts.postinstall vutron@1.0.0 run "npm run lint:fix", root: "/home/test/source/vutron"
> vutron@1.0.0 lint:fix
> eslint --ext .js,.ts,.vue -f ./node_modules/eslint-friendly-formatter --fix src
[4/4] scripts.postinstall vutron@1.0.0 finished in 2s
✔ Run 4 scripts
peerDependencies WARNING pinia@^2.0.22 requires a peer of @vue/composition-api@^1.4.0 but none was installed
peerDependencies WARNING vite@^3.1.4 requires a peer of less@* but none was installed
peerDependencies WARNING vuetify@^3.0.0-beta.13 requires a peer of vite-plugin-vuetify@^1.0.0-alpha.12 but none was installed
peerDependencies WARNING pinia@2.0.23 › vue-demi@* requires a peer of @vue/composition-api@^1.0.0-rc.1 but none was installed
peerDependencies WARNING vite@^3.1.4 requires a peer of sass@* but none was installed
peerDependencies WARNING vuetify@^3.0.0-beta.13 requires a peer of webpack-plugin-vuetify@^2.0.0-alpha.11 but none was installed
peerDependencies WARNING vite@^3.1.4 requires a peer of stylus@* but none was installed
peerDependencies WARNING vite@^3.1.4 requires a peer of terser@^5.4.0 but none was installed
anti semver electron@21.2.0 › extract-zip@2.0.1 › @types/yauzl@2.10.0 › @types/node@* delcares @types/node@*(resolved as 18.11.4) but using ancestor(electron)'s dependency @types/node@^16.11.26(resolved as 16.18.0)
deprecate electron-builder@23.6.0 › app-builder-lib@23.6.0 › electron-osx-sign@^0.6.0 Please use @electron/osx-sign moving forward. Be aware the API is slightly different
✔ All packages installed (491 packages installed from npm registry, used 26s(network 19s), speed 0B/s, json 0(0B), tarball 0B, manifests cache hit 475, etag hit 246 / miss 0) |
BTW, I tested |
I think that cnpm is too difficult to use. The first time I executed cnpm, there was no vitepress sidebar. I executed cnpm sync vitepress sidebar, and then executed the following
and then I found the problem of the file '/src/renderer/plugins/vuetify.ts'
|
Side Note: vitepress and related plugins have been changed to be optionally installed. |
I'm closing the issue because it's overdue. If this problem persists, please create a new issue. |
hello when I build linux ,it have a mistake
so what's mean. and how could i fix it,thank you
The text was updated successfully, but these errors were encountered: