Comments (13)
closing until I get a response 📻
from ember-tools.
I get the same error. Node v0.8.20 on Windows x64.
from ember-tools.
I haven't tested any of this in windows, does jsdom work on windows?
Also sorry for closing earlier, I was on my phone thinking I was closing something else 😦
from ember-tools.
I've tracked it down to an issue with contextify (dependency of jsdom). jsdom does work on Windows, but apparently one hast to jump through some hoops to get it going. The easiest workaround for me right now is firing up a Linux VM. Thx.
from ember-tools.
on windows you need install visual studio 2010 for compile contextify dependency
from ember-tools.
@zetahernandez does installing visual studio 2010 fix your problem?
from ember-tools.
Haven't heard back for a couple of weeks, please reopen if VS 2010 doesn't do the trick 💊
from ember-tools.
I can confim that "build" doesn't work on windows.
Can someone explain the problem?
from ember-tools.
I had the same error, than i think solved it by properly installing JSDom on Windows (folowing: http://www.steveworkman.com/node-js/2012/installing-jsdom-on-windows/), reinstalling npm, and ember-tools.
Than I get into another problem, but not sure if it's related or not:
$ ember build
created: js/templates.js
created: js/index.js
'c:\Users\nipe\AppData\Roaming\npm\node_modules\ember-tools\src\commands/../../n
ode_modules/browserbuild/bin/browserbuild' is not recognized as an internal or e
xternal command,
operable program or batch file.
c:\Users\nipe\AppData\Roaming\npm\node_modules\ember-tools\src\commands\build.js
:53
if (error) throw new Error(error);
^
Error: Error: Command failed: 'c:\Users\nipe\AppData\Roaming\npm\node_modules\em
ber-tools\src\commands/../../node_modules/browserbuild/bin/browserbuild' is not
recognized as an internal or external command,
operable program or batch file.
at c:\Users\nipe\AppData\Roaming\npm\node_modules\ember-tools\src\commands\b
uild.js:53:22
at ChildProcess.exithandler (child_process.js:606:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:700:16)
at Socket.<anonymous> (child_process.js:913:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:436:12)
from ember-tools.
I think there's a way to precompile templates now w/o having to make a dom, @wycats, am I mistaken?
from ember-tools.
I get this error on Mac OSX 10.6.8 following the quickstart guide.
As others have reported, it seems that the contextify dependency wasn't satisfied when installing ember-tools.
from ember-tools.
Just like ni5ni6 commented, i have a simular problem:
C:\dev\proj\meow>ember build
created: js/templates.js
created: js/index.js
created: js/application.js
'C:\Users\Erik\AppData\Roaming\npm\node_modules\ember-tools\src\commands/../../n
ode_modules/browserbuild/bin/browserbuild' is not recognized as an internal or e
xternal command,
operable program or batch file.
C:\Users\Erik\AppData\Roaming\npm\node_modules\ember-tools\src\commands\build.js
:55
if (error) throw new Error(error);
^
Error: Error: Command failed: 'C:\Users\Erik\AppData\Roaming\npm\node_modules\em
ber-tools\src\commands/../../node_modules/browserbuild/bin/browserbuild' is not
recognized as an internal or external command,
operable program or batch file.
at C:\Users\Erik\AppData\Roaming\npm\node_modules\ember-tools\src\commands\b
uild.js:55:22
at ChildProcess.exithandler (child_process.js:609:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:703:16)
at Process.ChildProcess._handle.onexit (child_process.js:770:5)
from ember-tools.
Hi, I'm getting the same error on OS X 10.8.3, when trying to precompile templates:
Command: ember precompile -d ~/Desktop/before -f ~/Desktop/after/index.js
Error:
/usr/local/lib/node_modules/ember-tools/node_modules/jsdom/lib/jsdom.js:178
features = JSON.parse(JSON.stringify(window.document.implementation._fea
^
TypeError: Cannot read property 'implementation' of undefined
at exports.env.exports.jsdom.env.processHTML (/usr/local/lib/node_modules/ember-tools/node_modules/jsdom/lib/jsdom.js:178:59)
at Object.exports.env.exports.jsdom.env (/usr/local/lib/node_modules/ember-tools/node_modules/jsdom/lib/jsdom.js:269:5)
at precompile (/usr/local/lib/node_modules/ember-tools/src/util/precompile.js:23:9)
at module.exports (/usr/local/lib/node_modules/ember-tools/src/util/precompile.js:10:5)
at Walker.<anonymous> (/usr/local/lib/node_modules/ember-tools/src/util/precompile.js:57:5)
at Walker.EventEmitter.emit (events.js:93:17)
at Walker._wNext (/usr/local/lib/node_modules/ember-tools/node_modules/walk/walk.js:212:8)
at Walker._wNext (/usr/local/lib/node_modules/ember-tools/node_modules/walk/walk.js:210:19)
at Walker._wOnEmitDone (/usr/local/lib/node_modules/ember-tools/node_modules/walk/walk.js:109:8)
at nextWhenReady (/usr/local/lib/node_modules/ember-tools/node_modules/walk/node-type-emitter.js:69:29)
node v0.8.18
npm v1.2.2
Ember tools v0.1.1
from ember-tools.
Related Issues (20)
- Can't seem to include custom views HOT 1
- Template not bound to view when generated in subfolder HOT 1
- How do use mixins in models
- Use Handlebars runtime-only version
- Boolean data type should render checkbox
- How to set destination for templates.js and index.js?
- Ability to customize config/app.js and config/routes.js path? HOT 2
- NodeJS app
- install fail on nodejs v0.11.11
- Build fails when jquery.cookie is added to app.js
- ember-tools should ignore .svn/ directories HOT 1
- Install fails on node v0.10.28
- Can't build application. HOT 2
- Install fails on windows 8 x64 HOT 2
- Install fails on node v0.12.0 HOT 1
- Can you offer some guidance on where to put global patches?
- ember build -w not rebuilding project HOT 2
- installing ember tools on vagrant HOT 1
- Problems with latest ember-data 1.0.0-BETA.3 HOT 11
- Default build places Model declaration after Route causing: “Object has no method 'eachTransformedAttribute'” HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-tools.