Open cameroncan opened 9 years ago
Another note that may or may not help. I do see this in the npm install:
[INFO] C:\dev\code\modules\translation\target-grunt\node_modules\grunt-tdd\node_modules\buster-test\node_modules\jsdom\node_modules\contextify>if not defined npm_config_node_gyp (node "C:\dev\code\modules\translation\target-grunt\node\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (rebuild)
[INFO] gyp ERR! configure error
[INFO] gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
[INFO] gyp ERR! stack at failNoPython (C:\dev\code\modules\translation\target-grunt\node\npm\node_modules\node-gyp\lib\configure.js:103:14)
[INFO] gyp ERR! stack at C:\dev\code\modules\translation\target-grunt\node\npm\node_modules\node-gyp\lib\configure.js:64:11
[INFO] gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15)
[INFO] gyp ERR! System Windows_NT 6.1.7601
[INFO] gyp ERR! command "node" "C:\\dev\\code\\modules\\translation\\target-grunt\\node\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
[INFO] gyp ERR! cwd C:\dev\code\modules\translation\target-grunt\node_modules\grunt-tdd\node_modules\buster-test\node_modules\jsdom\node_modules\contextify
[INFO] gyp ERR! node -v v0.12.0
[INFO] gyp ERR! node-gyp -v v1.0.3
[INFO] gyp ERR! not ok
[INFO] npm WARN optional dep failed, continuing jsdom@0.10.6
[INFO] grunt-npm@0.0.2 node_modules\grunt-npm
Hi @cameroncan,
So sorry for late reply, I have been fighting off a flue that last couple of weeks!
Could you try installing python on your machine? I am not sure about the dependencies beyond the NPM modules, but it I have python on my MAC.
I am getting the error: Fatal error: Cannot call method 'createPage' of undefined
I can't tell if it is related to #2 or not. I have a maven project and I am running grunt outside of where my source files are. This is the only significant difference I can tell from your examples here and on the main page.
gruntFile.js
Config:
Output:
I do need files specified in the libs property, but I was concerned that wildcards were causing the issue. This is my full use case:
Output:
When running the tdd task (grunt tdd) with the verbose flag on I see this, which makes me think the error is with the '..' in the path. The first case (where the path is watched) is correct, however, when the page tries to load the files, the '..' are missing and unaccounted for.
Any ideas on what could be causing this? I haven't been able to get it up and running yet.