Getting the following error trying to run an XDN build:
Building your app for deployment on the MOOVWEB XDN
> Bundling routes.ts and xdn.config.js... Errors occurred while bundling your router: [
ModuleNotFoundError: Module not found: Error: Can't resolve '@xdn/core/Router' in '/projects/myProject/my-storefront/myStore'
at /projects/myProject/my-storefront/myStore/node_modules/@xdn/core/node_modules/webpack/lib/Compilation.js:1657:28
at /projects/myProject/my-storefront/myStore/node_modules/@xdn/core/node_modules/webpack/lib/NormalModuleFactory.js:708:13
at eval (eval at create (/projects/myProject/my-storefront/myStore/node_modules/@xdn/core/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:8:1)
at /projects/myProject/my-storefront/myStore/node_modules/@xdn/core/node_modules/webpack/lib/NormalModuleFactory.js:272:22
at eval (eval at create (/projects/myProject/my-storefront/myStore/node_modules/@xdn/core/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:7:1)
at /projects/myProject/my-storefront/myStore/node_modules/@xdn/core/node_modules/webpack/lib/NormalModuleFactory.js:401:22
at /projects/myProject/my-storefront/myStore/node_modules/@xdn/core/node_modules/webpack/lib/NormalModuleFactory.js:118:11
at /projects/myProject/my-storefront/myStore/node_modules/@xdn/core/node_modules/webpack/lib/NormalModuleFactory.js:632:24
at /projects/myProject/my-storefront/myStore/node_modules/@xdn/core/node_modules/webpack/lib/NormalModuleFactory.js:774:8
at /projects/myProject/my-storefront/myStore/node_modules/@xdn/core/node_modules/webpack/lib/NormalModuleFactory.js:894:5
resolve '@xdn/core/Router' in '/projects/myProject/my-storefront/myStore'
Parsed request is a module
using description file: /projects/myProject/my-storefront/myStore/package.json (relative path: .)
resolve as module
looking for modules in /projects/myProject/my-storefront/myStore/node_modules
existing directory /projects/myProject/my-storefront/myStore/node_modules/@xdn/core
using description file: /projects/myProject/my-storefront/myStore/node_modules/@xdn/core/package.json (relative path: .)
using description file: /projects/myProject/my-storefront/myStore/node_modules/@xdn/core/package.json (relative path: ./Router)
no extension
/projects/myProject/my-storefront/myStore/node_modules/@xdn/core/Router doesn't exist
.ts
/projects/myProject/my-storefront/myStore/node_modules/@xdn/core/Router.ts doesn't exist
.js
/projects/myProject/my-storefront/myStore/node_modules/@xdn/core/Router.js doesn't exist
as directory
/projects/myProject/my-storefront/myStore/node_modules/@xdn/core/Router doesn't exist
/projects/myProject/my-storefront/node_modules doesn't exist or is not a directory
/projects/myProject/node_modules doesn't exist or is not a directory
/projects/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
]
Error: Bundling router failed.
at Object.<anonymous> (/projects/myProject/my-storefront/myStore/node_modules/@xdn/core/deploy/bundle.js:103:31)
at step (/projects/myProject/my-storefront/myStore/node_modules/@xdn/core/deploy/bundle.js:44:23)
at Object.next (/projects/myProject/my-storefront/myStore/node_modules/@xdn/core/deploy/bundle.js:25:53)
at fulfilled (/projects/myProject/my-storefront/myStore/node_modules/@xdn/core/deploy/bundle.js:16:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
error Command failed with exit code 255.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Running xdn version 2.46, cli version 2.46. Tried blowing away node_modules and reinstalling, and updated to the latest XDN CLI and packages in the project and verified node_modules/@xdn/core/router does exist. Any idea what could be causing this?