Giter Site home page Giter Site logo

wildhoney / snapshot.js Goto Github PK

View Code? Open in Web Editor NEW
202.0 14.0 12.0 1.2 MB

Node.js app for slicing and dicing ~100,000 models in <5ms with easy sorting, paginating, and filtering.

Home Page: http://node-snapshot.herokuapp.com/

JavaScript 84.35% CSS 0.57% Ruby 5.41% HTML 7.60% Gherkin 2.07%

snapshot.js's Issues

Trouble with npm install

npm 3.5.2

ENOTEMPTY: directory not empty, rename '/Users/neverfox/Repos/my-repo/node_modules/node-
snapshot' -> '/Users/neverfox/Repos/my-repo/node_modules/.node-snapshot.DELETE'

This is with a clean node_modules. No such directory existed prior to install. I wonder if it has to do with this:

"preinstall": "npm install --ignore-scripts",
"postinstall": "bower install; grunt build:production"

I don't usually see npm scripts calling for more installs, since NPM handles pulling in dependencies, and the library is already built in this dist folder. Furthermore, the client side bower dependencies probably shouldn't be installed as part of postinstall. Thoughts? I could be just misunderstanding what's going on there because I couldn't find any documentation on --ignore-scripts.

Windowing instead of pagination

I was hoping to be able to implement lazy-loading scrolling instead of pagination using Snapshot.js, but it appears to be limited to that paradigm, possibly for good reasons. But is it currently possible to do that or would that be an enhancement that would have to be developed? I would think that if it could accept something like startingIndex instead of pageNumber, it could work.

Cannot install via npm

Hi,

I am trying your magento-on-angular idea and got this problem while executing npm install
I also tried to install node-snapshot 0.4.6 but still receive the same error.
Would you mind taking a look, please?

Thanks in advance,

-Krist

Here is npm-debug.log

1305 info preinstall [email protected]
1306 verbose unsafe-perm in lifecycle true
1307 info [email protected] Failed to exec preinstall script
1308 info /Users/kristw/workspace/printnista_moa/node_modules/node-snapshot unbuild
1309 info preuninstall [email protected]
1310 info uninstall [email protected]
1311 verbose true,/Users/kristw/workspace/printnista_moa/node_modules,/Users/kristw/workspace/printnista_moa/node_modules unbuild [email protected]
1312 info postuninstall [email protected]
1313 error [email protected] preinstall: `npm install --ignore-scripts`
1313 error Exit status 1
1314 error Failed at the [email protected] preinstall script.
1314 error This is most likely a problem with the node-snapshot package,
1314 error not with npm itself.
1314 error Tell the author that this fails on your system:
1314 error     npm install --ignore-scripts
1314 error You can get their info via:
1314 error     npm owner ls node-snapshot
1314 error There is likely additional logging output above.
1315 error System Darwin 13.3.0
1316 error command "/usr/local/Cellar/node/0.10.22/bin/node" "/usr/local/bin/npm" "install" "--ignore-scripts"
1317 error cwd /Users/kristw/workspace/printnista_moa
1318 error node -v v0.10.22
1319 error npm -v 1.3.14
1320 error code ELIFECYCLE
1321 verbose exit [ 1, true ]

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.