R
Asked
What do I need to do to install this module? I have unzipped the zip file and added the files inside the `modules/shop` folder. Then run `composer update`, is this correct?
****
```
PS D:\xampp\htdocs\smarttouch> npm run shop:i
npm ERR! missing script: shop:i
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! shop:u
npm ERR! shop:h
npm ERR! shop:p
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\r_bol\AppData\Roaming\npm-cache\_logs\2023-06-19T16_52_58_381Z-debug.log
```
****
```
> @0.12.1 shop:h D:\xampp\htdocs\smarttouch
> cd modules/Shop && npm run dev
> @ dev D:\xampp\htdocs\smarttouch\modules\Shop
> vite
failed to load config from D:\xampp\htdocs\smarttouch\modules\Shop\vite.config.js
error when starting dev server:
Error: Cannot find module 'node:path'
Require stack:
- D:\xampp\htdocs\smarttouch\modules\Shop\node_modules\vite\dist\node-cjs\publicUtils.cjs
- D:\xampp\htdocs\smarttouch\modules\Shop\node_modules\vite\index.cjs
- D:\xampp\htdocs\smarttouch\modules\Shop\vite.config.js
- D:\xampp\htdocs\smarttouch\modules\Shop\node_modules\vite\dist\node\chunks\dep-2faf2534.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (D:\xampp\htdocs\smarttouch\modules\Shop\node_modules\vite\dist\node-cjs\publicUtils.cjs:5:14)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Object._require.extensions.<computed> [as .js] (file:///D:/xampp/htdocs/smarttouch/modules/Shop/node_modules/vite/dist/node/chunks/dep-2faf2534.js:63157:17)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `vite`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\r_bol\AppData\Roaming\npm-cache\_logs\2023-06-19T16_57_12_030Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @0.12.1 shop:h: `cd modules/Shop && npm run dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @0.12.1 shop:h script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\r_bol\AppData\Roaming\npm-cache\_logs\2023-06-19T16_57_12_049Z-debug.log
```
****
```
PS D:\xampp\htdocs\smarttouch> npm run shop:i
npm ERR! missing script: shop:i
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! shop:u
npm ERR! shop:h
npm ERR! shop:p
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\r_bol\AppData\Roaming\npm-cache\_logs\2023-06-19T16_52_58_381Z-debug.log
```
****
```
> @0.12.1 shop:h D:\xampp\htdocs\smarttouch
> cd modules/Shop && npm run dev
> @ dev D:\xampp\htdocs\smarttouch\modules\Shop
> vite
failed to load config from D:\xampp\htdocs\smarttouch\modules\Shop\vite.config.js
error when starting dev server:
Error: Cannot find module 'node:path'
Require stack:
- D:\xampp\htdocs\smarttouch\modules\Shop\node_modules\vite\dist\node-cjs\publicUtils.cjs
- D:\xampp\htdocs\smarttouch\modules\Shop\node_modules\vite\index.cjs
- D:\xampp\htdocs\smarttouch\modules\Shop\vite.config.js
- D:\xampp\htdocs\smarttouch\modules\Shop\node_modules\vite\dist\node\chunks\dep-2faf2534.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (D:\xampp\htdocs\smarttouch\modules\Shop\node_modules\vite\dist\node-cjs\publicUtils.cjs:5:14)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Object._require.extensions.<computed> [as .js] (file:///D:/xampp/htdocs/smarttouch/modules/Shop/node_modules/vite/dist/node/chunks/dep-2faf2534.js:63157:17)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `vite`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\r_bol\AppData\Roaming\npm-cache\_logs\2023-06-19T16_57_12_030Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @0.12.1 shop:h: `cd modules/Shop && npm run dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @0.12.1 shop:h script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\r_bol\AppData\Roaming\npm-cache\_logs\2023-06-19T16_57_12_049Z-debug.log
```
- MSAnsweredHello,
To install, please login to admin area and got to settings there is link at the top right to manage module. Once you are manage modules page, please select shop and install/enable it.
Thank you - Login to Reply