Closed Robsonsjre closed 5 years ago
Hi Rob, instead of running yarn install
in each package dir, just run yarn build
in the root and that should handle everything for you.
Hi @mosic, when I run yarn build
it throws an error showing that some modules are missing inside the packages folder
lerna ERR! npm run build stderr: sh: 1: webpack: not found
It might be because of your step 6, so there's now a conflict with what yarn build
is trying to do. Can you try deleting the whole directory and cloning the repo again?
that was already a new one, hehe
Well, solved with an ugly workaround:
I copied /packages/app-manifest
and /packages/app-permissions
to /packages/cli/node_modules/@mainframe
Found a better solution for this issue and the #379:
after yarn install
and before yarn build
, just do a yarn bootstrap
and lerna
will handle all dependencies!
Description
Im using linux and trying to compile and run Mainframe OS from source following this instructions and after running:
packages/cli/bin/run env:create
it shows the error:
[MODULE_NOT_FOUND] Error Plugin: @mainframe/cli: Cannot find module '@mainframe/app-manifest'
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/folderpackages/cli/bin/run env:create
Enviroment