Comments (4)
Hi Yuri. I'm really sorry, for not anwering. I will look into the missing files thing again, but I'm too busy at the moment. I'm just commenting on stuff that takes a few minutes right now.
(I had to ditch Atom-Shell for our app because of the missing support for printing, so I'm rewriting it in C#. I hate it and it consumes time I currently don't have, because the app is just a small part of our product. Sorry for going off-topic, I just though felt I needed to explain why.)
from asar.
It seems like it is happending because it is run as part of build process which involves folder copying/moving.
I don't think so. I experienced missing files in some cases too (but I don't remember under which circumstances - but there was no copying/moving involved. I'm not even sure if it was with the original asar or with my WIP rewrite.). Are you using node 0.12 (or iojs)? It might be worth retrying with node 0.10.
from asar.
I will try on 0.10.x, and also create a reproducable example and upload it maybe Drive, or something.
Are you using node 0.12 (or iojs)?
node 0.12, io.js fails to work with native pickle stuff, possibly due to nodejs/node#751
from asar.
@bwin
new attempt with asar 0.4.4:
- to my surprise node 0.10.38 works just fine
- node 0.12.2 works as last time (bad)
- io.js throws an error:
D:\Projects\Quazar\new\client\node_modules\asar\node_modules\chromium-pickle\node_modules\bindings\bindings.js:83
throw e
^
Error: Module did not self-register.
at Error (native)
at Module.load (module.js:353:32)
at Function.Module._load (module.js:308:12)
at Module.require (module.js:363:17)
at require (module.js:382:17)
at bindings (D:\Projects\Quazar\new\client\node_modules\asar\node_modules\chromium-pickle\node_modules\bindings\
bindings.js:76:44)
at Object.<anonymous> (D:\Projects\Quazar\new\client\node_modules\asar\node_modules\chromium-pickle\lib\main.js:
1:99)
at Module._compile (module.js:428:26)
at Object.Module._extensions..js (module.js:446:10)
at Module.load (module.js:353:32)
at Function.Module._load (module.js:308:12)
at Module.require (module.js:363:17)
at require (module.js:382:17)
at Object.<anonymous> (D:\Projects\Quazar\new\client\node_modules\asar\lib\disk.js:5:14)
at Module._compile (module.js:428:26)
at Object.Module._extensions..js (module.js:446:10)
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\iojs\\node.exe" "C:\\Program Files\\iojs\\node_modules\\npm\\bin\\npm-cli.js" "run
" "build"
npm ERR! node v1.8.1
npm ERR! npm v2.8.3
npm ERR! code ELIFECYCLE
npm ERR! Quazar-Client@ build: `node build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Quazar-Client@ build script 'node build.js'.
npm ERR! This is most likely a problem with the Quazar-Client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls Quazar-Client
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\Projects\Quazar\new\client\npm-debug.log
D:\Projects\Quazar\new\client>node -v
v1.8.1
and yes I ran npm rebuild
each time I installed node or io
from asar.
Related Issues (20)
- Tests failing on ppc64le architecture for v3.0.3
- Folders named constructor not being packed properly HOT 2
- asar not verifying filenames before passing them to minimatch
- Extraction failed I asar: command error ? HOT 2
- Run extracted content without packing it back again HOT 1
- ASAR file format HOT 1
- Create asar fails for nested empty directories: `Cannot read property 'files' of undefined` HOT 1
- bug: extractAll crashing because of non-existent file HOT 3
- There is an error that seems to be caused by soft links
- dynamic import not working inside asar HOT 5
- Typescript rewrite? HOT 1
- uncache/uncacheAll purpose?
- No error if asar file cannot be written to disk? HOT 4
- goto #_undefined_# 2>NUL HOT 6
- `@types/glob` should be a dev dependency, not an optional dependency. HOT 1
- What does 'Asar' stand for? HOT 2
- https://github.com/alibaba-open-source-website/Chat2DB/commit/691f4ce1e48b5aaa3a420c576fc7c560b1ff69c1
- Can not import a js file from asar HOT 1
- Incorrect integrity of transformed files? HOT 2
- BUG: asar command fails with "module not found" 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 asar.