Comments (7)
In addition to fixing the main
field in package.json, I had to edit mmap-io.js since it refers to a nonexistent es-release
directory. Changing this to Release
allowed the import to succeed on my system.
from mmap-io.
In package.json replace all "es-release" with "Release".
In nmap-io.js replace "es-release" with "Release".
In tsconfig.json replace "es-release" with "Release".
In package.json add "main": "mmap-io.js"
from mmap-io.
Sorry I didn't see the github notifications earlier, fixed and updated. Holler and tag me if you have any problems!
from mmap-io.
Sorry, this is not fixed yet. The build artifact live in build/Release
because you use node-gyp (as you should), but mmap-io.js imports build/es-release/mmap-io
.
See an example of build failure: https://travis-ci.com/stanford-oval/genie-toolkit/builds/118448865 (from greenkeeper trying the new build on my project)
from mmap-io.
(tagging @ozra as requested)
from mmap-io.
Alright, I'll go over it again, I'll dig up some of my old Quant-projects that use it heavily, and see how it behaves and get it right.
from mmap-io.
So...
- the es-release files where black-listed and therefor not packaged into the npm
- when they got with, they where wiped out on installment when the binary was rebuilt
- turns out just getting rid of the Makefile caused more crap than I ever had imagined, this actually took longer to get straight than rewriting the horror-show V8-code [ed: because they break compatibility every few months ] xD
Anyway, the js-files are now built into "dist" instead, and the binary into "build" as before, to keep them separated and thereby allow them to be built pre-publish and avoid unnecessary dependencies for the end-user, as intended.
Well. Should shit still roar up — just tag and shout out. Your project seems really cool by the way! I've bookmarked it along with a trail of others I found from it. For "when there is time" xD
Cheers!
from mmap-io.
Related Issues (19)
- nan dependency version HOT 7
- npm install fails on Windows HOT 14
- Module is not Context-Aware. Creates module registration error with node js worker threads HOT 5
- Compiler warnings b/c V8 changes. Consider "node_addon_api" over "NAN"
- Readme reference Make HOT 1
- Invalid arg type The "path" argument must be one of type string, Buffer or URL. Received type number. HOT 1
- Can this do memory mapped not to file (e.g. not persisted/stored to/from disk)? HOT 2
- Current NAN fails for node 12.6.0, time for beast coding
- memory map large files on windows HOT 4
- Ability to get SharedArrayBuffer instead of ArrayBuffer
- Ability to explicitly unmap
- Release new version from latest master HOT 2
- TypeScript api sample?
- Bus error if 'offset' of mmap is greater than 2gb. HOT 1
- Build folder is empty and compatibility with phone apps
- Add minimal node example to Readme
- windows: incorrect split between high and low for position and offset HOT 3
- windows: always creating paging mapping, not file mapping HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmap-io.