Which Angular version is compatible with generator-liferay-js?Which Angular version is compatible with generator-liferay-js?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1214130982024-03-28T23:53:24Z2024-03-28T23:53:24ZWhich Angular version is compatible with generator-liferay-js?Herna Munoz-Galeanohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1214130972022-05-02T16:24:12Z2022-05-02T13:51:43Z<p>Greetings,<br /> I am trying to deploy an angular application to my
Liferay 7.3 server following this
article: https://help.liferay.com/hc/en-us/articles/360035467712-Adapting-Existing-Apps-to-Run-on-Liferay-DXP
. For now, I am using an empty Angular application with just a
"Hello World" text. Sadly, as soon as I execute the
following command:</p>
<blockquote>
<p>npm run build:liferay</p></blockquote>
<p>I get the following error</p>
<blockquote>
<p>Error: ENOENT: no such file or directory, scandir
'path-to-my-app\build\static\js'<br /> at Object.readdirSync
(node:fs:1390:3)<br /> at buildWith
(path-to-my-app\node_modules\liferay-npm-build-support\lib\scripts\build\index.js:63:14)<br />
at Object.default_1 [as default]
(path-to-my-app\node_modules\liferay-npm-build-support\lib\scripts\build\index.js:34:13)<br />
at Object.<anonymous>
(path-to-my-app\node_modules\liferay-npm-build-support\bin\lnbs-build.js:8:40)<br />
at Module._compile
(node:internal/modules/cjs/loader:1101:14)<br /> at
Object.Module._extensions..js
(node:internal/modules/cjs/loader:1153:10)<br /> at Module.load
(node:internal/modules/cjs/loader:981:32)<br /> at
Function.Module._load
(node:internal/modules/cjs/loader:822:12)<br /> at
Function.executeUserEntryPoint [as runMain]
(node:internal/modules/run_main:79:12)<br /> at
node:internal/main/run_main_module:17:47 {<br /> errno:
-4058,<br /> syscall: 'scandir',<br /> code: 'ENOENT',<br />
path: 'path-to-my-app\\build\\static\\js'<br /> }</p></blockquote>
<p>This is my current setup:</p>
<blockquote>
<p>Angular CLI: 13.3.4<br /> Node: 16.10.0<br /> Package Manager: npm
7.24.1<br /> OS: win32 x64</p>
<p>Angular: 13.3.5</p>
<p>generator-liferay-js: 2.28.3</p></blockquote>
<p>Do you know if I should be using other versions? I haven't found any
compatibility guide so far.</p>
<p>I thank you in advance for your support.</p