Giter Club home page Giter Club logo

node-overlay's People

Contributors

alessandro-barbieri avatar mjsir911 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mjsir911 hololeap

node-overlay's Issues

bootstrapping rollup and company

to build rollup you need rollup and some of it's plugins
to build the plugins you need rollup and other plugins

it's a complete madness

I can't bundle the plugins with the eclass because they are missing package-lock.json and they use pnpm instead of npm

[RFH] how to install submodules?

Some packages depends on submodules not packaged elsewhere but as a folder in the main project (e.g. language-* from atom)

Here are 3 ways of packaging I've been thinking of:
one ebuild for submodule
pros: no need to change the eclass
cons: ebuild version and tarball version aren't the same, no way to check for updates

let npm manage them
pros: only one ebuild
cons: difficult to put the documentation where it should be, the eclass must take care of package.json and list only the submodules in it before calling npm (currently the eclass clear the dependencies inside package.json). Complex bash/jq scripting needed

manually install the submodules
pros: one ebuild only
cons: Complex bash scripting needed, in the ebuild we need to cd module/folder then run the configure compile install functions

dev-node/app-builder-bin-3.4.2_p2020121: fails due to lack of .tgz files.

node.eclass cant handle an ebuild without .tgz files in DISTDIR and will fail.

Relevant error:

npm ERR! code ENOENT
npm ERR! syscall stat
npm ERR! path /var/tmp/portage/dev-node/app-builder-bin-3.4.2_p20201214/distdir/*.tgz
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, stat '/var/tmp/portage/dev-node/app-builder-bin-3.4.2_p20201214/distdir/*.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Line 149-152 from node.eclass in function node_src_compile:

    for file in "${DISTDIR}"/*.tgz; do
        "${NPM}" cache add "${file}" || die
        addfile "${file}" || die
    done

This can be worked around with first checking if the files exists.

    # Check that files exists before
    if ls "${DISTDIR}"/*.tgz &> /dev/null; then
        for file in "${DISTDIR}"/*.tgz; do
            "${NPM}" cache add "${file}" || die
            addfile "${file}" || die
        done
    fi

Full build.log
npm debug log

circular dependencies

 * Error: circular dependencies:                           
                                                           
(dev-node/gulp-4.0.2:0/0::node-overlay, ebuild scheduled for merge) depends on                                         
 (dev-node/gulp-cli-2.3.0:0/0::node-overlay, ebuild scheduled for merge) (runtime)                                    
  (dev-node/yargs-16.2.0:0/0::node-overlay, ebuild scheduled for merge) (runtime)                
   (dev-node/get-caller-file-2.0.5:0/0::node-overlay, ebuild scheduled for merge) (runtime)                            
    (dev-node/typescript-4.1.3:0/0::node-overlay, ebuild scheduled for merge) (buildtime)                              
     (dev-node/gulp-4.0.2:0/0::node-overlay, ebuild scheduled for merge) (buildtime) 

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.