oc-shopaholic / oc-shopaholic-plugin

🛍️ No. 1 e-commerce platform for October CMS
https://shopaholic.one
GNU General Public License v3.0
425 stars 52 forks source link

Error install Biolia E-Commerce #337

Open blackyzero opened 3 years ago

blackyzero commented 3 years ago

Hello,

I just order this theme, and following instruction document, but getting following error: `
root@seed-us:/opt/services/nginx/example.com/ocms# npm i npm WARN stylelint-webpack-plugin@0.10.5 requires a peer of stylelint@^8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/watchpack/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

audited 1473 packages in 12.64s

85 packages are looking for funding run npm fund for details

found 2 low severity vulnerabilities run npm audit fix to fix them, or npm audit for details root@seed-us:/opt/services/nginx/example.com/ocms# npm run watch

@ watch /opt/services/nginx/example.com/ocms npm run development -- --watch

@ development /opt/services/nginx/example.com/ocms cross-env NODE_ENV=development LOCAL_DEV=local node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch"

webpack is watching the files…

98% after emitting StylelintWebpackPlugin

ERROR Failed to compile with 10 errors 6:52:45 AM

These dependencies were not found:

To install them, you can run: npm install --save /opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/common.css /opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/common.js /opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/catalog.js /opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/checkout.css /opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/checkout.js /opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/contact.css /opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/contact.js /opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/news-page.css /opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/product.css /opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/product.js Asset Size Chunks Chunk Names /js/catalog.js 672 bytes /js/catalog [emitted] /js/catalog /js/catalog.js.map 91 bytes /js/catalog [emitted] [dev] /js/catalog /js/checkout.js 672 bytes /js/checkout [emitted] /js/checkout /js/checkout.js.map 92 bytes /js/checkout [emitted] [dev] /js/checkout /js/common.js 2.38 KiB /js/common [emitted] /js/common /js/common.js.map 90 bytes /js/common [emitted] [dev] /js/common /js/contact.js 666 bytes /js/contact [emitted] /js/contact /js/contact.js.map 91 bytes /js/contact [emitted] [dev] /js/contact /js/manifest.js 6.16 KiB /js/manifest [emitted] /js/manifest /js/manifest.js.map 6.15 KiB /js/manifest [emitted] [dev] /js/manifest /js/product.js 666 bytes /js/product [emitted] /js/product /js/product.js.map 91 bytes /js/product [emitted] [dev] /js/product /js/vendor.js 282 KiB /js/vendor [emitted] /js/vendor /js/vendor.js.map 368 KiB /js/vendor [emitted] [dev] /js/vendor

ERROR in multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css Module not found: Error: Can't resolve '/opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/common.css' in '/opt/services/nginx/example.com/ocms' @ multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css /js/common[1]

ERROR in multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css Module not found: Error: Can't resolve '/opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/common.js' in '/opt/services/nginx/example.com/ocms' @ multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css /js/common[0]

ERROR in multi ./themes/lovata-biolia-shopaholic/pages/catalog.js Module not found: Error: Can't resolve '/opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/catalog.js' in '/opt/services/nginx/example.com/ocms' @ multi ./themes/lovata-biolia-shopaholic/pages/catalog.js /js/catalog[0]

ERROR in multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css Module not found: Error: Can't resolve '/opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/checkout.css' in '/opt/services/nginx/example.com/ocms' @ multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css /js/common[4]

ERROR in multi ./themes/lovata-biolia-shopaholic/pages/checkout.js Module not found: Error: Can't resolve '/opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/checkout.js' in '/opt/services/nginx/example.com/ocms' @ multi ./themes/lovata-biolia-shopaholic/pages/checkout.js /js/checkout[0]

ERROR in multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css Module not found: Error: Can't resolve '/opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/contact.css' in '/opt/services/nginx/example.com/ocms' @ multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css /js/common[5]

ERROR in multi ./themes/lovata-biolia-shopaholic/pages/contact.js Module not found: Error: Can't resolve '/opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/contact.js' in '/opt/services/nginx/example.com/ocms' @ multi ./themes/lovata-biolia-shopaholic/pages/contact.js /js/contact[0]

ERROR in multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css Module not found: Error: Can't resolve '/opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/news-page.css' in '/opt/services/nginx/example.com/ocms' @ multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css /js/common[2]

ERROR in multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css Module not found: Error: Can't resolve '/opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/product.css' in '/opt/services/nginx/example.com/ocms' @ multi ./themes/lovata-biolia-shopaholic/common.js ./themes/lovata-biolia-shopaholic/common.css ./themes/lovata-biolia-shopaholic/pages/news-page.css ./themes/lovata-biolia-shopaholic/pages/product.css ./themes/lovata-biolia-shopaholic/pages/checkout.css ./themes/lovata-biolia-shopaholic/pages/contact.css /js/common[3]

ERROR in multi ./themes/lovata-biolia-shopaholic/pages/product.js Module not found: Error: Can't resolve '/opt/services/nginx/example.com/ocms/themes/lovata-biolia-shopaholic/pages/product.js' in '/opt/services/nginx/example.com/ocms' @ multi ./themes/lovata-biolia-shopaholic/pages/product.js /js/product[0]

`

Please advice how to fix it. Thank you.

blackyzero commented 3 years ago

well, after trying to execute # npm run dev, i see another theme created, but missing folders and files, root@seed-us:/opt/services/nginx/example.com/ocms/themes# ls demo lovata-biolia-shopaholic lovata-shopaholic-biolia

then i did cp -rf lovata-shopaholic-biolia/* lovata-biolia-shopaholic/

and execute # npm run dev again, and the build success, however there are two themes appear in Admin panel (screenshots)

https://ibb.co/0cPLsx0

https://ibb.co/bJQbm4c

I select each of them, but the site still show no content (500 error)

Please show me how to fix the issue. Thank you.

blackyzero commented 3 years ago

Solved it, by install all required plugins.

lautsevich commented 3 years ago

Hi @blackyzero!

Sorry for the delay with the answer. There's an issue with the theme directory name in the marketplace distributive. Its current name is lovata-shopaholic-biolia and should be lovata-biolia-shopaholic. Thx for your report we'll fix it in the upcoming release.

blackyzero commented 3 years ago

Perfect. Thanks for this update @lautsevich Look forward to get new release.