Try this command:
ng new SportsStore --skip-git --skip-tests --directory ClientApp
It would appear that the switch --source-dir
was deprecated.
The previous command creates the following output:
CREATE ClientApp/angular.json (4195 bytes)
CREATE ClientApp/package.json (1286 bytes)
CREATE ClientApp/README.md (1028 bytes)
CREATE ClientApp/tsconfig.json (543 bytes)
CREATE ClientApp/tslint.json (1988 bytes)
CREATE ClientApp/.editorconfig (246 bytes)
CREATE ClientApp/.gitignore (631 bytes)
CREATE ClientApp/browserslist (429 bytes)
CREATE ClientApp/karma.conf.js (1023 bytes)
CREATE ClientApp/tsconfig.app.json (270 bytes)
CREATE ClientApp/tsconfig.spec.json (270 bytes)
CREATE ClientApp/src/favicon.ico (948 bytes)
CREATE ClientApp/src/index.html (297 bytes)
CREATE ClientApp/src/main.ts (372 bytes)
CREATE ClientApp/src/polyfills.ts (2838 bytes)
CREATE ClientApp/src/styles.css (80 bytes)
CREATE ClientApp/src/test.ts (642 bytes)
CREATE ClientApp/src/assets/.gitkeep (0 bytes)
CREATE ClientApp/src/environments/environment.prod.ts (51 bytes)
CREATE ClientApp/src/environments/environment.ts (662 bytes)
CREATE ClientApp/src/app/app.module.ts (314 bytes)
CREATE ClientApp/src/app/app.component.html (25467 bytes)
CREATE ClientApp/src/app/app.component.ts (215 bytes)
CREATE ClientApp/src/app/app.component.css (0 bytes)
CREATE ClientApp/e2e/protractor.conf.js (810 bytes)
CREATE ClientApp/e2e/tsconfig.json (214 bytes)
CREATE ClientApp/e2e/src/app.e2e-spec.ts (644 bytes)
CREATE ClientApp/e2e/src/app.po.ts (262 bytes)
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
These are the versions installed on my box:
$ node --version
v10.16.0
$ npm --version
6.9.0
Angular CLI: 8.3.0
web
and run the same command?