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

Compiling the Sneakers theme #432

Open
scottjo opened this issue Sep 10, 2023 · 0 comments
Open

Compiling the Sneakers theme #432

scottjo opened this issue Sep 10, 2023 · 0 comments
Assignees
Labels

Comments

@scottjo
Copy link

scottjo commented Sep 10, 2023

Hi

I purchased the Sneakers theme and I am trying to make some changes to the styling etc. but now when I build the theme using npm run dev / prod whatever, I am now getting an error in the console

TypeError: $.request is not a function. (In '$.request()', '$.request' is undefined)

If I move the JS assets provided with the theme it 'works' but I want to be able to build and make changes.

Version OctoberCMS 3.4.16

and my package.json is

{
"name": "test",
"homepage": "https://localhost/",
"description": "Package file for garage development",
"scripts": {
"dev": "npm run development",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production",
"production": "mix --production"
},
"devDependencies": {
"babel-plugin-module-resolver": "^4.1.0",
"laravel-mix": "^6.0.39",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"postcss-import": "^15.1.0",
"sass": "^1.45.0",
"sass-loader": "^12.1.0"
},
"dependencies": {
"@lovata/popup-helper": "^1.0.1",
"@lovata/shopaholic-cart": "^1.1.1",
"@lovata/shopaholic-coupon": "^1.0.0",
"@lovata/shopaholic-filter-panel": "^1.0.0",
"@lovata/shopaholic-product-list": "^1.0.0",
"@lovata/shopaholic-search": "^1.1.3",
"@lovata/shopaholic-wish-list": "^1.0.0",
"@lovata/url-generation": "^1.0.0",
"@popperjs/core": "^2.11.7",
"autoprefixer": "^10.4.15",
"awecssome": "^0.8.1",
"bluebird": "^3.7.2",
"bootstrap": "^5.3.0",
"bootstrap-icons": "^1.10",
"dropzone": "^6.0.0-beta.2",
"focus-visible": "^5.2.0",
"font-awesome": "^4.7.0",
"formbouncerjs": "^1.4.6",
"intersection-observer": "^0.12.2",
"jquery": "3.6.0",
"js-cookie": "^3.0.1",
"popper.js": "^1.16.1",
"postcss": "^8.4.29",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^9.1.3",
"postcss-url": "^10.1.3",
"sortablejs": "^1.15.0",
"swiper": "^4.5.1",
"vanilla-lazyload": "^17.8.4",
"vue": "^2.6.14",
"vue-router": "^3.5.3"
}

Anyone have any ideas? Thanks in advance

Jon

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

3 participants