Code Monkey home page Code Monkey logo

node-webkit-hipster-seed's People

Contributors

akovalyov avatar anonyfox avatar bryant1410 avatar nefiltari avatar pakdev 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  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

node-webkit-hipster-seed's Issues

replace deprecated grunt-node-webkit-builder

I get the following errors/warnings when I tried the first command from the readme:
brunch new https://github.com/Anonyfox/node-webkit-hipster-seed MyApp

05 Sep 08:28:12 - error: Error: npm WARN deprecated [email protected]: WARNING: This module has been renamed to grunt-nw-builder. Install using grunt-nw-builder instead, grunt-node-webkit-builder will no longer be updated.
npm WARN engine [email protected]: wanted: {"node":"~0.6.10 || 0.8 || 0.9 || 0.10"} (current: {"node":"0.12.2","npm":"2.7.5"})
bower                                   ECONFLICT Unable to find suitable version for angular
npm WARN deprecated [email protected]: WARNING: This module has been renamed to nw-builder. Install using nw-builder instead, node-webkit-builder will no longer be updated.
npm WARN engine [email protected]: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"0.12.2","npm":"2.7.5"})

npm run compiler

When using npm run compiler it does not close or kill task once it is completed. This causes issues with certain plugin in IDE's where you can set the shortcuts and speed up compiling and running. Is there a fix for this.

Change folder architecture

Hi,

As my app got bigger and bigger I wanted to change the folder architecture using the following scaffholding:

src
|----app
|-------feature1
|----------feature.controller.js
|----------feature.spec.js
|----------feature.styl
|----------feature.tpl.jade
|-------feature2
|----------feature.controller.js
|----------feature.spec.js
|----------feature.styl
|----------feature.tpl.jade
.........
|----assets
|----common
|----styl
index.jade

This got me a lot of trouble:

  • first renaming 'app' to 'src':
    Changing the folder name in config.coffee doesn't seem to be enough to ensure the build, maybe I don't get how brunch works but is there another file I need to change?

  • second, putting all my jade templates into each features folder:
    What is the correct approach to do this? I am not sure I get this part in config.coffee:

      ```joinTo:
        ```'js/dontUseMe' : /^app/ # dirty hack for Jade compiling.
    

Many thanks for the help

application crash: native modules

I've been using node canvas module on my application and it crashes on Windows 7 x64. Digging further I've realized the problem is related to native modules. Any help on this ?

Out-of-the-Box Data Storage

That's a task with high priority and incredible important for developers. Planned database types:

  • "simple" => thin wrapper over localStorage of Chromium
  • "keyvalue" => wrapper over Chromium's IndexedDB
  • "relational" => simplify usage of "Web SQL Database" which basically is sqlite
  • "document" => embed MongoDB's little brother, NeDB
  • "triple" => leverage LevelGraph which kind of buiilds on IndexedDb

With the exception of the leightweight NeDB, all the technology is already built-in. There is just some work to do to improve the ease of use.

Should nodewebkit be installed globally /

Should nodewebkit also be installed globally for the app to run ?

here is the log

h:\hipster>npm run app

> [email protected] app h:\hipster
> nodewebkit _public

'nodewebkit' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! weird error 1
npm ERR! not ok code 0

Errors on "npm run install"

node 0.10.22 installed
hipster brunched
on Mac-OS Mavericks
testing the example code without any edit

When I do 'npm run install' it return the next:

[email protected] app /Users/xxxx/xxxx
nodewebkit _public

2014-04-04 12:32:25.605 node-webkit[2048:507] Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650
[2048:0404/123225:WARNING:shell_main_delegate.cc(194)] es-ES.pak file not found.
2014-04-04 12:32:25.939 node-webkit Helper[2049:507] Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650
[2049:0404/123225:WARNING:shell_main_delegate.cc(194)] es-ES.pak file not found.
2014-04-04 12:32:26.148 node-webkit Helper[2050:507] Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650
[2050:0404/123226:WARNING:shell_main_delegate.cc(194)] es-ES.pak file not found.

..And when I do 'npm run deploy' the progress is blocked on 79%:

Running "nodewebkit:src" (nodewebkit) task
Downloading: http://dl.node-webkit.org/v0.8.3/node-webkit-v0.8.3-win-ia32.zip
Downloading: http://dl.node-webkit.org/v0.8.3/node-webkit-v0.8.3-osx-ia32.zip
Downloading: http://dl.node-webkit.org/v0.8.3/node-webkit-v0.8.3-linux-ia32.tar.gz
Downloading: http://dl.node-webkit.org/v0.8.3/node-webkit-v0.8.3-linux-x64.tar.gz
Unzipping: /Users/gangr3na/revolicohipster/revolicohipster/dist/cache/win/0.8.3/node-webkit-v0.8.3-win-ia32.zip
Unzipping: /Users/gangr3na/revolicohipster/revolicohipster/dist/cache/mac/0.8.3/node-webkit-v0.8.3-osx-ia32.zip
#################################################- 97%

Tnx!

There doesn't seem to be any source maps for easily debugging CoffeeScript or compressed JavaScript

This looks really promising. However, I'm used to being able to debug code in my Chrome debugger. But with AngularJS and CoffeeScript, in order to do that, source maps are a critical component. Without source maps, I'd be like the guy in #5 who would rather stick to pure JavaScript. This isn't a "comfort-zone" thing, this is a "I'm a serious developer writing a lot of code and need to be able to debug stuff" kinda thing.

brunch is supposed to be able to create source maps, and from the help section and documentation on their site, it sounds like it's supposed to do this automatically. Is this a node-webkit-seed issue, an issue with brunch, or a CoffeeScript problem?

One thing I'll say in support of JavaScript is it just plain works. These fancy tools are nice and all, until they stop working...

Brunch failed on Windows without python installed

PS D:\Github> brunch new https://github.com/Anonyfox/node-webkit-hipster-seed testapp
14 Nov 08:41:22 - log: Cloning git repo "https://github.com/Anonyfox/node-webkit-hipster-s
14 Nov 08:41:28 - log: Created skeleton directory layout
14 Nov 08:41:28 - log: Installing packages...

> [email protected] install D:\Github\testapp\node_modules\auto-reload-brunch\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)


D:\Github\testapp\node_modules\auto-reload-brunch\node_modules\ws>node "C:\Program Files\n
e-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild

> [email protected] postinstall D:\Github\testapp\node_modules\nodewebkit
> node scripts/install.js

http://dl.node-webkit.org/v0.8.6/node-webkit-v0.8.6-win-ia32.zip [|         ] 16 %
14 Nov 08:42:09 - error: Error: npm WARN optional dep failed, continuing [email protected]
npm WARN deprecated [email protected]: module has been merged into crc32-stream

Since it looks like node-gyp related, I Installed python 2.7 and then it worked.

Not sure if this is an expected behavior, If so maybe we could write python as one of the Prerequisites in readme.md

Bootstrap issue

I'm pretty new to node-webkit but I'm having a bit a problem right off the bat with bootstrap. A bunch of the styling seems to be missing. Any idea why?

screen shot 2014-11-06 at 12 07 29 am

'npm run app' fails on Windows

Followed the instructions, but my install is only partially working:

  • npm run deploy works fine (it completes successfully and the resulting binary works great)
  • npm run app fails with the following error:
E:\code\mm3
λ npm run app

> [email protected] app E:\code\mm3
> nodewebkit _public


events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:988:11)
    at Process.ChildProcess._handle.onexit (child_process.js:779:34)

npm ERR! [email protected] app: `nodewebkit _public`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] app script.
npm ERR! This is most likely a problem with the node-webkit-hipster-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     nodewebkit _public
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-webkit-hipster-seed
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "node.exe" "D:\\tools\\nodist\\bin\\node_modules\\npm\\cli.js" "run" "app"
npm ERR! cwd E:\code\mm3
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.6
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     E:\code\mm3\npm-debug.log
npm ERR! not ok code 0

