Open blackyzero opened 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)
I select each of them, but the site still show no content (500 error)
Please show me how to fix the issue. Thank you.
Solved it, by install all required plugins.
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.
Perfect. Thanks for this update @lautsevich Look forward to get new release.
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 detailsfound 2 low severity vulnerabilities run
npm audit fix
to fix them, ornpm audit
for details root@seed-us:/opt/services/nginx/example.com/ocms# npm run watchwebpack 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.