Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jonas Pauthier
    @Nargonath
    are you doing angular1 pre components orientation?
    Asaf Katz
    @asfktz
    It less about the syntax. I like that it allows me to treat my view as a pure function:
    const Greet = ({ name }) => <div>Hello {name}!</div>
    We reactor it to componenets now. Lots of refactoring is needed 😭
    Its a POC that some developer (who no longer there) wrote that grew too quickly
    Jonas Pauthier
    @Nargonath
    Yeah I see. It is often a bad idea to grow your project from a POC
    Asaf Katz
    @asfktz
    Yeah.. I agree.
    Jonas Pauthier
    @Nargonath
    It depends on the way the POC has been done of course
    but if you really do a POC you don't really do it really well usually
    celik88
    @celik88
    Anyone also having issues using autodll-webpack-plugin on windows? I'm getting the following issue ;
    { Error: invalid argument
        at pathToArray (C:\Users\Ali Celik\Documents\React Boilerplates\suicrux\node_modules\autodll-webpack-plugin\node_modules\memory-fs\lib\MemoryFil
    eSystem.js:44:10)
        at MemoryFileSystem.writeFileSync (C:\Users\Ali Celik\Documents\React Boilerplates\suicrux\node_modules\autodll-webpack-plugin\node_modules\memo
    ry-fs\lib\MemoryFileSystem.js:200:13)
        at C:\Users\Ali Celik\Documents\React Boilerplates\suicrux\node_modules\autodll-webpack-plugin\lib\createMemory.js:62:11
        at runCallback (timers.js:789:20)
        at tryOnImmediate (timers.js:751:5)
        at processImmediate [as _immediateCallback] (timers.js:722:5)
    From previous event:
        at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
      code: 'EINVAL',
      errno: 18,
      message: 'invalid argument',
      path: '\\assets\\vendor.js' }
    Suhas Karanth
    @sudo-suhas
    @celik88 what version are you using
    celik88
    @celik88
    @sudo-suhas "autodll-webpack-plugin": "^0.3.5"
    The thing is it works on my mac no problem. I found the issue to be around paths not being resolved due to unhandled Posix path conversion
    Suhas Karanth
    @sudo-suhas
    Okay. I'll check it
    celik88
    @celik88
    thank u
    Suhas Karanth
    @sudo-suhas
    I am not able to figure out how this error happened
    According to the stack trace, this line is the one which causes the error to be thrown:
    // AFAIK, path.posix.join would not return a path like `\\assets\\vendor.js`
    mfs.writeFileSync(path.posix.join('/assets', filename), buffer);
    $ node
    > path.posix.join('/assets', 'vendor.js')
    '/assets/vendor.js'
    Suhas Karanth
    @sudo-suhas
    @celik88 What version of memory-fs do you have?
    yarn list memory-fs/npm ls memory-fs will print the installed verison
    Suhas Karanth
    @sudo-suhas
    @celik88 Please do verify the version of autodll-webpack-plugin you have installed using the list/ls command
    This PR should have fixed it - asfktz/autodll-webpack-plugin#71
    celik88
    @celik88
    You are right, somehow after I changed it to 0.3.5 it got reverted back to 0.3.3. Issue seems be resolved in the new update. Thanks for checking, I appreciate the time
    Suhas Karanth
    @sudo-suhas
    Awesome. And you are welcome :-)
    Asaf Katz
    @asfktz
    Good catch, @sudo-suhas 👍
    Jonas Pauthier
    @Nargonath
    good job :+1:
    Suhas Karanth
    @sudo-suhas
    Thanks
    Jonas Pauthier
    @Nargonath
    I guess you are developing on windows, aren't you?
    Suhas Karanth
    @sudo-suhas
    Yea.. Missed linux a lot initially when I started working here.
    But it's okay now. I usually find and fix some bugs in open source projects..
    Jonas Pauthier
    @Nargonath
    I see. Don't you want to use Linux SubSystem on Windows 10 ?
    Suhas Karanth
    @sudo-suhas
    No.. I started off with windows 8
    But I started using cmder which does a decent job of helping to forget you are on windows
    Plus, AFAIK, only now the tooling is catching up for the Linux subsystems.. Vscode mentioned something in the release notes
    Jonas Pauthier
    @Nargonath
    yeah it is still pretty new but I have already working with it at their jobs
    So I guess it works even though you still have some little quirks every now and then.
    Suhas Karanth
    @sudo-suhas
    Hmm.. Maybe I'll give it a try
    Suhas Karanth
    @sudo-suhas
    Thanks!
    Jonas Pauthier
    @Nargonath
    np
    Jonas Pauthier
    @Nargonath
    so do we still talk to each other on Sunday 12:30 lunchbreak at your time @asfktz?
    Asaf Katz
    @asfktz
    Hi @Nargonath! What's up? It was next Sunday, but I think do something different instead. This week I'll take the time to write about how each part works and I why things are the way they are. I think it will be more effective that way
    Jonas Pauthier
    @Nargonath
    Hey! i'm good and you? Oh I thought it was this weekend. Yeah it will probably be easier to pass to someone else afterwards and also to read it at any time.
    good call
    Jonas Pauthier
    @Nargonath
    @sudo-suhas I've setup my desktop at home with Windows Linux Subsystem and I must say that it works well for now
    I haven't done anything fancy like playing with docker for example but for a backend development right now it works fine
    Just have to follow the rule: NEVER EDIT LINUX FILES FROM WINDOWS APP
    Jonas Pauthier
    @Nargonath
    hence all your codebase will live in Windows land and you access it through your bash terminal
    Suhas Karanth
    @sudo-suhas
    Okay.. I have been meaning to try it out but haven't found the time yet. Hopefully I'll get some time soon
    Asaf Katz
    @asfktz

    Hi guys!

    For some reason the npm run format stoped working.
    I think its related to some change inside prettier-eslint-cli
    but I’m not sure, I don’t think it somthing from our side.
    This is the log: