Interesting, They should work it is the same steps I take. Did the lerna command fail at all? Can you try again with the latest code base in a different folder?
lerna notice cli v5.3.0
lerna info versioning independent
lerna info Bootstrapping 7 packages
lerna WARN EHOIST_PKG_VERSION "n8n-workflow" package depends on eslint@^7.32.0, which differs from the hoisted eslint@^8.0.0.
lerna info Installing external dependencies
lerna info hoist Installing hoisted dependencies into root
lerna info hoist Pruning hoisted dependencies
lerna info hoist Finished pruning hoisted dependencies
lerna info hoist Finished bootstrapping root
lerna info Symlinking packages and binaries
lerna success Bootstrapped 7 packages
I Deleted the folder performed steps again but still gets the same error.
ERROR Build failed with errors.
lerna ERR! npm run build exited 1 in 'n8n-editor-ui'
lerna ERR! npm run build exited 1 in 'n8n-editor-ui'
That is odd, I just gave it another go and it is still working I am really not sure what is going, I have given it a test on another M1 I have access to that I had to install Node on and that was all good as well.
I will have a think.
> node --version
v16.16.0
~/code/test ..................................................... 03:18:27 pm
> git clone https://github.com/n8n-io/n8n.git
Cloning into 'n8n'...
remote: Enumerating objects: 114189, done.
remote: Counting objects: 100% (799/799), done.
remote: Compressing objects: 100% (412/412), done.
remote: Total 114189 (delta 416), reused 686 (delta 382), pack-reused 113390
Receiving objects: 100% (114189/114189), 65.25 MiB | 2.54 MiB/s, done.
Resolving deltas: 100% (91247/91247), done.
~/code/test ............................................... 28s | 03:19:00 pm
> cd n8n
~/code/test/n8n | master ........................................ 03:19:58 pm
> lerna bootstrap --hoist
lerna notice cli v5.3.0
lerna info versioning independent
lerna info Bootstrapping 7 packages
lerna info Installing external dependencies
lerna info hoist Installing hoisted dependencies into root
lerna info hoist Pruning hoisted dependencies
lerna info hoist Finished pruning hoisted dependencies
lerna info hoist Finished bootstrapping root
lerna info Symlinking packages and binaries
lerna success Bootstrapped 7 packages
~/code/test/n8n | master !1 ............................... 48s | 03:20:50 pm
> npm run build
> [email protected] build
> lerna exec npm run build
lerna notice cli v3.22.1
lerna info versioning independent
lerna info Executing command in 7 packages: "npm run build"
> [email protected] build
> npm run build:theme
> [email protected] build
> tsc
> [email protected] build:theme
> gulp build:theme
[15:20:58] Using gulpfile ~/Code/test/n8n/packages/design-system/gulpfile.js
[15:20:58] Starting 'build:theme'...
[15:20:58] Starting 'compileTheme'...
[15:20:59] Finished 'compileTheme' after 1.02 s
[15:20:59] Starting 'copyThemeFonts'...
[15:20:59] Finished 'copyThemeFonts' after 11 ms
[15:20:59] Finished 'build:theme' after 1.03 s
> [email protected] build
> cross-env VUE_APP_PUBLIC_PATH="/%BASE_PATH%/" vue-cli-service build
> [email protected] build
> tsc
⠙ Building for production...Starting type checking and linting service...
Using 1 worker with 2048MB memory limit
⠏ Building for production...
> [email protected] build
> tsc && gulp build:icons && gulp build:translations
⠋ Building for production...[15:21:21] Using gulpfile ~/Code/test/n8n/packages/nodes-base/gulpfile.js
[15:21:21] Starting 'build:icons'...
⠙ Building for production...[15:21:21] Finished 'build:icons' after 117 ms
⠹ Building for production...[15:21:21] Using gulpfile ~/Code/test/n8n/packages/nodes-base/gulpfile.js
[15:21:21] Starting 'build:translations'...
Default locale set to: en
No translation required - Skipping translations build...
[15:21:21] Finished 'build:translations' after 839 μs
⠹ Building for production...
WARNING Compiled with 2 warnings 15:21:52
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
json.worker.js (260 KiB)
ts.worker.js (4.51 MiB)
js/app.825cfdf6.js (795 KiB)
css/chunk-vendors.cf7bc09e.css (362 KiB)
js/chunk-vendors.33451db4.js (4.98 MiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
app (6.22 MiB)
css/chunk-vendors.cf7bc09e.css
js/chunk-vendors.33451db4.js
css/app.5f3842fa.css
js/app.825cfdf6.js
Webpack Bundle Analyzer saved report to /Users/jon/Code/test/n8n/packages/editor-ui/dist/report.html
File Size Gzipped
dist/js/chunk-vendors.33451db4.js 5102.72 KiB 1347.53 KiB
dist/ts.worker.js 4622.17 KiB 1038.13 KiB
dist/js/app.825cfdf6.js 794.80 KiB 199.64 KiB
dist/json.worker.js 260.45 KiB 78.30 KiB
dist/editor.worker.js 135.16 KiB 44.64 KiB
dist/js/chunk-2d0b325a.75271eb0.js 36.89 KiB 9.71 KiB
dist/js/chunk-2d22d3e6.d14ffd31.js 28.91 KiB 7.23 KiB
dist/js/chunk-da232adc.3e2187e6.js 5.93 KiB 2.11 KiB
dist/js/chunk-2d2073c1.44215119.js 5.00 KiB 1.97 KiB
dist/css/chunk-vendors.cf7bc09e.css 362.31 KiB 52.92 KiB
dist/css/app.5f3842fa.css 112.25 KiB 19.78 KiB
Images and other types of assets omitted.
DONE Build complete. The dist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
> [email protected] build
> node scripts/build.mjs
lerna success exec Executed command in 7 packages: "npm run build"