Error Deploying to Deno Deploy LODASH isEmpty.js
I am having issues deploying to deno deploy. All was well 3 days ago. Made some changes today - but not in terms of adding/deleting libraries. Today I am getting this error: "Error The deployment failed: HTTP status client error (404 Not Found) for url (https://raw.githubusercontent.com/lodash/lodash/master/isEmpty.js)" Appreciate anyone's help here!
4 Replies
That URL is invalid. Either you or one of your libraries was importing a lodash library, unversioned, straight from Github. If one of your libraries are at fault, you can still fix it by using an import map.
Thanks for the quick response. Yes I believe one of my libraries was using it. (I actually don’t know which one, to be honest.) Can you point me to using import map?
Sure. In this case, you could remap
to
Your import map (inside your
deno.jsonc
) would look something like
thanks a billion!!!! I really appreciate your quick help!