You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
find-cache-dir is a dependency of next, so it turns out the module can still be required most of the times. However, there are cases where this is not the case, e.g. when next is not a site dependency (see #117).
The text was updated successfully, but these errors were encountered:
We use the
find-cache-dir
dependency but do not include it in ourpackage.json
dependencies
.https://github.com/netlify/netlify-plugin-nextjs/blob/61b61f57d58ae095e3522c86013c75823911179b/src/lib/steps/prepareFolders.js#L3
https://github.com/netlify/netlify-plugin-nextjs/blob/61b61f57d58ae095e3522c86013c75823911179b/src/lib/helpers/handleFileTracking.js#L3
This creates the following bug in production:
find-cache-dir
is a dependency ofnext
, so it turns out the module can still be required most of the times. However, there are cases where this is not the case, e.g. whennext
is not a site dependency (see #117).The text was updated successfully, but these errors were encountered: