Uncaught TypeError: require.config is not a function CSS and Javascript files are not loading after Magento 2 installation


Uncaught TypeError: require.config is not a function
CSS and Javascript files are not loading after Magento 2 installation



Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/extjs/resources/css/ytheme-magento.css Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/images/magento-icon.svg Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/extjs/resources/css/ext-all.css Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/requirejs/require.js Failed to load resource: the server responded with a status of 404 (Not Found)
requirejs-config.js:65 Uncaught TypeError: require.config is not a function
localhost/:39 Uncaught TypeError: require.config is not a function
localhost/:87 Uncaught TypeError: require is not a function
localhost/:286 Uncaught TypeError: require is not a function
localhost/:418 Uncaught TypeError: require is not a function
localhost/:463 Uncaught TypeError: require is not a function
localhost/:504 Uncaught TypeError: require is not a function
localhost/:527 Uncaught TypeError: require is not a function
localhost/:550 Uncaught TypeError: require is not a function
htdocs/pub/static/adminhtml/Magento/backend/en_US/images/magento-icon.svg Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/opensans/semibold/opensans-600.woff2 Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/admin-icons/admin-icons.woff2 Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/opensans/regular/opensans-400.woff2 Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/opensans/bold/opensans-700.woff2 Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/admin-icons/admin-icons.woff Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/opensans/semibold/opensans-600.woff Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/opensans/bold/opensans-700.woff Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/opensans/regular/opensans-400.woff Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/admin-icons/admin-icons.ttf Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/opensans/bold/opensans-700.ttf Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/opensans/regular/opensans-400.ttf Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/fonts/opensans/semibold/opensans-600.ttf Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/extjs/resources/css/ytheme-magento.css Failed to load resource: the server responded with a status of 404 (Not Found)
htdocs/pub/static/adminhtml/Magento/backend/en_US/extjs/resources/css/ext-all.css Failed to load resource: the server responded with a status of 404 (Not Found)

Comments

  1. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
    zuan education

    ReplyDelete

Post a Comment

Popular posts from this blog

Vendor autoload is not found. Please run 'composer install' under application root directory.

HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will be removed in PHP 7.0