Open jiku opened 8 years ago
With updated wallaby_server.js
Error: Command failed: meteor node -e "process.stdout.write(process.execPath)"
/usr/local/bin/meteor: line 29: HOME: unbound variable
at checkExecSyncError (child_process.js:464:13)
at Object.execSync (child_process.js:504:13)
at Object.<anonymous> (.../app/wallaby_server.js:18:4)
What happens when you run meteor node -e "process.stdout.write(process.execPath)"
from your command line? Which OS are you using?
I get the following path, so I've just hardcoded it in and that seems to work.
var nodePath = "/Users/jiku.dev/.meteor/packages/meteor-
tool/.1.3.2_4.1bnwswu++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
I'm on OS X 10.11.4. Now having ReferenceError: Meteor is not defined
but not sure that's related. Tests for stuff that doesn't rely on Meteor pass.
For me. The latest version still has ReferenceError: Can't find variable: process
. But the wallaby_server.js
issue appears to have been sold.
For the ReferenceError
changing the line:
"NODE_ENV": process.env.NODE_ENV || "development"
to just:
"NODE_ENV": "development"
Solves it and gets it running. validation-spec.js
then fails but that's just a matter of adding:
import _ from 'underscore';
npm start
seems fine (with(out) MIRROR=1).With
wallaby_client.js
(many of the last one, referring to Package.meteor., Package.mongo., etc.)
and with
wallaby_server.js
npm run karma
seems fine too (23/23).This is following the README instructions with a fresh repo. Atom 1.7.2, Wallaby 1.0.7. nvm current is v0.10.40.