Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 03 17:30
    ThatOneCalculator commented #171
  • May 03 17:30
    ThatOneCalculator commented #171
  • May 03 12:29
    Gkiokan commented #171
  • May 09 2021 10:54
    Tsunami2360 commented #171
  • Mar 15 2021 16:52
    alejosv commented #171
  • Mar 15 2021 16:50
    alejosv commented #171
  • Jan 28 2021 00:25
    ThatOneCalculator opened #171
  • Sep 03 2019 15:31
    TalhaAkkas opened #170
  • Jun 06 2019 18:57
    Floffah edited #169
  • Jun 06 2019 18:55
    Floffah edited #169
  • Jun 06 2019 18:55
    Floffah opened #169
  • Feb 25 2019 10:49
    brekov opened #168
  • Jul 19 2018 19:55
    arpontes commented #160
  • Jun 07 2018 14:16
    cope opened #167
  • May 18 2018 17:28
    Elmue commented #108
  • Mar 21 2018 05:24
    jaredallard commented #17
  • Mar 19 2018 12:14
    ulvido commented #162
  • Feb 02 2018 18:08
    Gamesh closed #165
  • Feb 02 2018 17:56
    daviidmart commented #162
  • Feb 02 2018 11:17
    ZAYEC77 commented #165
Richard Fennell
@RichyFennell_twitter
HI @ossandust
haven't received as yet but still hoping it comes through. Will need to start looking at alternatives if it doesn't come soon!! :(
if you receive yours please let me know I will do likewise :)
ossandust
@ossandust
Thanks Richard. I haven't pulled the trigger yet myself - just watching this chat to see if it's safe to proceed or not...
acefeel
@acefeel
Hey guys, give some credits to @igorklopov, we all are developers, so just wait, and I'm already got the key. By the way @igorklopov I'm using macOS to write nodejs code, so please add "sudo vi /etc/profile" for sh, /etc/bashrc for bash, then using "sudo visudo" to add Defaults env_keep += "ENCLOSEJS_KEY" for npm in sudo mode to acquire the environment variables, then running 03-require compile.js will outcome the ./index binary, "./index" then it will show before
submodule
after
I mean Evaluation version sign is gone... finally...
Mike Pirog
@pirog
ditto @igorklopov, just purchased commercial version but have not received a key, purchased with mike@thinktandem.io
acefeel
@acefeel
@igorklopov Can I using enclosejs to compile nodejs code for other CPU? I'm building the code on mac intel and the production platform is armv7, can I do that?
balasivagnanam
@balasivagnanam
I am trying to create an exe for my project. It has node(express server side codes) and static web(angular codes) , I created a compile.js and config.js and trying to do a compilation but the files added are not as I expect, not sure how to do it..
and also where can I find the details of commercial license?
Byunghoon-Lee
@Byunghoon-Lee
Hi, I've paid $100 for a year, using lbh1022@gmail.com. Please send me the license key. Thank you.
Koka
@Koka5
how to include browserified file ?? igorklopov/enclose#149
Koka
@Koka5

Also another question is, when and how the complier changes the current path.. initially it traverses to current directory and after a while it switches a directory level up. what is happening inside is unknown to me.

/Users/me/data/enter/config/global.js <-- here it is in enter
info Cannot resolve 'path.join(modulesPath, md)'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.

/Users/me/data/enter/app/schema.js <-- again in enter
warning Cannot resolve '"./models/" + file'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.

/Users/me/data/node_modules/pow-mongoose-fixtures/mongoose_fixtures.js <-- NOW in data
warning Cannot resolve 'file'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.

/Users/me/data/enter/upgrade.js <-- again back to lower level enter
warning Cannot resolve 'path.join(app.migrationDir, files[stepNo])'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.

/Users/me/data/app/schema.js <-- NOW again back to up level data
warning Cannot resolve '"./models/" + file'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.

/Users/me/data/config/global.js <-- up level, not in enter
info Cannot resolve 'path.join(modulesPath, md)'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.

/Users/me/data/node_modules/protagonist/build/Release/protagonist.node
warning Cannot include native addon into executable.
The addon file must be distributed with executable.

/Users/me/data/node_modules/mongoose-timestamp/node_modules/bson/ext/index.js
error Cannot find module '../build/Release/bson' from '/Users/me/data/node_modules/mongoose-timestamp/node_modules/bson/ext'

i am running node enclose.js from enter directory .. and it switches a directory up automatically. why?
Doruk Kutlu
@d0ruk
if you need to use a .node file, you need to distribute it along with your enclosed file
Koka
@Koka5
@Norm- thats not a .node file
Doruk Kutlu
@d0ruk
i saw that further down the dump that's why i mentioned that first
let me check the other issue
Koka
@Koka5
@Norm- the first issue is related with browserified file
Doruk Kutlu
@d0ruk
did you try simply require() ing it ? require(process.cwd(), "bundle.js")
Koka
@Koka5
@Norm- and the second issue is that, it switches a directory level up.. i want to know why..!
i did something like require(__dirname, 'anyfile.js')
Doruk Kutlu
@d0ruk
__dirname should work
can you try it with the process.cwd() to make sure ?
Koka
@Koka5
ok.. give me a minute
Doruk Kutlu
@d0ruk
also, browserify implements its own require() logic so the require() enclose.js uses might be incompatible
info Cannot resolve 'path.join(modulesPath, md)'
enclose also doesn't like dynamic require arguments
you can't expect it to know what md variable refers to and require that
what goes inside needs to be a string literal
Koka
@Koka5
oh.. it still switches a directory up
Doruk Kutlu
@d0ruk
so
if (arch.os() === "win32") {
 md = "win32"
} else {
  md = ""
}
wouldn't work
Koka
@Koka5
@Norm- yeah i know that.. i will replace with switch case and some script to populate list of inputs..
Doruk Kutlu
@d0ruk
try also that "specify in scripts" suggestion
the config file is not that complicated to grok
Koka
@Koka5
i will try
but
i deadly want to know why it switches a directory up
Koka
@Koka5
and by the way i have included this in config
module.exports = {
scripts: "./app/lib/schemaToJson.js"
}
this exists right in same directory from where i am calling enclose
but it is still saying doing native require from browserified file schemaToJson.js
and so getting
error Cannot find module './lib' from '/Users/me/data/enter/app/lib'
schemaToJson.js exists in directory lib
please help me out
mfonsos
@mfonsos
Hello @igorklopov can you please provide me the key, i made the payment using email : skoupi@gmail.com thank you
kshinkarenko
@kshinkarenko
Hi @igorklopov please provide the key for 'mariabur' email - payment was done yesterday. Thank you.
kshinkarenko
@kshinkarenko
@mfonsos , others, did you get your licenses finally?
mfonsos
@mfonsos
Hello @kshinkarenko still waiting but i know Igor is a busy developer so we just have to be patience :) dont worry we will get it finally
petertranks
@petertranks
I made the payment via paypal, please send key to kiru.ppal@yahoo.com. Thanks.
Garry L
@garrylachman
i got new computer but the same licence not working for me
i need a new one?