charlesjolley / node-ember Goto Github PK
View Code? Open in Web Editor NEWNPM-friendly package for Ember.JS
NPM-friendly package for Ember.JS
I was trying to bump the version to the latest ember/data and I am running into this issue on my app and the example app:
/Users/warner/code/projects/node-ember/node_modules/handlebars/lib/handlebars/compiler/compiler.js:1147
.replace(//g, '\')
^
TypeError: Cannot call method 'replace' of undefined
at Object.JavaScriptCompiler.quotedString (/Users/warner/code/projects/node-ember/node_modules/handlebars/lib/handlebars/compiler/compiler.js:1147:8)
at Object.JavaScriptCompiler.setupHelper (/Users/warner/code/projects/node-ember/node_modules/handlebars/lib/handlebars/compiler/compiler.js:1164:61)
at Object.JavaScriptCompiler.invokeHelper (/Users/warner/code/projects/node-ember/node_modules/handlebars/lib/handlebars/compiler/compiler.js:869:41)
at Object.JavaScriptCompiler.compile (/Users/warner/code/projects/node-ember/node_modules/handlebars/lib/handlebars/compiler/compiler.js:490:29)
at Object.JavaScriptCompiler.compileChildren (/Users/warner/code/projects/node-ember/node_modules/handlebars/lib/handlebars/compiler/compiler.js:982:49)
at Object.JavaScriptCompiler.compile (/Users/warner/code/projects/node-ember/node_modules/handlebars/lib/handlebars/compiler/compiler.js:478:10)
at Object.Ember.Handlebars.compile (/Users/warner/code/projects/node-ember/handlebars.js:171:66)
at Ember.Handlebars.bootstrap.selectors (/Users/warner/code/projects/node-ember/handlebars.js:3261:37)
at Object. (/Users/warner/code/projects/node-ember/handlebars.js:3521:3)
at Module._compile (module.js:456:26)
Not having any luck in tracking it down so far.
This may already be possible, but if not: could you make it possible to toggle between the configuration of the ember.js debug build (which has console logging and assertions and stuff) and the production build?
Hello,
is it also possible to render Ember Templates (Handlebars) on the server side?
Best Regards
Marc
Any plans to continue to support this repo or possibly add this ability directly to Ember core so two projects don't need to be maintained?
I can't figure out why "if" and "unless" helpers doesn't work. I require whole ember module in JS. Are they included in module?
Would be real nice if the NPM package can reflect the latest version of Ember. Any chance that'll be happening soon?
node_modules/ember/rsvp.js:215
})(window.RSVP = {});
^
ReferenceError: window is not defined
at .../node_modules/ember/rsvp.js:215:5
at Object. (.../node_modules/ember/rsvp.js:217:3)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
I have been trying to implement my own scaffold app node + ember app based on the Contacts example.
The thing is I am using a different directory structure and with coffeescript, so I need to understand where this line comes from and what it means:
https://github.com/charlesjolley/node-ember/blob/master/examples/contacts/app/index.html#L11
<script>require('contacts/app/main')</script>
Where comes the "contacts" namespace from? Is contacts/app/main the main.js in the example app? If so, how would you link to it if it was a coffeescript file? If it is the same file, why is it linked in the convoy definition and then referenced in the index.html file?
Thanks in advance!
$ npm install ember
gypgyp ERR!ERR! stackstack Error: Can't find Python executable "python", you can s et Error: Can't find Python executable "python", you can set the PYTHON env variable
I wonder if this is related?
npm WARN engine [email protected]: wanted: {"node":"0.6"} (current: {"node":"v0.8.16","np
m":"1.1.69"})
Here's more info:
npm http 200 https://registry.npmjs.org/bindings/-/bindings-1.0.0.tgz
> [email protected] install c:\Users\jcollum\Dev\app\node_modules\ember\no
de_modules\window\node_modules\jsdom\node_modules\contextify
> node-gyp rebuild
> [email protected] install c:\Users\jcollum\Dev\app\node_modules\ember\no
de_modules\jquery\node_modules\jsdom\node_modules\contextify
> node-gyp rebuild
c:\Users\jcollum\Dev\app\node_modules\ember\node_modules\window\node_modu
les\jsdom\node_modules\contextify>node "c:\Program Files\nodejs\node_modules\npm\bin
\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
c:\Users\jcollum\Dev\app\node_modules\ember\node_modules\jquery\node_modu
les\jsdom\node_modules\contextify>node "c:\Program Files\nodejs\node_modules\npm\bin
\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gypgyp ERR!ERR! configure errorconfigure error
gypgyp ERR!ERR! stackstack Error: Can't find Python executable "python", you can s
et Error: Can't find Python executable "python", you can set the PYTHON env variable
ERR!PYTHON gypenv v ariable.
gyp stackERR! at failNoPython (c:\Program Files\nodejs\node_modules\npm\node_mo
dules\no de-gyp\lib\confstackigure at failNoPython (c:\Program Files\nodejs\node
nm.ojdsu:l1e1s2\:n1p4m)\
ode_modulegyps\nod e-gyp\lib\configERR!ure.js :112:14)stack
at c:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure
.js:81:gyp11
gypERR! stackERR! at c:\Program Files\nodejs\node_modules\npm\node_modules\nod
ig gyp\libstack\conf at Object.oncomplete (fs.js:297:15) `
Are you relying on the end user to have Python in their PATH?
Hi, may I humbly ask for a version bump to RC2?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.