Open g1lby opened 1 year ago
Did you get it to work on plesk? I would like to do the same and add this great product to one of my domains.
I have similar issue issue on Heroku. As far as I understand things react-use-form-state@0.13.2 wants a react version < 17.0.0 ("peer react@"^16.8.0" from react-use-form-state@0.13.2") and e.g. the next module wants a react version > 17.0.2 which can never be resolved.
I have managed to fix this ...
/srv/kutt # npx npm-check-updates -u
That will upgrade all the packages in package.json
to the most recent versions.
Then, the current overrides
for the react-use-form is wrong. It can't deal with the *
value I replaced it with:
"react-use-form-state": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
(after the npx npx-check-updates
command) and it now builds just fine.
I am getting the same error as well
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: react-use-form-state@0.13.2
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR! peer react@">=16.3.0" from @emotion/core@10.3.1
npm ERR! node_modules/@emotion/core
npm ERR! peer @emotion/core@"^10.0.27" from @emotion/styled@10.3.0
npm ERR! node_modules/@emotion/styled
npm ERR! @emotion/styled@"^10.0.0" from reflexbox@4.0.6
npm ERR! node_modules/rebass/node_modules/reflexbox
npm ERR! reflexbox@"^4.0.6" from rebass@4.0.7
npm ERR! node_modules/rebass
npm ERR! peer @emotion/core@"^10.0.28" from @emotion/styled-base@10.3.0
npm ERR! node_modules/@emotion/styled-base
npm ERR! @emotion/styled-base@"^10.3.0" from @emotion/styled@10.3.0
npm ERR! node_modules/@emotion/styled
npm ERR! @emotion/styled@"^10.0.0" from reflexbox@4.0.6
npm ERR! node_modules/rebass/node_modules/reflexbox
npm ERR! 1 more (reflexbox)
npm ERR! 21 more (@emotion/styled, @emotion/styled-base, easy-peasy, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0" from react-use-form-state@0.13.2
npm ERR! node_modules/react-use-form-state
npm ERR! react-use-form-state@"^0.13.2" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@16.14.0
npm ERR! node_modules/react
npm ERR! peer react@"^16.8.0" from react-use-form-state@0.13.2
npm ERR! node_modules/react-use-form-state
npm ERR! react-use-form-state@"^0.13.2" from the root project
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! /home/rizwan/.npm/_logs/2024-07-08T16_20_36_501Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /home/rizwan/.npm/_logs/2024-07-08T16_20_36_501Z-debug-0.log
Hi, I'm having trouble installing kutt on my plesk server (running on rocky green obsidian) inside a customer account. I previously installed the npm manager extension, the docker extension along with a redis-latest container and set up a git repository clone of this one, but with the adjusted .env file.
When I log into the server after pulling the repo via ssh, I'm getting errors with the
npm install
command, which I tried to bypass via--force
, but this gives me the following output, /var/www/vhosts/example1.com/.npm/_logs/2023-07-20T12_43_45_213Z-debug-0.log:I didn't want to deploy kutt via docker, because I wanted to use the postgres integrated in plesk. Does anyone has a suggestion what to do next?