Skip to content

Install cli peer dep missing rxjs and extraneous tsickle #4484

Closed
@Koshmaar

Description

@Koshmaar

OS?

Windows 7 x64 , running a cygwin console

Versions.

As a forewarning, we are moving the CLI npm package to "@angular/cli" with the next release,
which will only support Node 6.9 and greater. This package will be officially deprecated
shortly after.

To disable this warning use "ng set --global warnings.packageDeprecation=false".

angular-cli: 1.0.0-beta.28.3
node: 6.9.1
os: win32 x64

Repro steps.

I just installed it:

$ npm install -g angular-cli
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
C:\Users\Hubert\AppData\Roaming\npm\ng -> C:\Users\Hubert\AppData\Roaming\npm\node_modules\angular-cli\bin\ng

node-sass@4.5.0 install C:\Users\Hubert\AppData\Roaming\npm\node_modules\angular-cli\node_modules\node-sass
node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.0/win32-x64-48_binding.node
Download complete
Binary saved to C:\Users\Hubert\AppData\Roaming\npm\node_modules\angular-cli\node_modules\node-sass\vendor\win32-x64-48\binding.node
Caching binary to C:\Users\Hubert\AppData\Roaming\npm-cache\node-sass\4.5.0\win32-x64-48_binding.node

node-sass@4.5.0 postinstall C:\Users\Hubert\AppData\Roaming\npm\node_modules\angular-cli\node_modules\node-sass
node scripts/build.js

Binary found at C:\Users\Hubert\AppData\Roaming\npm\node_modules\angular-cli\node_modules\node-sass\vendor\win32-x64-48\binding.node
Testing binary
Binary is fine
C:\Users\Hubert\AppData\Roaming\npm

[list of all packages]

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\angular-cli\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN @angular/core@2.4.6 requires a peer of rxjs@^5.0.1 but none was installed.

The log given by the failure.

In addition to above:

$ npm -g list | grep angular
+-- angular-cli@1.0.0-beta.28.3
| +-- @angular-cli/ast-tools@1.0.16
| | +-- @angular/tsc-wrapped@0.5.2
| +-- @angular-cli/base-href-webpack@1.0.16
| +-- @angular/compiler@2.4.6
| +-- @angular/compiler-cli@2.4.6
| +-- @angular/core@2.4.6
npm ERR! peer dep missing: rxjs@^5.0.1, required by @angular/core@2.4.6
npm ERR! extraneous: tsickle@0.2.5 C:\Users\Hubert\AppData\Roaming\npm\node_modules\angular-cli\node_modules@angular-cli\ast-tools\node_modules\tsickle

Mention any other details that might be useful.

I was able to run ng new myapp without problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions