vercel deployment
See original GitHub issueIs there a trick to using this with vercel like there is for heroku? I always see this in the vercel build log:
19:59:19.800 | Applying patches...
-- | --
19:59:19.803 | **ERROR** Failed to apply patch for package rich-markdown-editor at path
19:59:19.804 |
19:59:19.804 | node_modules/rich-markdown-editor
19:59:19.804 | This error was caused because patch-package cannot apply the following patch file:
19:59:19.804 | patches/rich-markdown-editor+11.10.0.patch
19:59:19.804 | Try removing node_modules and trying again. If that doesn't work, maybe there was
19:59:19.804 | an accidental change made to the patch file? Try recreating it by manually
19:59:19.804 | editing the appropriate files and running:
19:59:19.804 |
19:59:19.804 | patch-package rich-markdown-editor
19:59:19.804 |
19:59:19.804 | If that doesn't work, then it's a bug in patch-package, so please submit a bug
19:59:19.804 | report. Thanks!
19:59:19.804 | https://github.com/ds300/patch-package/issues
19:59:19.804 |
19:59:19.805 | ---
19:59:19.805 | patch-package finished with 1 error(s).
while locally it works great. thank you
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:7
Top Results From Across the Web
Creating Deployments – Vercel Docs
A Vercel Deployment results from a successful build of your Project. The build emits files that are compatible with the Build Output API, ......
Read more >vercel deploy
The vercel command is used to deploy Vercel Projects and can be used from either the root of the Vercel Project directory or...
Read more >Create a Project and Deploy – Vercel Docs
On the "New Project" page, under the "Import Git Repository" section, choose the account that you'd like to link a project from. ·...
Read more >Managing Deployments – Vercel Docs
The Vercel dashboard lets you manage all your current and previous deployments. To manage a deployment, go to your project from the Vercel...
Read more >Deploy Button – Vercel Docs
The Deploy Button allows users to deploy a new project through the Vercel Project Creation Flow, while cloning the source Git repository to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I also got an issue with vercel deployment, but a little different scenario than this issue.
I have got a monorepo setup, with one of the packages being a Next application. The issue is that, this specific package, doesn’t pick up the patches from the root of the monorepo, nor does the
postinstall
script in the rootpackage.json
which does the package patching. If I would add thepostinstall
script to the specific package, I would get the error frompatch-package
that, the libraries I am trying to patch, are not present in thenode_modules
. This is true, the libraries are not present in the scopednode_modules
of that package, because they get hoisted to the rootnode_modules
of monorepo. I got a hacky solution, that I would rather not use, which involvesnohoist
ing libraries that I am patching. This could lead to few issues, that is why I am not willing to use it.Does anyone have some advice? Thanks in advance.
Same issue is happening to me. It seems to be happening when multiple files’ diffs are in the same patch file.