Parse-dashboard: install error

Created on 13 Jan 2021  路  6Comments  路  Source: parse-community/parse-dashboard

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • [x] You're running version >=1.0.23 of Parse Dashboard.

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

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

Environment Setup

ubuntu18
node 14
npm 6

Steps to reproduce

npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] postinstall: node -e "try{require('./postinstall')}catch(e){}"
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Logs/Trace

Note: If you get a browser JS error please run npm run dev. This will provide source maps and a much more useful stack trace.

Most helpful comment

I too, get the same error as @siempay.

Replication:

  1. Create a package.json file in a new directory with the contents:
{
  "dependencies": {
    "parse-dashboard": "^2.1.0",
    "parse-server": "^4.5.0"
  }
}
  1. run npm install, or npm install --ignore-scripts

All 6 comments

I'm also having issues installing parse-server from NPM. I get dependancy errors and I can't install it

I am having same problem right now !

Can you try ignore scripts flag on install?

npm install --ignore-scripts

Just tried it and it failed too
```code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: [email protected]
npm ERR! node_modules/parse-dashboard/node_modules/graphql
npm ERR! graphql@"14.6.0" from [email protected]
npm ERR! node_modules/parse-dashboard
npm ERR! parse-dashboard@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0" from [email protected]
npm ERR! node_modules/parse-dashboard/node_modules/codemirror-graphql/node_modules/graphql-language-service-interface/node_modules/graphql-import
npm ERR! graphql-import@"^0.4.4" from [email protected]
npm ERR! node_modules/parse-dashboard/node_modules/codemirror-graphql/node_modules/graphql-language-service-interface/node_modules/graphql-config
npm ERR! graphql-config@"2.0.1" from [email protected]
npm ERR! node_modules/parse-dashboard/node_modules/codemirror-graphql/node_modules/graphql-language-service-interface
npm ERR! graphql-language-service-interface@"^1.0.18" from [email protected]
npm ERR! node_modules/parse-dashboard/node_modules/codemirror-graphql
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/brahimelmssilha/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
```

I too, get the same error as @siempay.

Replication:

  1. Create a package.json file in a new directory with the contents:
{
  "dependencies": {
    "parse-dashboard": "^2.1.0",
    "parse-server": "^4.5.0"
  }
}
  1. run npm install, or npm install --ignore-scripts

As previously discussed, this only happens on the latest version of npm on certain devices. I solved by downgrading npm to 6.14.10.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kwstasna picture kwstasna  路  6Comments

pcegarra picture pcegarra  路  3Comments

oligazar picture oligazar  路  7Comments

mattgoldspink picture mattgoldspink  路  3Comments

robertherber picture robertherber  路  6Comments