Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Mitigate `npm test` permission error #95

Merged
merged 3 commits into from

2 participants

@mcandre

sh node_modules/.bin/vows should work, as vows has a good shebang line. However, on Mac OS X, somehow vows is still being interpreted as a shell script:

node_modules/.bin/vows: line 4: syntax error near unexpected token `('
node_modules/.bin/vows: line 4: `var path   = require('path'),'
npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0

Fortunately, this is easily fixed by manually calling vows with node rather than sh.

@kunklejr kunklejr merged commit 0aba3b6 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 24, 2013
  1. @mcandre
Commits on Apr 28, 2013
  1. @mcandre
  2. @mcandre

    mitigate permission error

    mcandre authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  package.json
View
2  package.json
@@ -54,6 +54,6 @@
"sqlite3": "~2.1.0"
},
"scripts": {
- "test": "node_modules/.bin/vows"
+ "test": "node node_modules/.bin/vows"
}
}
Something went wrong with that request. Please try again.