I cloned the joomla repo and switched to 4.0-dev.
Running npm install
or npm ci
gives me an error.
Success
> node build.js --copy-assets && node build.js --build-pages
/var/www/html/joomla-dev/joomla-cms/node_modules/fs-extra/lib/mkdirs/make-dir.js:85
} catch {
^
SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/joomla-dev/joomla-cms/node_modules/fs-extra/lib/mkdirs/index.js:3:44)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
Joomla 4.0, php 7.3
Labels |
Added:
?
|
Ubuntu 16.04
8.17.0
6.13.4
You need node > v10
Line 11 in 5813af5
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-10-16 16:30:05 |
Closed_By | ⇒ | sakiss |
That's it.
Thank you @dgrammatiko !
@sakiss what's your OS?
What's the output of
node -v
?what's the output of
npm -v
?