Request to update Quickstart content to reflect current Angular version
See original GitHub issueIβm submitting a β¦
- bug report => search github for a similar issue or PR before submitting
- feature request
- support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
### Current behavior
Following the QuickStartβs instructions on package.json
fails downloading the appropriate Angular packages:
{
"name": "test",
"version": "0.0.1",
"dependencies":
{
"@angular/common": "2.0.0-rc.6",
"@angular/compiler": "2.0.0-rc.6",
"@angular/compiler-cli": "0.6.0",
"@angular/core": "2.0.0-rc.6",
"@angular/forms": "2.0.0-rc.6",
"@angular/http": "2.0.0-rc.6",
"@angular/platform-browser": "2.0.0-rc.6",
"@angular/platform-browser-dynamic": "2.0.0-rc.6",
"@angular/router": "3.0.0-rc.2",
"@angular/upgrade": "2.0.0-rc.6",
"core-js": "^2.4.1",
"reflect-metadata": "^0.1.8",
"rxjs": "^5.0.0-beta.11",
"systemjs": "^0.19.37",
"zone.js": "^0.6.17"
},
"devDependencies":
{
"typings": "^1.3.3"
}
}
yields:
PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\git
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\npm.CMD" install
mssaferpayclient@0.0.1 D:\Documents\Visual Studio-Projekte\Visual Studio 2015\Projects\Music Store\MsSaferPay\MsSaferPay
βββ @angular/common@2.0.0-rc.6
βββ @angular/compiler@2.0.0-rc.6
βββ¬ @angular/compiler-cli@0.6.0
β βββ¬ @angular/tsc-wrapped@0.3.0
β β βββ¬ tsickle@0.1.7
β β β βββ¬ source-map@0.4.4
β β β β βββ amdefine@1.0.0
β β β βββ¬ source-map-support@0.3.3
β β β βββ source-map@0.1.32
β β βββ UNMET PEER DEPENDENCY typescript@^2.0.0 || ^2.1.0-dev
β βββ minimist@1.2.0
β βββ parse5@1.3.2
β βββ UNMET PEER DEPENDENCY typescript@^2.0.2
βββ @angular/core@2.0.0-rc.6
βββ @angular/forms@2.0.0-rc.6
βββ @angular/http@2.0.0-rc.6
βββ @angular/platform-browser@2.0.0-rc.6
βββ @angular/platform-browser-dynamic@2.0.0-rc.6
βββ UNMET PEER DEPENDENCY @angular/platform-server@^2.0.0-rc.6
βββ @angular/router@3.0.0-rc.2
βββ @angular/upgrade@2.0.0-rc.6
βββ core-js@2.4.1
βββ reflect-metadata@0.1.8
βββ¬ rxjs@5.0.0-beta.11
β βββ symbol-observable@1.0.2
βββ¬ systemjs@0.19.37
β βββ when@3.7.7
βββ UNMET PEER DEPENDENCY typescript@^2.0.2
βββ¬ typings@1.3.3
β βββ any-promise@1.3.0
β βββ archy@1.0.0
β βββ bluebird@3.4.6
β βββ¬ chalk@1.1.3
β β βββ ansi-styles@2.2.1
β β βββ escape-string-regexp@1.0.5
β β βββ¬ has-ansi@2.0.0
β β β βββ ansi-regex@2.0.0
β β βββ strip-ansi@3.0.1
β β βββ supports-color@2.0.0
β βββ¬ columnify@1.5.4
β β βββ¬ wcwidth@1.0.1
β β βββ¬ defaults@1.0.3
β β βββ clone@1.0.2
β βββ has-unicode@2.0.1
β βββ listify@1.0.0
β βββ¬ typings-core@1.4.1
β β βββ array-uniq@1.0.3
β β βββ¬ configstore@2.1.0
β β β βββ¬ dot-prop@3.0.0
β β β β βββ is-obj@1.0.1
β β β βββ object-assign@4.1.0
β β β βββ os-tmpdir@1.0.1
β β β βββ osenv@0.1.3
β β β βββ uuid@2.0.2
β β β βββ¬ write-file-atomic@1.2.0
β β β βββ imurmurhash@0.1.4
β β β βββ slide@1.1.6
β β βββ¬ debug@2.2.0
β β β βββ ms@0.7.1
β β βββ¬ detect-indent@4.0.0
β β β βββ¬ repeating@2.0.1
β β β βββ¬ is-finite@1.0.1
β β β βββ number-is-nan@1.0.0
β β βββ graceful-fs@4.1.6
β β βββ¬ has@1.0.1
β β β βββ function-bind@1.1.0
β β βββ¬ invariant@2.2.1
β β β βββ¬ loose-envify@1.2.0
β β β βββ js-tokens@1.0.3
β β βββ¬ is-absolute@0.2.5
β β β βββ¬ is-relative@0.2.1
β β β β βββ¬ is-unc-path@0.1.1
β β β β βββ unc-path-regex@0.1.2
β β β βββ is-windows@0.1.1
β β βββ lockfile@1.0.1
β β βββ¬ make-error-cause@1.2.1
β β β βββ make-error@1.2.0
β β βββ¬ mkdirp@0.5.1
β β β βββ minimist@0.0.8
β β βββ¬ object.pick@1.1.2
β β β βββ¬ isobject@2.1.0
β β β βββ isarray@1.0.0
β β βββ¬ parse-json@2.2.0
β β β βββ¬ error-ex@1.3.0
β β β βββ is-arrayish@0.2.1
β β βββ¬ popsicle@8.1.1
β β β βββ arrify@1.0.1
β β β βββ¬ concat-stream@1.5.2
β β β β βββ inherits@2.0.1
β β β β βββ¬ readable-stream@2.0.6
β β β β β βββ core-util-is@1.0.2
β β β β β βββ process-nextick-args@1.0.7
β β β β β βββ string_decoder@0.10.31
β β β β β βββ util-deprecate@1.0.2
β β β β βββ typedarray@0.0.6
β β β βββ¬ form-data@1.0.1
β β β β βββ¬ async@2.0.1
β β β β β βββ lodash@4.15.0
β β β β βββ¬ combined-stream@1.0.5
β β β β β βββ delayed-stream@1.0.0
β β β β βββ¬ mime-types@2.1.11
β β β β βββ mime-db@1.23.0
β β β βββ throwback@1.1.1
β β β βββ tough-cookie@2.3.1
β β βββ¬ popsicle-proxy-agent@3.0.0
β β β βββ¬ http-proxy-agent@1.0.0
β β β β βββ agent-base@2.0.1
β β β β βββ extend@3.0.0
β β β βββ https-proxy-agent@1.0.0
β β βββ popsicle-retry@3.2.1
β β βββ popsicle-status@2.0.0
β β βββ promise-finally@2.2.1
β β βββ¬ rc@1.1.6
β β β βββ deep-extend@0.4.1
β β β βββ ini@1.3.4
β β β βββ strip-json-comments@1.0.4
β β βββ¬ rimraf@2.5.4
β β β βββ¬ glob@7.0.6
β β β βββ fs.realpath@1.0.0
β β β βββ¬ inflight@1.0.5
β β β β βββ wrappy@1.0.2
β β β βββ¬ minimatch@3.0.3
β β β β βββ¬ brace-expansion@1.1.6
β β β β βββ balanced-match@0.4.2
β β β β βββ concat-map@0.0.1
β β β βββ once@1.3.3
β β β βββ path-is-absolute@1.0.0
β β βββ¬ sort-keys@1.1.2
β β β βββ is-plain-obj@1.1.0
β β βββ string-template@1.0.0
β β βββ¬ strip-bom@2.0.0
β β β βββ is-utf8@0.2.1
β β βββ thenify@3.2.0
β β βββ throat@3.0.0
β β βββ¬ touch@1.0.0
β β β βββ¬ nopt@1.0.10
β β β βββ abbrev@1.0.9
β β βββ typescript@1.8.7
β β βββ zip-object@0.1.0
β βββ¬ update-notifier@1.0.2
β β βββ¬ boxen@0.6.0
β β β βββ ansi-align@1.1.0
β β β βββ camelcase@2.1.1
β β β βββ cli-boxes@1.0.0
β β β βββ filled-array@1.1.0
β β β βββ¬ string-width@1.0.2
β β β β βββ code-point-at@1.0.0
β β β β βββ is-fullwidth-code-point@1.0.0
β β β βββ widest-line@1.0.0
β β βββ is-npm@1.0.0
β β βββ¬ latest-version@2.0.0
β β β βββ¬ package-json@2.4.0
β β β βββ¬ got@5.6.0
β β β β βββ¬ create-error-class@3.0.2
β β β β β βββ capture-stack-trace@1.0.0
β β β β βββ duplexer2@0.1.4
β β β β βββ is-redirect@1.0.0
β β β β βββ is-retry-allowed@1.1.0
β β β β βββ is-stream@1.1.0
β β β β βββ lowercase-keys@1.0.0
β β β β βββ node-status-codes@1.0.0
β β β β βββ¬ pinkie-promise@2.0.1
β β β β β βββ pinkie@2.0.4
β β β β βββ read-all-stream@3.1.0
β β β β βββ timed-out@2.0.0
β β β β βββ unzip-response@1.0.0
β β β β βββ¬ url-parse-lax@1.0.0
β β β β βββ prepend-http@1.0.4
β β β βββ registry-auth-token@3.0.1
β β β βββ registry-url@3.1.0
β β β βββ semver@5.3.0
β β βββ lazy-req@1.1.0
β β βββ¬ semver-diff@2.1.0
β β β βββ semver@5.0.3
β β βββ¬ xdg-basedir@2.0.0
β β βββ os-homedir@1.0.1
β βββ wordwrap@1.0.0
β βββ xtend@4.0.1
βββ zone.js@0.6.17
npm WARN EPEERINVALID @angular/compiler-cli@0.6.0 requires a peer of typescript@^2.0.2 but none was installed.
npm WARN EPEERINVALID @angular/compiler-cli@0.6.0 requires a peer of @angular/platform-server@^2.0.0-rc.6 but none was installed.
npm WARN EPEERINVALID @angular/tsc-wrapped@0.3.0 requires a peer of typescript@^2.0.2 but none was installed.
npm WARN EPEERINVALID tsickle@0.1.7 requires a peer of typescript@^2.0.0 || ^2.1.0-dev but none was installed.
npm WARN EPACKAGEJSON mssaferpayclient@0.0.1 No description
npm WARN EPACKAGEJSON mssaferpayclient@0.0.1 No repository field.
npm WARN EPACKAGEJSON mssaferpayclient@0.0.1 No license field.
### Expected/desired behavior
The QuickStart information should give concise and correct information on how to create a web page using Angular 2.
### Reproduction of the problem
(See package.json
content above.)
### What is the expected behavior?
Angular 2 should install flawlessly after only providing the @angular
modules.
### What is the motivation / use case for changing the behavior?
Three things:
-
As a system developer Iβm not concerned with Angularβs intrinsics. Iβd like to get things running right from the start without investigating why things donβt work.
-
Angular is said to be applicable without TypeScript. So why does it have a Typescript peer dependency (see
npm
error)? -
References to
core-js
,reflect-metadata
,rxjs
,zone.js
should be removed frompackage.json
. Angular dependencies should be intrinsically resolved from within Angular code itself, either by providing them in the Angular distribution package, referencing them in Angularβspackage.json
dependency
list, or by Angular downloading them automatically from a CDN at runtime.(Requiring the user to add Angular intrinsic modules to his/her
package.json
file is a flaw in design and should be reconsidered. I wouldnβt buy a program that demanded me to download external DLLs to be able to run.)
### Please tell us about your environment: - **Angular version:** 2.0.0-rc.6 - **IDE:** Visual Studio 2015 Enterprise
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Docs repo is here https://github.com/angular/angular.io
Yet, please refer to items 1 - 3 of my βmotivationβ paragraph. I tend to believe they are referring to the code portion of Angular.