Skip to content

bug #2

@JoseRFJuniorLLMs

Description

@JoseRFJuniorLLMs

dev@dev-x:/Documentos/mean-stack-angular6-crud-example$ sudo rm -r node_modules/
dev@dev-x:
/Documentos/mean-stack-angular6-crud-example$ yarn install
yarn install v1.7.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@angular-devkit/build-angular > @ngtools/[email protected]" has incorrect peer dependency "typescript@~2.4.0 || ~2.5.0 || ~2.6.0 || 2.7.0".
warning " > @angular/[email protected]" has incorrect peer dependency "typescript@>=2.7.2 <2.8".
warning "@angular/compiler-cli > [email protected]" has incorrect peer dependency "typescript@>=2.4.2 <2.9".
[4/4] Building fresh packages...
Done in 108.50s.
dev@dev-x:
/Documentos/mean-stack-angular6-crud-example$ ng serve

@angular/[email protected] requires typescript@'>=2.7.0 <2.8.0' but 2.9.2 was found instead.
Using this version can result in undefined behaviour and difficult to debug problems.

Please run the following command to install a compatible version of TypeScript.

npm install typescript@'>=2.7.0 <2.8.0'

To disable this warning run "ng config cli.warnings.typescriptMismatch false".

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

Date: 2018-07-01T08:55:45.534Z
Hash: 8fc7405462ea13a05a5e
Time: 13732ms
chunk {main} main.js, main.js.map (main) 1.96 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 699 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 74.7 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 325 kB [initial] [rendered]

ERROR in The Angular Compiler requires TypeScript >=2.7.2 and <2.8.0 but 2.9.2 was found instead.
ℹ 「wdm」: Failed to compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions