devextreme-angular-template icon indicating copy to clipboard operation
devextreme-angular-template copied to clipboard

Error when trying to create a new application

Open improwise opened this issue 4 years ago • 1 comments

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.

improwise avatar Sep 04 '19 13:09 improwise

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"

improwise avatar Sep 04 '19 13:09 improwise