Giter Site home page Giter Site logo

node-pac's People

Contributors

mikefrey avatar miketheprogrammer avatar mrdarcymurphy avatar pchoi avatar tug avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

node-pac's Issues

"pac doesn't exist" in Windows 7

Followed the instructions and ran "npm install pac -g". Then ran "pac" in my projects root directory, and I received this response:

"c:\Users\Norm\AppData\Romain\npm\node_modules\pac\bin\pac doesn't exist"

Missing option for modules directory

In case of our project we have multiple ".modules" directories - one for each platform. What I would need is an option (--modules) to specify modules directory which pac should work with. I have a patch for this, so if this request seems reasonable, I can submit a pull request.

OSX -> Ubuntu tar issues

Dear @mikefrey,

You are amazing. This module rocks my face.

Sadly, gnu-tar and bsd-tar do not rock my face. We're using tar -zxf as a npm run-script to "unpac" our ./modules/*.tgz during our deploy.

The problem is that so many warnings are thrown by Ubuntu's gnutar about unknown headers, that it creates a lot of noise in our console during the deploy. In fact, so much memory is used to display these warnings that our socket's stderr maxBuffer is exceeded and our deployments crash.

Ignoring unknown extended header keyword errors that go on for thousands of lines

As a quickfix, we're using the (gnu-tar only) flag --warning=no-unknown-keyword, but it this means other developers will either have to use a different npm run script (duplication, training, and maintenance overhead), OR we'll have to make the script compatible across various OSes. We'd love to dockerize, but its tough to get the runway for this.

The ideal solution, however, would be to not include the extended header keywords in the first place. Then both gnu-tar and bsd-tar could extract the files without complaining. I tried just setting an environment flag as COPYFILE_DISABLE=1, but that didn't seem to stop the headers from appearing :'(

Private/scoped modules

We've got some private scoped modules on npm. They are installed in node_modules like so

node_modules
----@orgname
--------package1
--------package2
----underscore
----other packages

pac currently fails trying to find a package.json file in the @orgname directory.

bower sub-dependencies ignored

Marionette's bower.json has dependencies for backbone, underscore, etc.
Running pac -s bower fails to include these in .modules (they are pulled by bower install)

Doesn't Work on Recent Versions of Node.js

This doesn't work on recent versions of Node.js. I get an error that says

ReferenceError: primordials is not defined

Also, why isn't there more hype around this product? This could potentially improve deploy times significantly. Is there a more modern solution people are using?

Install only packages that aren't already installed

Currently pac install seems to unpack and install all packages, regardless of whether they are already installed. I think that pac should optionally only install new or different packages, as judged by the version in the package.json.

NPM and bower conflict

I have a project that use npm for node dependencies and bower dependencies. I am trying to to pac both dependencies, but they get mixed.

I would be nice to have the dependencies in different folders, for example

.modules
   npm
   bower

I think it's related with #8

npm 3.0

npm 3.0's new flatter node_modules directory means pac will no longer work as intended.

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.