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

Forums Forums Oro Community requirejs is not a function

This topic contains 1 reply, has 2 voices, and was last updated by  Andrey Yatsenko 3 years, 3 months ago.

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

  • Creator
  • #41327


    i have new setup, orocommerce, but when i have created a twig file and add this for requirejs
    {% block _requirejs_scripts_widget %}
    {% set requirejs_config_extend %}
    {%- placeholder requirejs_config_extend -%}
    {% endset %}
    {% include ‘OroRequireJSBundle::scripts.html.twig’ with {
    compressed: not app.debug,
    config_extend: requirejs_config_extend,
    provider_alias: ‘oro_requirejs_config_provider’
    } %}
    {{ block_widget(block) }}
    {% endblock %}

    getting error require is not a function,
    i have already done this
    php bin/console oro:requirejs:build –env=prod
    but nothing happend
    please provide a resolution

Viewing 1 replies (of 1 total)
  • Author
  • #41347

    Andrey Yatsenko

    Hi Aman,
    What version of an application do you use?

Viewing 1 replies (of 1 total)

The forum ‘Oro Community’ is closed to new topics and replies.

Back to top