Cannot build jupyterlab examples

Dear all,
What is the recommended way to build the jupyterlab examples (https://jupyterlab.readthedocs.io/en/stable/developer/examples.html)?

Are we supposed to first
conda create -n jlex jupyterlab nodejs
conda activate jlex
then
jlpm run build:examples?
If running these commands, I get errors about incompatible MIME types and missing @jupyterlab/buildutils.

Or should we run
git checkout https://github.com/jupyterlab/jupyterlab.git
cd jupyterlab
npm install
npm run build
jlpm run examples:build?
Then I get hundreds of errors at the “npm run build” step.

Please help to describe which steps are necessary before “jlpm run build:examples”. When the general direction is clear, I can post details error logs.
Thank you
Ernst

Set up a dev environment first (https://github.com/jupyterlab/jupyterlab/blob/77a940e09712f0e1ba5af3bae2d4ace3533cd297/CONTRIBUTING.md#setting-up-a-development-environment), then do the jlpm run build:examples.

I"m glad to see this thread. I’ve been working in python for months now, occasionally using jupyterlab, but I figured it just wasnt ready for prime time yet. I’ve been able to make it work at a basic level, but lots and lots of errors. I can get it working on binder but not really locally If someone has some detailed steps on getting past all the yarn, webkit, js errors, i’ll tag along for the ride if you don’t mind:
Randy