-
Notifications
You must be signed in to change notification settings - Fork 31
Home
Seungho Park edited this page Dec 3, 2020
·
12 revisions
# clone the repo!
git clone git@github.com:enyojs/enact.git
# move in
cd enact
# we're using git flow so develop is our working branch
git checkout develop
# install lerna
npm install
# run the lerna bootstrap command (proxied by an npm script)
npm run bootstrap
# wait a while … installing enyo-config, react, ... :allthethings:
You'll probably want to npm link
the enact modules into your app (e.g. rigby). Once the bootstrap is complete, you can link everything up with this command. It tells the local lerna (npm run lerna --
) to execute (exec --
) the npm link
command on every module in packages/
.
npm run lerna -- exec -- npm link
Then from your app, you can link everything in and then install dependencies:
npm install
enact link
Noticing some intermittent errors depending on your node/npm version. We've seen it work with node 12 and npm 6. Worth trying if you're seeing errors on bootstrap.