jmpressjs / jmpress.js

A jQuery plugin to build a website on the infinite canvas
http://jmpressjs.github.com/jmpress.js
1.5k stars 237 forks source link

wont statup #94

Closed oceatoon closed 11 years ago

oceatoon commented 11 years ago

Hi I just dump your repo to test it in FF, windows in Firebug I get TypeError: $(...).jmpress is not a function [Stopper sur une erreur]

$("#jmpress").jmpress('demo');

sokra commented 11 years ago

Have you compiled it? http://jmpressjs.github.com/docs/contribute.html

> npm install grunt -g
...
> git clone https://github.com/jmpressjs/jmpress.js.git
...
> cd jmpress.js
> npm install
... (on windows don't care for failing jquery)
> grunt

@shama How to build the "dev" branch...?

oceatoon commented 11 years ago

hmm strange

jsdom@0.1.20 install X:\X_Dev\playground\play\presentations\jmpress\node_modules\jquery\node_modul es\jsdom node-waf clean ; node-waf configure build

'node-waf' is not recognized as an internal or external command, operable program or batch file. npm ERR! jsdom@0.1.20 install: node-waf clean ; node-waf configure build npm ERR! cmd "/c" "node-waf clean ; node-waf configure build" failed with 1 npm ERR! npm ERR! Failed at the jsdom@0.1.20 install script. npm ERR! This is most likely a problem with the jsdom package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-waf clean ; node-waf configure build npm ERR! You can get their info via: npm ERR! npm owner ls jsdom npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\n pm\bin\npm-cli.js" "install" npm ERR! cwd X:\X_Dev\playground\play\presentations\jmpress npm ERR! node -v v0.8.14 npm ERR! npm -v 1.1.65 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! X:\X_Dev\playground\play\presentations\jmpress\npm-debug.log npm ERR! not ok code 0

any idea ?

maybe it would be a good paragraph to add to the home page 'INSTALL' at first glimpse people tend to grab and test , if no install pre-requisites then we jump in Cheers Good Work

sokra commented 11 years ago

this is the jquery dependency. You can ignore it, or remove it from the package.json. (It's removed in a newer version)

sokra commented 11 years ago

Hopfully the next version will be easier to build.... ;)

oceatoon commented 11 years ago

I guess it's not in git yet :)

sokra commented 11 years ago

It is, we work in a "dev" branch and the "master" branch is the lasted stable version...

We want to change it with the next release and make the "master" branch the working branch...

You may checkout the "dev" branch to get the most up-to-date version, but I have problems building it, @shama updated it to grunt@0.4... hope he'll fix this or give a hint how to build it, but he may be currently asleep ;)

The building is just a concationation of the components in src/components. You may also build it with http://jmpressjs.github.com/customize/ by cloning it and updating the jmpress.js submodule...

shama commented 11 years ago

I'll update the build instructions. Grunt v0.4 hasn't been released yet so it's been a bit of a moving target because I upgraded too early :) It's feature locked now so this shouldn't happen again for a long time.

shama commented 11 years ago

Updated the docs a bit: http://jmpressjs.github.com/docs/contribute.html Please reopen if there is still a problem. Thanks!