devextreme-angular-template
devextreme-angular-template copied to clipboard
Error when trying to create a new application
When running:
npx -p devextreme-cli devextreme new angular-app app-name
We get:
18 error code ENOLOCAL 19 error Could not install from "****\AppData\Roaming\npm-cache_npx\11092" as it does not contain a package.json file.
This seem to be a problem with NPX that does not work if you are logged in in Windows using a username with space in it like "Bob Bobson". Workaround seem to be to change the cache folder to something like
"npm config set cache C:\tmp\nodejs\npm-cache --global"