Missing depedencies in design-system/src/shims-element-ui.d.ts when building editor-ui

Description

I have updated to the recent update of n8n from git repo, after running npm install in each package I tried running build.
However, got lerna ERR! npm run build exited 2 in ‘n8n-editor-ui’ with the following errors

Error message

These dependencies were not found:

* element-ui/lib/badge in ./node_modules/n8n-design-system/src/components/index.js
* element-ui/lib/button in ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/li
b!./node_modules/ts-loader??ref--15-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modu
les/n8n-design-system/src/components/N8nButton/Button.vue?vue&type=script&lang=ts&
* element-ui/lib/button-group in ./node_modules/n8n-design-system/src/components/index.js
* element-ui/lib/card in ./node_modules/n8n-design-system/src/components/index.js
* element-ui/lib/checkbox in ./node_modules/n8n-design-system/src/components/index.js
* element-ui/lib/col in ./node_modules/n8n-design-system/src/components/index.js
* element-ui/lib/color-picker in ./node_modules/n8n-design-system/src/components/index.js
* element-ui/lib/container in ./node_modules/n8n-design-system/src/components/index.js
* element-ui/lib/date-picker in ./node_modules/n8n-design-system/src/components/index.js
* element-ui/lib/dialog in ./node_modules/n8n-design-system/src/components/index.js
* element-ui/lib/drawer in ./node_modules/n8n-design-system/src/components/index.js

…the list goes on

#./node_modules/n8n-design-system/src/components/index.js

#packages/design-system/src/shims-element-ui.d.ts

n8n setup

  • version:0.168.2
  • Running n8n via desktop
  • Running n8n with the execution process:

SET NODE_OPTIONS=–openssl-legacy-provider && lerna exec npm run build

Hey @cccc,

You don’t need to run npm install, first step is to run the lerna bootstrap command then just run npm run build.

It might be worth running lerna clean then trying again.