Skip to content

Instantly share code, notes, and snippets.

@magdesign
Created August 10, 2024 18:16
Show Gist options
  • Save magdesign/132d13e39fe5ddb328ccf842df9a9ad5 to your computer and use it in GitHub Desktop.
Save magdesign/132d13e39fe5ddb328ccf842df9a9ad5 to your computer and use it in GitHub Desktop.
reticulum arch64 appimage build error
$ npm run dist
> reticum-meshchat@1.9.0 dist
> npm run build && python setup.py build && electron-builder --publish=never
> reticulum-meshchat@1.9.0 build
> vite build
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
vite v5.3.5 building for production...
<script src="assets/js/tailwindcss/tailwind-v3.4.3-forms-v0.5.7.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="assets/js/axios@1.6.8/dist/axios.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="assets/js/micron-parser.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="assets/js/codec2-emscripten/c2enc.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="assets/js/codec2-emscripten/c2dec.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="assets/js/codec2-emscripten/sox.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="assets/js/codec2-emscripten/codec2-lib.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="assets/js/codec2-emscripten/wav-encoder.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="assets/js/codec2-emscripten/codec2-microphone-recorder.js"> in "/index.html" can't be bundled without type="module" attribute
✓ 49 modules transformed.
../../public/index.html 1.07 kB │ gzip: 0.44 kB
../../public/assets/app-CeKorSmG.js 215.84 kB │ gzip: 66.27 kB
✓ built in 3.45s
Traceback (most recent call last):
File "/home/me/Downloads/reticulum-meshchat/setup.py", line 1, in <module>
from cx_Freeze import setup, Executable
File "/usr/lib/python3.12/site-packages/cx_Freeze/__init__.py", line 11, in <module>
from .command.build_exe import BuildEXE as build_exe
File "/usr/lib/python3.12/site-packages/cx_Freeze/command/build_exe.py", line 14, in <module>
from cx_Freeze.freezer import Freezer
File "/usr/lib/python3.12/site-packages/cx_Freeze/freezer.py", line 31, in <module>
from .finder import ModuleFinder
File "/usr/lib/python3.12/site-packages/cx_Freeze/finder.py", line 33, in <module>
IMPORT_STAR = opcode.opmap["IMPORT_STAR"]
~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'IMPORT_STAR'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment