Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

This topic contains 5 replies, has 3 voices, and was last updated by Ahmad Golzar Ahmad Golzar 4 years, 1 month ago.

  • Creator
    Topic
  • #34865
    Ahmad Golzar
    Ahmad Golzar
    Participant

    Hi

    When we try to compact javascript files using “oro:requirejs:build” we get errors:

    [root@vps1 crm]# php app/console oro:requirejs:build
    Generating require.js main config
    Generating require.js build config
    Running code optimizer

    [RuntimeException]

    Tracing dependencies for: /home/crm/product/crm/web/js/oro.min.js
    Error: ENOENT, no such file or directory ‘/home/crm/product/crm/web/bundles/oro/widget-manager.js’
    In module tree:
    orocrm/call/info-opener

    Error: Error: ENOENT, no such file or directory ‘/home/crm/product/crm/web/bundles/oro/widget-manager.js’
    In module tree:
    orocrm/call/info-opener

    at Object.fs.openSync (fs.js:427:18)

    Are we doing anything wrong?

    Thanks,
    Ahmad

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #34866
    Ahmad Golzar
    Ahmad Golzar
    Participant

    Hi,

    Does anybody have any clues where the problem is?
    Should I ask this question in another forum category?

    Thanks

    #34867
    Dima Soroka
    Dima Soroka
    Keymaster

    Can you please check if /home/crm/product/crm/web/bundles/oro/widget-manager.js file exist?
    If not please run assets:install

    #34868
    Ahmad Golzar
    Ahmad Golzar
    Participant

    Hi

    Thanks for your reply.

    we had already run assets:install, however, there is no folder ‘oro’ in ‘bundles’.

    widget-manager is in web/bundles/oroui/js/widget-manager.js

    Why is it looking for that js file in the wrong address?

    #34869
    Hryhorii Hrebiniuk
    Hryhorii Hrebiniuk
    Participant

    Hi,

    It looks like you are trying to install a bit outdated version of OroCrm. JS-module “orocrm/call/info-opener” existed in 1.0.0-rc2 and was deleted in 1.0.0.

    Please, update your project.

    Thanks.

    #34870
    Ahmad Golzar
    Ahmad Golzar
    Participant

    Hi,

    Thank you so much Hryhorii. That was exactly our problem. We had merged our changes from the previous release to the later one and we had forgotten to delete obsolete files. Sorry for my late reply. it took us some time to get back to this and solve the problem using your hint.

    Thanks again,
    Ahmad

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for oroinc.frsso for marketplace.orocommerce.comsso for marketplace.orocrm.com