Skip to content

I face the error while running the commands npm install -g angualr-cli@webpack i have node -v 6 npm 3 but still the error plzzz help  #1919

Closed

Description

@AnasSharif

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
  2. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:
  3. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.
  4. The log given by the failure. Normally this include a stack trace and some
    more information.
  5. Mention any other details that might be useful.

Thanks! We'll be in touch soon.

Activity

  1. changed the title [-]I face the error while running the commands npm install -g angualr-cli@webpack[/-] [+]I face the error while running the commands npm install -g angualr-cli@webpack i have node -v 6 npm 3 but still the error plzzz help [/+] on Aug 31, 2016
  2. crain commented on Aug 31, 2016

    @crain

    What is the exact error?

  3. borntodesign commented on Aug 31, 2016

    @borntodesign

    Try ng init and look over the merge files again to check the package.json file. You should have the RC5 version of @angular/platform-browser-dynamic installed so you can get the correct browser module.

  4. borntodesign commented on Aug 31, 2016

    @borntodesign

    Congrats!

    On Wednesday, 31 August 2016, Rodrigo Silveira notifications@github.com
    wrote:

    Good News. Replacing "typescript": "^2.0.0" with "typescript": "2.0.0"
    worked!

    —
    You are receiving this because you commented.
    Reply to this email directly, view it on GitHub
    #1919 (comment),
    or mute the thread
    https://github.com/notifications/unsubscribe-auth/AEUSGiQg7iGCjb_JmeNN97ZQiqAnYzKSks5qlaf0gaJpZM4JxlAo
    .

  5. ev45ive commented on Aug 31, 2016

    @ev45ive

    So, does "1.0.0-beta.11-webpack.8" is "the version" @dematic-rodrigo-silveira ? Does it work fine for you? What OS?
    I need basic stuff working to showcase new stuff like NgModule and webpack. Will that version do?

    I tried previous version and there was problems with typescript. It either complained with npm. Updated to 3 and worked, but then when I did "ng serve" app started with a lot of errors in console for missing type definitions like:

    ERROR in [default] 
    Cannot find global type 'Array'.
    
    ERROR in [default] 
    Cannot find global type 'Boolean'.
    
    ERROR in [default] 
    Cannot find global type 'Function'.
    

    and so on.. tried adding typing with triple slash reference, tried using typings in tsconfig, tried changing typings/*.. but nothing helped..

    What are steps to get Webpack rc5 with TS2.0 working ?

    Thanks Much :-)

  6. billdwhite commented on Sep 1, 2016

    @billdwhite

    Now that the newly released RC6 requires typescript 2.0.2, angular-cli will not work with it until it also supports 2.0.2

  7. GRRedWings commented on Sep 7, 2016

    @GRRedWings

    @billdwhite - You say that RC6 requires 2.0.2, can we still use RC5 with 2.0.0? I'm struggling with this same problem and had it working with RC5, but now that I'm trying to set it up on another Windows machine I can't get it to build.

  8. filipesilva commented on Sep 16, 2016

    @filipesilva
    Contributor

    The original issue seems to be a dupe of #1919 (comment).

    Not really sure where the followup replies came from since the main post contains 0 information, but please open new issues if your problems persist.

    The typescript@2.0.2 issue was fixed though.

  9. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  10. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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