should work now?
This commit is contained in:
2
node_modules/npm/lib/utils/lifecycle.js
generated
vendored
2
node_modules/npm/lib/utils/lifecycle.js
generated
vendored
@@ -51,7 +51,7 @@ function lifecycle (pkg, stage, wd, unsafe, failOk, cb) {
|
||||
var env = makeEnv(pkg)
|
||||
env.npm_lifecycle_event = stage
|
||||
env.npm_node_execpath = env.NODE = env.NODE || process.execPath
|
||||
env.npm_execpath = require.main.filename
|
||||
env.npm_execpath = (require.main && require.main.filename) || process.execPath
|
||||
|
||||
// "nobody" typically doesn't have permission to write to /tmp
|
||||
// even if it's never used, sh freaks out.
|
||||
|
||||
Reference in New Issue
Block a user