Closed Robsonsjre closed 5 years ago
Im using linux and trying to compile and run Mainframe OS from source following this instructions and after running:
yarn run dev inside the /packages/launcher
yarn run dev
/packages/launcher
it shows the error:
/home/robsonsjre/Projects/mainframe-os/packages/launcher/node_modules/electron/dist/electron --inspect=5858 /home/robsonsjre/Projects/mainframe-os/packages/launcher/dist/main/main.js: symbol lookup error: /home/robsonsjre/Projects/mainframe-os/packages/launcher/node_modules/sodium-native/prebuilds/linux-x64/electron-64.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
git clone https://github.com/MainframeHQ/mainframe-os.git
cd mainframe-os
git checkout release-v0.2
yarn install in the root
yarn install
yarn build
packages/cli/bin/run env:create
packages/cli/bin/run daemon:setup --bin-path=./packages/daemon/bin/run
./packages/cli/bin/run daemon:start
cd packages/launcher && yarn run dev
Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial Node version: 10.15.3 Npm version: 6.4.1
updated the electron version to 4.0.4 in the package.json inside packages/launcher and worked! found similar issue here: https://github.com/sodium-friends/sodium-native/issues/90
4.0.4
package.json
packages/launcher
Description
Im using linux and trying to compile and run Mainframe OS from source following this instructions and after running:
yarn run dev
inside the/packages/launcher
it shows the error:
How to Reproduce
git clone https://github.com/MainframeHQ/mainframe-os.git
cd mainframe-os
git checkout release-v0.2
yarn install in the root
yarn install
in each packages/folder (#377)yarn build
packages/cli/bin/run env:create
packages/cli/bin/run daemon:setup --bin-path=./packages/daemon/bin/run
./packages/cli/bin/run daemon:start
cd packages/launcher && yarn run dev
Enviroment