Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30194

Translation directory is not created during version update - Windows

    XMLWordPrintable

Details

    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

        Activity

          People

            Unassigned Unassigned
            magdalena.dziadosz@ez.no#1 magdalena.dziadosz@ez.no#1
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: