installing: npm install @flydotio/dockerfile@latest --save-dev
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: framer-motion@12.0.0-alpha.0
npm error Found: react@19.0.0-rc-f994737d14-20240522
npm error node_modules/react
npm error peer react@"19.0.0-rc-f994737d14-20240522" from next@15.0.0-rc.0
npm error node_modules/next
npm error next@"15.0.0-rc.0" from the root project
npm error peer react@"19.0.0-rc-f994737d14-20240522" from react-dom@19.0.0-rc-f994737d14-20240522
npm error node_modules/react-dom
npm error peer react-dom@"19.0.0-rc-f994737d14-20240522" from next@15.0.0-rc.0
npm error node_modules/next
npm error next@"15.0.0-rc.0" from the root project
npm error react-dom@"19.0.0-rc-f994737d14-20240522" from the root project
npm error 2 more (styled-jsx, the root project)
npm error
npm error Could not resolve dependency:
npm error peerOptional react@"^18.0.0" from framer-motion@12.0.0-alpha.0
npm error node_modules/framer-motion
npm error framer-motion@"^12.0.0-alpha.0" from the root project
npm error
npm error Conflicting peer dependency: react@18.3.1
npm error node_modules/react
npm error peerOptional react@"^18.0.0" from framer-motion@12.0.0-alpha.0
npm error node_modules/framer-motion
npm error framer-motion@"^12.0.0-alpha.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
...
Error: failed to install @flydotio/dockerfile: exit status 1
Basically, since this is a release candidate, I’ve had to use --force to install Framer Motion and other packages, but I don’t have access to doing the same doing the launch process. Any idea how I could fix this?
The problem is the process stops before a Dockerfile is even created. But I think what I can try is to use --legacy-peer-deps instead of --force in my project before I launch it.
Here’s where I am so far, I’ll try deplying again right now.
framer-motion-recipes % npx @flydotio/dockerfile --legacy-peer-deps
conflict Dockerfile
Overwrite /Users/Luther/Code/framer-motion-recipes/Dockerfile? (enter "h" for help) [Ynaqdh] h
Y - yes, overwrite
n - no, do not overwrite
a - all, overwrite this and all others
q - quit, abort
d - diff, show the differences between the old and the new
h - help, show this help
Overwrite /Users/Luther/Code/framer-motion-recipes/Dockerfile? (enter "h" for help) [Ynaqdh] y
force Dockerfile