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
When trying to run a node.js file that requires mmap-io, I get the following error message:
node:internal/modules/cjs/loader:922
throw err;
^
Error: Cannot find module '../build/Release/mmap-io'
Require stack:
- D:\Desktop\projects\f1_app\node_modules\mmap-io\dist\mmap-io.js
- D:\Desktop\projects\f1_app\node_modules\mmap-io\mmap-io.js
- D:\Desktop\projects\f1_app\temp.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:15)
at Function.Module._load (node:internal/modules/cjs/loader:763:27)
at Module.require (node:internal/modules/cjs/loader:991:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object.<anonymous> (D:\Desktop\projects\f1_app\node_modules\mmap-io\dist\mmap-io.js:3:23)
at Module._compile (node:internal/modules/cjs/loader:1102:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1131:10)
at Module.load (node:internal/modules/cjs/loader:967:32)
at Function.Module._load (node:internal/modules/cjs/loader:807:14)
at Module.require (node:internal/modules/cjs/loader:991:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\\Desktop\\projects\\f1_app\\node_modules\\mmap-io\\dist\\mmap-io.js',
'D:\\Desktop\\projects\\f1_app\\node_modules\\mmap-io\\mmap-io.js',
'D:\\Desktop\\projects\\f1_app\\temp.js'
]
}
When I went into the node-modules folder and located mmap-io, I saw that the build folder was empty. I did install mmap-io on a different machine but with the same OS (although this OS had WSL2) and it worked, so I'm not sure why the build folder would be empty.
In regards to compatibility, I was hoping I could use mmap-io in a phone app that must parse data from a very large text file; does mmap-io work with React/Expo-cli?
The text was updated successfully, but these errors were encountered:
When trying to run a node.js file that requires mmap-io, I get the following error message:
When I went into the node-modules folder and located mmap-io, I saw that the build folder was empty. I did install mmap-io on a different machine but with the same OS (although this OS had WSL2) and it worked, so I'm not sure why the build folder would be empty.
In regards to compatibility, I was hoping I could use mmap-io in a phone app that must parse data from a very large text file; does mmap-io work with React/Expo-cli?
The text was updated successfully, but these errors were encountered: