You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
vite v5.4.14 building for production...
✓ 1603 modules transformed.
dist/index.html 0.60 kB │ gzip: 0.38 kB
dist/assets/index-CTDW0e2B.css 13.34 kB │ gzip: 2.82 kB
dist/assets/index-BTBs91FB.js 165.73 kB │ gzip: 52.87 kB │ map: 435.98 kB
✓ built in 1.30s
✅ React build completed successfully!
🔄 Updated asset paths in index.html for Electron compatibility
🚀 Build process completed! The app is ready to run with Electron.
📦 Packaging application...
[email protected] package
vite build && electron-builder --publish=never
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
vite v5.4.14 building for production...
✓ 1603 modules transformed.
dist/index.html 0.60 kB │ gzip: 0.38 kB
dist/assets/index-CTDW0e2B.css 13.34 kB │ gzip: 2.82 kB
dist/assets/index-BTBs91FB.js 165.73 kB │ gzip: 52.87 kB │ map: 435.98 kB
✓ built in 1.29s
• electron-builder version=24.13.3 os=5.15.0-127-generic
• loaded configuration file=package.json ("build" field)
• writing effective config file=release-builds/builder-effective-config.yaml
• packaging platform=linux arch=x64 electron=34.3.0 appOutDir=release-builds/linux-unpacked
• skipping "afterSign" hook as no signing occurred, perhaps you intended "afterPack"?
• building target=AppImage arch=x64 file=release-builds/PasteMax-1.0.0.AppImage
• building target=deb arch=x64 file=release-builds/pastemax_1.0.0_amd64.deb
• adding autoupdate files for: deb. (Beta feature) resourceDir=/home/dino/nodeApps/pastemax/release-builds/linux-unpacked/resources
• building target=rpm arch=x64 file=release-builds/pastemax-1.0.0.x86_64.rpm
• adding autoupdate files for: rpm. (Beta feature) resourceDir=/home/dino/nodeApps/pastemax/release-builds/linux-unpacked/resources
✅ Packaging completed!
2.
npm run dist/index.html
npm error Missing script: "dist/index.html"
npm error
npm error To see a list of scripts, run:
npm error npm run
best regards,
Arch
The text was updated successfully, but these errors were encountered:
I was able to run it early on linux. I had to follow follow the running in development mode instructions in the readme here.
If you want to create a build for production maybe try npm run package:linux
I ran npm run package:win on my windows 11 pc and it successfully created a portable exe and an installer for windows, so the linux command might work for you.
Hi there,
i have installed pastemax on my ubuntu 22.04, but there is a problem starting it. Any clues?
1.
npm run build-electron
📦 Building React app with Vite...
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
vite v5.4.14 building for production...
✓ 1603 modules transformed.
dist/index.html 0.60 kB │ gzip: 0.38 kB
dist/assets/index-CTDW0e2B.css 13.34 kB │ gzip: 2.82 kB
dist/assets/index-BTBs91FB.js 165.73 kB │ gzip: 52.87 kB │ map: 435.98 kB
✓ built in 1.30s
✅ React build completed successfully!
🔄 Updated asset paths in index.html for Electron compatibility
🚀 Build process completed! The app is ready to run with Electron.
📦 Packaging application...
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
vite v5.4.14 building for production...
✓ 1603 modules transformed.
dist/index.html 0.60 kB │ gzip: 0.38 kB
dist/assets/index-CTDW0e2B.css 13.34 kB │ gzip: 2.82 kB
dist/assets/index-BTBs91FB.js 165.73 kB │ gzip: 52.87 kB │ map: 435.98 kB
✓ built in 1.29s
• electron-builder version=24.13.3 os=5.15.0-127-generic
• loaded configuration file=package.json ("build" field)
• writing effective config file=release-builds/builder-effective-config.yaml
• packaging platform=linux arch=x64 electron=34.3.0 appOutDir=release-builds/linux-unpacked
• skipping "afterSign" hook as no signing occurred, perhaps you intended "afterPack"?
• building target=AppImage arch=x64 file=release-builds/PasteMax-1.0.0.AppImage
• building target=deb arch=x64 file=release-builds/pastemax_1.0.0_amd64.deb
• adding autoupdate files for: deb. (Beta feature) resourceDir=/home/dino/nodeApps/pastemax/release-builds/linux-unpacked/resources
• building target=rpm arch=x64 file=release-builds/pastemax-1.0.0.x86_64.rpm
• adding autoupdate files for: rpm. (Beta feature) resourceDir=/home/dino/nodeApps/pastemax/release-builds/linux-unpacked/resources
✅ Packaging completed!
2.
npm run dist/index.html
npm error Missing script: "dist/index.html"
npm error
npm error To see a list of scripts, run:
npm error npm run
best regards,
Arch
The text was updated successfully, but these errors were encountered: