NPM/Yarn error while installing
Blueprint Version:
alpha-XT1
Node Version: v20.5.1
4 Replies
Could you try the following commands in the
/var/www/pterodactyl
folder?
npm ls
npm install cross-env
yarn
blueprint -upgrade
You might experience errors with npm commands, just ignore em.output for
npm ls
output for
documenting the errors... so if anyone else comes across these they might fidn it helpful
it worked
@Emma thanks
npm install cross-env
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @hot-loader/react-dom@17.0.2+4.13.0
npm ERR! Found: react@16.14.0
npm ERR! node_modules/react
npm ERR! peer react@">=16.x" from @fortawesome/react-fontawesome@0.1.19
npm ERR! node_modules/@fortawesome/react-fontawesome
npm ERR! @fortawesome/react-fontawesome@"^0.1.11" from the root project
npm ERR! peer react@"^16.8.0" from easy-peasy@4.0.2
npm ERR! node_modules/easy-peasy
npm ERR! easy-peasy@"^4.0.1" from the root project
npm ERR! 24 more (formik, framer-motion, qrcode.react, react-chartjs-2, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.2" from react-dom@17.0.2+4.13.0
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@">=16.8 || ^17.0.0 || ^18.0.0" from framer-motion@6.5.1
npm ERR! node_modules/framer-motion
npm ERR! framer-motion@"^6.3.10" from the root project
npm ERR! peer react-dom@"^15.0.0 || ^16.0.0 || ^17.0.0" from react-hot-loader@4.13.1
npm ERR! node_modules/react-hot-loader
npm ERR! react-hot-loader@"^4.12.21" from the root project
npm ERR! 7 more (react-transition-group, styled-components, ...)
npm ERR!
npm ERR! Conflicting peer dependency: react@17.0.2
npm ERR! node_modules/react
npm ERR! peer react@"17.0.2" from react-dom@17.0.2+4.13.0
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@">=16.8 || ^17.0.0 || ^18.0.0" from framer-motion@6.5.1
npm ERR! node_modules/framer-motion
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @hot-loader/react-dom@17.0.2+4.13.0
npm ERR! Found: react@16.14.0
npm ERR! node_modules/react
npm ERR! peer react@">=16.x" from @fortawesome/react-fontawesome@0.1.19
npm ERR! node_modules/@fortawesome/react-fontawesome
npm ERR! @fortawesome/react-fontawesome@"^0.1.11" from the root project
npm ERR! peer react@"^16.8.0" from easy-peasy@4.0.2
npm ERR! node_modules/easy-peasy
npm ERR! easy-peasy@"^4.0.1" from the root project
npm ERR! 24 more (formik, framer-motion, qrcode.react, react-chartjs-2, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.2" from react-dom@17.0.2+4.13.0
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@">=16.8 || ^17.0.0 || ^18.0.0" from framer-motion@6.5.1
npm ERR! node_modules/framer-motion
npm ERR! framer-motion@"^6.3.10" from the root project
npm ERR! peer react-dom@"^15.0.0 || ^16.0.0 || ^17.0.0" from react-hot-loader@4.13.1
npm ERR! node_modules/react-hot-loader
npm ERR! react-hot-loader@"^4.12.21" from the root project
npm ERR! 7 more (react-transition-group, styled-components, ...)
npm ERR!
npm ERR! Conflicting peer dependency: react@17.0.2
npm ERR! node_modules/react
npm ERR! peer react@"17.0.2" from react-dom@17.0.2+4.13.0
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@">=16.8 || ^17.0.0 || ^18.0.0" from framer-motion@6.5.1
npm ERR! node_modules/framer-motion
npm ERR! framer-motion@"^6.3.10" from the root project
npm ERR! peer react-dom@"^15.0.0 || ^16.0.0 || ^17.0.0" from react-hot-loader@4.13.1
npm ERR! node_modules/react-hot-loader
npm ERR! react-hot-loader@"^4.12.21" from the root project
npm ERR! 7 more (react-transition-group, styled-components, ...)
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!
npm ERR! For a full report see:
npm ERR! /root/.npm/_logs/2023-10-24T14_31_48_725Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-10-24T14_31_48_725Z-debug-0.log
npm ERR! framer-motion@"^6.3.10" from the root project
npm ERR! peer react-dom@"^15.0.0 || ^16.0.0 || ^17.0.0" from react-hot-loader@4.13.1
npm ERR! node_modules/react-hot-loader
npm ERR! react-hot-loader@"^4.12.21" from the root project
npm ERR! 7 more (react-transition-group, styled-components, ...)
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!
npm ERR! For a full report see:
npm ERR! /root/.npm/_logs/2023-10-24T14_31_48_725Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-10-24T14_31_48_725Z-debug-0.log
No problem, somehow it always works.