OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

This topic contains 5 replies, has 3 voices, and was last updated by  Ahmad Golzar 9 years, 6 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #34865

    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
    Participant

    Hi,

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

    Thanks

    #34867

    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
    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
    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
    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)

The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.

Back to top