vercel: Now Deployment Error
Node - 10.15.3 Npm - 6.13.0 Now version - 16.5.2
I have a mono repo app with svelte and @now/node backend in the api folder. Development with now dev works fine but deploying with now doesnt and the deplyment fails. Here are what the logs says…
03:09:36 PM | Installing build runtime...
-- | --
03:09:37 PM | Build runtime installed: 922.221ms
03:09:38 PM | Installing build runtime...
03:09:38 PM | Looking up build cache...
03:09:39 PM | Build cache found [10.53 MB, 11610 files]
03:09:39 PM | Build cache unpacked: 736.131ms
03:09:39 PM | Build runtime installed: 835.653ms
03:09:39 PM | Installing dependencies...
03:09:39 PM | Installing build runtime...
03:09:39 PM | Looking up build cache...
03:09:40 PM | Build cache found [10.53 MB, 11610 files]
03:09:40 PM | Build cache unpacked: 884.162ms
03:09:40 PM | Build runtime installed: 1065.469ms
03:09:41 PM | Installing build runtime...
03:09:41 PM | Installing dependencies...
03:09:41 PM | Looking up build cache...
03:09:42 PM | Build cache found [10.53 MB, 11565 files]
03:09:42 PM | Build cache unpacked: 890.959ms
03:09:42 PM | Build runtime installed: 1082.285ms
03:09:43 PM | Installing build runtime...
03:09:43 PM | Installing dependencies...
03:09:43 PM | Looking up build cache...
03:09:44 PM | Build runtime installed: 1039.344ms
03:09:44 PM | npm ERR! path /zeit/304efe5c/node_modules/sequelize
03:09:44 PM | npm ERR! code EISGIT
03:09:44 PM | npm ERR! git /zeit/304efe5c/node_modules/sequelize: Appears to be a git repo or submodule.
03:09:44 PM | npm ERR! git /zeit/304efe5c/node_modules/sequelize
03:09:44 PM | npm ERR! git Refusing to remove it. Update manually,
03:09:44 PM | npm ERR! git or move it out of the way first.
Ideally if am able to locate the /zeit folder in question, i will be able to remove all the sub git folders. Where is it located ?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (8 by maintainers)
@styfle Thanks soo much for your help. That worked as well.
I don’t see a
/api/resultsthere defined.I think you should remove the
buildskey and simplify your routes:You could even rename those files so that you have
/api/index.js,/api/vote.js,/api/results.jsand then you wouldn’t need any routes at all.