Skip to content

Incredibly slow install #1320

Closed
Closed
@ggrimbert

Description

@ggrimbert

Hi,

I am experiencing some problems with the last version of parse dashboard. The issue is that the npm install goes from 1 minute to 15.

With the version 1.2.0; npm install take 40 seconds with the dependencies below; but with the 2.0.3 version, it takes more than 15 minutes.
It seems to hang on two tasks :

  • npm timing stage:loadIdealTree
  • npm timing action:extract

Here are the full logs for the slow install.
npmInstallParse.txt

I can assure you that our internal repository doesn't slow down the network.

  • You're running version >=2.3.2 of Parse Server.

  • You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

Ubuntu 16.04; node 8.11

Steps to reproduce

Use these dependencies :

"dependencies": {
    "express": "^4.15.3",
    "graphql": "14.5.3",
    "node-schedule": "^1.3.2",
    "parse-dashboard": "2.0.3",
    "parse-server": "3.9.0"
  },
  "devDependencies": {
    "tslint": "^5.10.0",
    "typescript": "3.5.3"
  }

Logs/Trace

08:24:48 npm http fetch GET 200 https://nexusm-repo-mob.apps.eul.sncf.fr/repository/npm-groupeaes/cross-fetch 184ms
08:32:27 npm info lifecycle [email protected]~prepack: [email protected]
08:32:27 npm info lifecycle [email protected]~postpack: [email protected]
08:32:27 npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 474675ms
08:32:27 npm timing stage:loadIdealTree Completed in 475124ms
08:32:28 npm timing stage:generateActionsToTake Completed in 510ms
[...]
08:32:41 npm http fetch GET 200 https://nexusm-repo-mob.apps.eul.sncf.fr/repository/npm-groupeaes/aws-sdk/-/aws-sdk-2.539.0.tgz 11225ms
08:40:03 npm timing action:extract Completed in 454523ms
08:40:05 npm timing action:finalize Completed in 1431ms
08:40:07 npm timing action:refresh-package-json Completed in 1900ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:wont-fixWon’t be fixed with a clearly stated reason

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions