Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lerna bootstrap doesn't install npm modules #1527

Closed
Botz opened this issue May 7, 2019 · 2 comments
Closed

lerna bootstrap doesn't install npm modules #1527

Botz opened this issue May 7, 2019 · 2 comments
Labels

Comments

@Botz
Copy link
Contributor

Botz commented May 7, 2019

Hi,

i have cloned the repo and ran the following commands as described in CONTRIBUTING.md

npm install
npm run bootstrap

If i run npm start i am getting several missing module errors first of all hexo if i fix it i am getting namespace-emitter and so on.

Seems like lerna bootstrap doesn't install the dependencies for the packages

@kvz
Copy link
Member

kvz commented May 7, 2019

Hi, npm start also runs the website as an integrated dev environment, for this you'll need to do cd website && npm i.

For a more lightweight/ugly dev environment that does not require the website try npm run dev instead. Or npm run dev:with-companion if you also need companion.

Does that help? I've seen the name-emitter thing before but that was then caused by first doing bootstrap and then install. Perhaps you can do an extra double npm run bootstrap to make double extra sure.

@Botz
Copy link
Contributor Author

Botz commented May 7, 2019

Yes, now it works... thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants