I am facing problem with require.js
on Magento 2 theme change
Content > Blocks
The page shows endless spinner and I can never view my imported blocks for my new theme. When I do Firebug on the page. This is the error message
Error: Script error for: Magento_Ui/js/lib/key-codes
htt://requirejs.org/docs/errorshtml#scripterror require.js (line 166,
col 17)Error: Script error for: Magento_AdminNotification/toolbar_entry
htt://requirejs.org/docs/errorshtml#scripterror require.js (line 166,
col 17)Error: Script error for: Magento_Ui/js/core/app
htt://requirejs.org/docs/errorshtml#scripterror require.js (line 166,
col 17)Error: Script error for: Magento_AdminNotification/system/notification
htt://requirejs.org/docs/errorshtml#scripterror require.js (line 166,
col 17)
Can someone help me resolving this require.js issue?
Many thanks in advance 🙂
Best Answer
First of all your link have
missing p in htt::// instead of http://
. so check about url issue. If further issue is not resolve, try cmd command,remove var folder from root.
Also set permission for magento projects.