Closed danielpoe closed 7 years ago
Hi @danielpoe,
I think something went wrong when you installed your assets. Maybe you could try to run this command to fix this: rm -Rf ./app/cache/* ./web/bundles/* ./web/css/* ./web/js/*; php app/console pim:install:ass -e=dev;php app/console assets:install --symlink web
Best regards, Olivier.
Hi, even with the command above we get this error:
[RuntimeException]
Tracing dependencies for: /var/www/fraport-web/devbox/pim/releases/fraport-pim_1.0.0-659/web/js/oro.min.js
Error: Error: ENOENT, no such file or directory '/var/www/fraport-web/devbox/pim/releases/fraport-pim_1.0.0-659/web/bundles/pimenrich/js/produc
t/form/back-to-grid.js'
at Object.fs.openSync (fs.js:432:18)
ls shows this:
ls web/bundles/pimenrich/js/product/form/
associations.js attributes.js delete.js locale-switcher.js meta product-label.js save.js sequential-edit.js
attributes categories.js download-pdf.js mass-edit panel save-and-back.js scope-switcher.js status-switcher.js
Ah, I found the answer here: https://github.com/akeneo/pim-community-dev/issues/5072
I'm closing this issue.
When running
Missing dependencies are claimed
In https://github.com/akeneo/pim-community-dev/blob/master/src/Pim/Bundle/EnrichBundle/Resources/config/requirejs.yml
There are JS and HTML referenced that do not exist in filesystem:
pim/filter/text: pimenrich/js/filter/text pim/filter/simpleselect: pimenrich/js/filter/simpleselect pim/template/filter/text: pimenrich/templates/filter/text.html
Why is that? And how do you compile / build the oro.min.js then?