Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.0-beta1
Description
1. Installation without webpack - Windows
2. Performed version update to installation with webpack
git pull origin master
composer update
composer run post-install-cmd
3. Got error:
Error: ENOENT: no such file or directory, scandir 'C:\Apache24\htdocs\ezplatformee\web\assets\translations' at Object.readdirSync (fs.js:786:3) at Object.<anonymous> (C:\Apache24\htdocs\ezplatformee\vendor\ezsystems\ezplatform-admin-ui\src\bundle\ Resources\encore\ez.js.config.js:90:4) at Module._compile (C:\Apache24\htdocs\ezplatformee\node_modules\v8-compile-cache\v8-compile-cache.js:1 78:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (C:\Apache24\htdocs\ezplatformee\node_modules\v8-compile-cache\v8-compile-cache.js:159:20) at Object.<anonymous> (C:\Apache24\htdocs\ezplatformee\vendor\ezsystems\ezplatform-admin-ui\src\bundle\ Resources\encore\ez.config.js:2:22)
4. Adding translation directory manually solves this problem.
Attachments
Issue Links
- relates to
-
EZP-30302 Webpack encore generates assets in wrong directory
- Closed