Questions tagged [contextify]

19 questions
15
votes
3 answers

How do I get node-gyp to work on Windows 7 platform

My attempts to use node-gyp on a Windows 7 + Node.js platform have failed [3] when attempting to compile the standard "Hello World" example [2]. Note: node-gyp is failing in a similar manner [3] when attempting npm install contextify w or w/o the…
user3208880
  • 151
  • 1
  • 1
  • 4
13
votes
3 answers

Error installing contextify- node-gyp rebuild failed

Edit I upgraded node and ran "npm install -g contextify" It looks like it installed fine (no errors), but typing in "which contextify" returns nothing. Message while installing contextify: npm http GET https://registry.npmjs.org/contextify npm http…
ukejoe
  • 737
  • 2
  • 9
  • 20
9
votes
3 answers

npm install persistent error ? (node-gyp build ?)

I try to install jsdom such: $ sudo npm install -g jsdom # OR $ sudo npm install jsdom After some successfull command, the install quickly fails, with the first error message being after the [....] : $ sudo npm install jsdom npm http GET…
Hugolpz
  • 17,296
  • 26
  • 100
  • 187
7
votes
3 answers

Node.js jsdom error

I am trying to get jsdom to work :) Here's the code: var jsdom = require("jsdom"); var request = require("request"); var fs = require('fs'); var jquery = fs.readFileSync("./jquery-1.7.2.js", 'utf-8'); request({ uri:'http://nodejs.org/dist/' },…
pour toi
  • 1,026
  • 2
  • 13
  • 25
5
votes
3 answers

Installing NodeJS contextify package yields an error

I am 1 hour into NodeJS, so bear with me. One of the packages my project requires is JSDom. After prodding much of the Internet I found that JSDOm has a dependency called contextify, which is somehow handled within the JSDom installation in itself.…
Parijat Kalia
  • 4,929
  • 10
  • 50
  • 77
3
votes
6 answers

Windows 8 : `node-gyp rebuild` Exit status 1 installing contextify as dependency of zombie

I'm trying to install zombie js, and get this error: > contextify@0.1.8 install C:\Users\User\Documents\ArbeitPhilipp\clieman\billing\node_modules\zombie\node_modules\jsdom\node_modules\contextify > node-gyp rebuild Das System kann den angegebenen…
y_bobkova
  • 33
  • 1
  • 4
2
votes
1 answer

Cross-compile Node.js contextify for ARM

I'm trying to cross-compile the node.js module contextify (as part of jsdom) for ARM platform on my 64bit Fedora installation. However, I seem unable to build for any other platform than the one I'm running on. I've tried different ways such as…
André
  • 2,101
  • 20
  • 23
2
votes
1 answer

Node.js Fibers and code scheduled with setTimeout leads to crash

I am using Fibers to solve a problem regarding how to yield control to the event loop in node.js, pausing the execution of some synchronous code. This works well, mostly, but I encountered a strange crashing but, and I am not able to find the reason…
Joachim Kurz
  • 2,875
  • 6
  • 23
  • 43
1
vote
0 answers

Npm install fails on contextify / node-gyp?

I ran an npm install but is crash on contextify or node-gyp. Terminal error (full content): yug@.../make-modules-d$ npm install > contextify@0.1.15 install…
Hugolpz
  • 17,296
  • 26
  • 100
  • 187
1
vote
1 answer

JSDom on Azure (Native Node.js modules)

I'm having trouble getting a nodejs app which relies on JSDom to work on Azure due to it depending on a native module - Contextify, I understand Azure does not provide compilation for native modules. However according to Azure documentation Since…
Eriedor
  • 391
  • 2
  • 13
1
vote
1 answer

node.js: problems with jsdom - jQuery object returns undefined

I am interested in doing some server-side DOM manipulations for one of projects, so I decided to take a look at node.js, and at jsdom in particular. I'm completely new to node.js, so probably my mistakes are obvious, but never the less i couldn't…
dr3w
  • 976
  • 2
  • 12
  • 21
0
votes
1 answer

node-gyp and contextify - The builds tools for v140 (Platform Toolset = 'v140') cannot be found

I have a project that depends on d3 version 3.5.3 and that depends on contextify. When that's running through node-gyp it's blowing up. Generally I've been able to fix this by specifying the msvs_version=2015, but that didn't work. So, I performed…
Mike Perrenoud
  • 66,820
  • 29
  • 157
  • 232
0
votes
2 answers

Unable to install contextify

I am trying to installed contextify globally. npm install -g contextify System Details: Node Version - 5.2.0 NPM Version - 3.5.2 System - CentOS release 6.7 (Final) Error I get when trying to install contextify: make: ***…
yashdosi
  • 1,186
  • 1
  • 18
  • 40
0
votes
1 answer

spawn ENOENT error installing Zombie.js @contextify node-gyp rebuild Mac

I'm trying to install Zombie.js on mac osx 10.9.5: npm install zombie --save-dev and am getting this error as a result: Zacks-MacBook-Air:zackfischmann zackfischmann$ npm install zombie --save-dev > ws@0.4.32 install…
zfisch
  • 21
  • 7
0
votes
1 answer

Contextify : How to catch async errors

I need to run unsafe JS script in node and be able to recover from errors. The script can use async functions so I use contextify instead of node built in VM module. The problem is that errors in async code in the script crash the node…
Rémy DAVID
  • 4,343
  • 6
  • 25
  • 27
1
2