I'm not sure if its related, but if I run npm run compiler I get the following output:

E:\code\mm3
λ npm run compiler

> [email protected] compiler E:\code\mm3
> brunch watch -P

13 Apr 01:03:01 - error: { [Error: Component must have "E:\code\mm3\bower_components\console-polyfill\bower.json"] code: 'NO_BOWER_JSON' }
13 Apr 01:03:01 - error: Compiling of 'app\styles\app.less' failed. '/bower_components/bootstrap-less/less/reset.less' wasn't found

I tried from powershell/gitbash/cmd, got the same result in all cases. I'm running Windows 8.1 x64

Path errors in grunt

Hi , I am on windows 7 64bit and have installed node-webkit-hipster at h:\hipster .
But when running

cd hipster
npm run compiler

It tries to find files in h:\

> [email protected] compiler h:\hipster
> brunch watch -P


Error: Current directory is not brunch application root path, as it does not con
tain package.json (Error: Cannot find module 'h:\package.json')

on isolating the issue the brunch command should be brunch watch --server for windows but that also gives me a couple of errors :

27 Jan 10:53:05 - error: { [Error: Component must have "h:\hipster\bower_compone
nts\jquery\bower.json"] code: 'NO_BOWER_JSON' }
27 Jan 10:53:05 - info: application started on http://localhost:3333/
27 Jan 10:53:06 - error: Compiling of 'app\styles\app.less' failed. '/bower_comp
onents/bootstrap-less/less/reset.less' wasn't found

Support IE

I don't understand why we need to support IE 7 and 8, if the node-webkit is built on the basis of Chromium.

In file app/index.jade line 12-15.

//if lte IE 7
  script(src='http://cdnjs.cloudflare.com/ajax/libs/json2/20110223/json2.js')
//if lte IE 8
  script(src='//html5shiv.googlecode.com/svn/trunk/html5.js')

And before this:

meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1")

Could you explain this line?)

Python support

Would it be possible to get python support added to the workflow?
There exists plenty of Python to Javascript compilers.
If not, how can I add it for myself?

PythonJS seems to be most up to date at the moment.

Bootstrap Version is Old

bower's bootstrap-less is for bootstrap v2.3.2, angular-bootstrap's newest versions are for bootstrap 3. The two can do really, really wonky things when combined. (For example, bootstrap 2.3 doesn't define any panel related css classes, as used in the accordion.)

Fortunately, bootstrap 3 is bower-based on its own now, and its only dependency (jquery) is already a dependency here.

Out of date

Thanks for this project, it was a great starting point for my own node-webkit + brunch project.

However, I found that this project is using out of date packages and code: it's not using the new NW.js (npm: nw) and auto-reload-brunch doesn't work because of the -P flag and a missing window.brunch.server = 'localhost'; line in index.html.

But what if I want to use Backbone and JavaScript instead of Angular and Coffeescript--does that make me a caveman?

tl;dr: how would I use Backbone and JavaScript instead of Angular and Coffeescript?

First, thanks for putting this project together. I've always been allured by the world of desktop apps, specifically desktop apps for OSX, but as a web developer, I've never been able to make time for learning how to write native desktop apps.

What you've presented here offers me a fantastic opportunity. And I wouldn't mind learning Angular and Coffeescript, but to be able to use the JavaScript language itself and a framework with which I am more familiar would be fantastic. I've always gravitated toward tools that offer less magic and more control.

Most specifically, I want to build a prototype of this, before it can be "Assembly-made."

https://assemblymade.com/raw-box

My wife is a photographer, and having first-hand experience with the challenge of what to do with accumulated RAW files, I'd love to take a whack at this, and sell support for the resulting software through my company Fat Panda. I have all the skills and experience to design the interface and the back-end--more JS and CSS experience than you can shake a stick at!

Your platform is the missing component.

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.