Closed geco closed 3 years ago
Not sure what's going on. cross-fetch
doesn't have a node.js
file nor any references to it (see https://github.com/lquixada/cross-fetch/blob/main/package.json).
I think this issue is similar to this one: https://github.com/lquixada/cross-fetch/issues/110 This is complete log error:
Error: ENOENT: no such file or directory, open '../node_modules/cross-fetch/dist/node.js'
at Object.openSync (fs.js:498:3)
at Object.readFileSync (fs.js:394:35)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1095:18)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.
Sorry, this doesn't look like an issue on the cross-fetch
lib. Closing this issue for now. In case others face similar issue, I'll be happy to open it again.
Hello, i'm using hivejs lib into a webpack peertube plugin, and hivejs lib uses cross-fetch 3 When building i have this error: Error: ENOENT: no such file or directory, open '/node_modules/cross-fetch/dist/node.js' at @hiveio/hive-js/lib/api/transports/http.js:12:19 at @hiveio/hive-js/lib/api/index.js:23:19 Actually i've checked and that file doesn't exist Do you have any suggestion? Thank you in advance