Hi. I'm trying to build a custom NG theme, but I can't get the AquaBlue theme to run without errors. The following is the error I get after the npm install and then try to run the theme:
==========================================
> Aqua...@0.1.0 start
> cross-env DEPLOY_ENV=dev node ./rewire/start.js http://192.168.147.203
C:\AG\Projects\XMPie\Themes\AquaBlue\src\node_modules\@babel\helper-remap-async-to-generator\lib\index.js:18
const awaitVisitor = _traverse.visitors.environmentVisitor({
^
TypeError: _traverse.visitors.environmentVisitor is not a function
at Object.<anonymous> (C:\AG\Projects\XMPie\Themes\AquaBlue\src\node_modules\@babel\helper-remap-async-to-generator\lib\index.js:18:41)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (C:\AG\Projects\XMPie\Themes\AquaBlue\src\node_modules\@babel\plugin-transform-async-generator-functions\lib\index.js:8:36)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
Node.js v18.18.2 ==========================================
I then run npm audit fix, and this will allow me to run the theme without errors at the command line, but I get this error when trying to open the page with an existing store:
To begin, please type in the correct Path with your StoreID and try again. Sorry for the inconvenience.
I'm running uStore 17.1, Node 18.18.2, and followed the instructions for setting up themes. I've tried different versions of node on different machines, but I always get the same error. Powershell was run as admin and also in VS Code.
XMPie tech support hasn't been able to give a solution yet. Is there something I'm doing incorrectly for theme setup?
Thanks!
Johan Cyprich