can i run --force here ?

can i run --force here ?
No description
8 Replies
Dario
Dario•9mo ago
unfortunately no, if you open a feature request (https://github.com/cloudflare/next-on-pages/issues/new?assignees=&labels=enhancement&projects=&template=feature-request.yml&title=%5B%E2%9A%A1+Feature%5D%3A+) on next-on-pages I will look into enabling (I can't remember if there was a technical limitation around that though.... 🤔) you can use other package managers though, I'm pretty sure that yarn and pnpm only warn you about conflicting peer dependencies without making the installation fail
cora
coraOP•9mo ago
i opened up the issue, you also cant seem to run --force inside the actual build in the worker config as well which ive brought up in another thread. the only reason im chasing this is Lucia + Prisma Edge have a dependency conflict since the latter is in preview so its a rare case
Dario
Dario•9mo ago
thanks! I'll look into it as soon as I can 🙂
you also cant seem to run --force inside the actual build in the worker config
what do you mean? 😅
cora
coraOP•9mo ago
can't change the build command here to use --force either but i was told it was being looked into
No description
Dario
Dario•9mo ago
ah I see 🤔 you mean as the standard npm initialization right? I can look into that.... I'd imagine that the pages CI performs an npm ci I guess that that should work fine with a package-lock created using --force... is that not the case? 🤔
cora
coraOP•9mo ago
so an .npmrc with force=true solved both issues fortunately
cora
coraOP•9mo ago
new bug
No description
cora
coraOP•9mo ago
so i managed to get things sort of working after 2 days i'm not the most experienced so i feel like others coming to cloudflare from vercel similar to me can benefit from the docs letting them know they need to restructure the way they set up routes and such - just a suggestion
Want results from more Discord servers?
Add your server