Skip to content

Package.json problem IG #116

Answered by prplwtf
Raphael716 asked this question in Support
Discussion options

You must be logged in to vote

You likely used npm to install your dependencies instead of yarn. To fix this:

  1. Navigate to your Pterodactyl directory with cd /path/to/pterodactyl
  2. Restore your package.json to the one used by Pterodactyl (only if you messed up your current one):
mv package.json package.json.old
wget https://raw.githubusercontent.com/pterodactyl/panel/refs/heads/release/v1.11.10/package.json
  1. Remove the node_modules directory with rm -r node_modules
  2. Install yarn with npm i -g yarn
  3. Install dependencies by running yarn

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

prplwtf
May 7, 2025
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by prplwtf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants