Skip to content

npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer #1539

Closed

Description

@nickagel
No description provided.

Activity

  1. dj-github commented on Aug 21, 2018

    @dj-github

    npm install npm@latest -g

  2. amitsharma1729 commented on Aug 22, 2018

    @amitsharma1729

    @dj-github tried that. ran command

    sudo npm install npm@latest -g
    

    Output:

    /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
    /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
    + npm@6.4.0
    added 278 packages, removed 363 packages and updated 41 packages in 99.728s
    

    ran

    npm -v
    node -v
    

    output

    6.4.0
    v8.11.4
    

    still getting the following issue while building my project:

    Module "site-app-Screen": command output
    >  npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
    ERROR: Failed to build module "site-app-Screen". Command timed out
    
  3. hackjie commented on Aug 26, 2018

    @hackjie

    met the sample problem

  4. jackchoumine commented on Aug 26, 2018

    @jackchoumine

    met the same problem just now

  5. lanumula commented on Sep 4, 2018

    @lanumula

    I am getting npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
    this error, Any one fixed this issue????
    I am using node version is 8.11.4, npm version is 5.6.0

    Please help me anyone have solution for this issue

  6. walterpalladino commented on Sep 4, 2018

    @walterpalladino

    Same problem here

  7. hdale commented on Sep 5, 2018

    @hdale

    Same here. When installing Cordova : sudo npm install -g cordova same error.

  8. shashankdevp commented on Sep 5, 2018

    @shashankdevp

    I guess its a new version of the npm which is causing this issue. Has anyone found the solution ?

  9. rahmatrmdn commented on Sep 8, 2018

    @rahmatrmdn

    node.js v10.x has the same error

  10. DzViRuZ commented on Sep 8, 2018

    @DzViRuZ

    open cmd go to npm folder user/yourname/appdata/roaming/npm and run this
    npm i -g hoek

  11. preetskhalsa97 commented on Sep 10, 2018

    @preetskhalsa97

    For Ubuntu, navigate to /usr/lib/nodejs/npm and do:
    npm i -g hoek
    (similarly npm i -g socks if you're getting a warning for that as well)

  12. dAiMoN-LeUnAm commented on Sep 16, 2018

    @dAiMoN-LeUnAm

    Gracias, a mi me sirvió, ejecute:

    sudo npm install npm@latest -g

    Luego ejecute:

    sudo npm install -g cordova ionic

    Y el resultado fue:

    • cordova@8.0.0
    • ionic@4.1.2
      added 649 packages from 450 contributors in 55.465s

    Y la versiones fueron:

    npm -v
    6.4.1

    node -v
    v8.12.0

    Gracias y saludos.

  13. Yowsifahamed commented on Sep 17, 2018

    @Yowsifahamed

    I did all above instruction bt problems in not solved

  14. Yowsifahamed commented on Sep 20, 2018

    @Yowsifahamed

    untitled

    Give me solution

    node version 10

  15. learnmemore commented on Sep 22, 2018

    @learnmemore

    Hello,
    I tried this solution
    "open cmd go to npm folder user/yourname/appdata/roaming/npm and run this
    npm i -g hoek "

    I had this result :
    image
    It seems OK

  16. meman94 commented on Sep 22, 2018

    @meman94

    We already resolved this issue in the latest development version of Cordova. However, the fix has not yet been included in a release of Cordova. That's why you still see the warning. However, there's nothing more to do than wait for the next release.

  17. Yowsifahamed commented on Oct 29, 2018

    @Yowsifahamed

    ionic
    it is stopped here Why

  18. Subhang23 commented on Jan 26, 2019

    @Subhang23

    image
    Can anyone help me out with this?

  19. rogersnowden commented on Nov 19, 2019

    @rogersnowden

    Why in the hell to people put dark red letters on a black background?

  20. rcjsuen commented on Nov 19, 2019

    @rcjsuen
    Member

    @rogersnowden Did you mean to comment in another issue? We are not talking about terminal colours here.

  21. Subhang23 commented on Nov 20, 2019

    @Subhang23

    @rogersnowden I was new back then and did not have much experience. So I didn't know how to change color.

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