Module not found error on xdn init

:heavy_check_mark: installing @xdn/core, @xdn/cli, @xdn/prefetch, @xdn/devtools, @xdn/angular… done.
Error: Cannot find module ‘/Users/myUser/Projects/my-xdn-poc/node_modules/@xdn/angular/bin/init’

Running xdn 2.48.1

This may be related to an outdated global version of XDN CLI. The telltale sign is reference to /bin/ in the module path. This is an old convention. Recommended approach would be to npm i -g @xdn/cli@latest and then run xdn init on the project.

1 Like