Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery seems to be missing #1

Closed
blackforestcode opened this issue Aug 21, 2021 · 4 comments
Closed

jQuery seems to be missing #1

blackforestcode opened this issue Aug 21, 2021 · 4 comments
Labels

Comments

@blackforestcode
Copy link

Hello,

I added your theme today on a fresh WinterCMS installation, but got blank pages and following error outputs in Chrome console. I've run 'npm run development' before. It seems jquery is missing:

Uncaught Error: Cannot find module 'jquery'
at webpackMissingModule (c19175a53a86d37437644fab30c94f10-1629555208:10)
at Object../assets/src/js/vendor.js (c19175a53a86d37437644fab30c94f10-1629555208:10)
at webpack_require (c19175a53a86d37437644fab30c94f10-1629555208:47)
at c19175a53a86d37437644fab30c94f10-1629555208:164
at Function.webpack_require.O (c19175a53a86d37437644fab30c94f10-1629555208:81)
at c19175a53a86d37437644fab30c94f10-1629555208:166
at c19175a53a86d37437644fab30c94f10-1629555208:168
framework.js?v=winter:9 Uncaught Error: The jQuery library is not loaded. The Winter CMS framework cannot be initialized.
at framework.js?v=winter:9
framework.extras.js?v=winter:9 Uncaught TypeError: Cannot read property 'wn' of undefined
at framework.extras.js?v=winter:9
at framework.extras.js?v=winter:260
:8000/themes/amalfi-tw/assets/dist/images/favicon.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)

@datune
Copy link
Owner

datune commented Aug 21, 2021

Hi!

Thanks for bringing this to my attention, I failed to notice because I had jquery in my projects package.json as a dependency. I have added jQuery, so if you update and run npm install, everything should be working.

@datune datune added Type: Bug Something isn't working Status: Response needed labels Aug 21, 2021
@blackforestcode
Copy link
Author

Thanks. jquery error is gone now, But there's still no HTML injected into body.

Bildschirmfoto-20210821165113-1910x943
Bildschirmfoto-20210821165132-1918x1010
Bildschirmfoto-20210821165148-1919x1004

@datune
Copy link
Owner

datune commented Aug 21, 2021

Thanks for reporting! It's fixed.

@blackforestcode
Copy link
Author

Great, it's working now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants