简体   繁体   中英

I am trying to deploy my express app to vercel but gives me error

Error: File /vercel/path1/node_modules/simple-update-notifier/node_modules/semver/preload.js does not exist.

The build logs:

Tried removing the node modules and lock file and then publishing. Also tried switching between npm and yarn

please check if you have semver inside your package.json

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM