date-fns-module icon indicating copy to clipboard operation
date-fns-module copied to clipboard

"Not a directory" error with Nuxt Bridge

Open toniengelhardt opened this issue 4 years ago • 1 comments

I get the following error when using the module with Nuxt Bridge:

ENOTDIR: not a directory, scandir '.../node_modules/date-fns/esm/locale/index.js'

 @ ./.nuxt/date-fns.js 44:19-73
 @ ./.nuxt/index.js
 @ ./.nuxt/client.js
 @ multi ./node_modules/@nuxt/bridge/dist/runtime/capi.plugin.mjs ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js

ERROR  Watchpack Error (initial scan): Error: 

ENOTDIR: not a directory, scandir '.../node_modules/date-fns/esm/locale/index.js'

Reproduction:

Github: https://github.com/toniengelhardt/nuxt-bridge-debug/ CodeSandBox: https://githubbox.com/toniengelhardt/nuxt-bridge-debug/

toniengelhardt avatar Dec 17 '21 20:12 toniengelhardt

The issue was already discussed here: nuxt/bridge#226

toniengelhardt avatar Dec 29 '21 09:12 toniengelhardt