Giter Club home page Giter Club logo

Comments (4)

bwin avatar bwin commented on May 17, 2024

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.

bwin avatar bwin commented on May 17, 2024

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.

YurySolovyov avatar YurySolovyov commented on May 17, 2024

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.

YurySolovyov avatar YurySolovyov commented on May 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.