davidmarkclements / cute-stack

Cute up your stack traces in Node
82 stars 6 forks source link

Doesn't install on windows #14

Closed laggingreflex closed 7 years ago

laggingreflex commented 7 years ago

Getting this error installing on Windows 10 npm v3 node v7

> npm i cute-stack

> cute-stack@1.4.2 postinstall C:\error-test\node_modules\cute-stack
> node -e '/* install setflags on 0.10 and 0.12 */ !+process.versions.node[0] && require("child_process").spawn("npm", ["i", "setflags"], {stdio: "inherit"})'

[eval]:1
'/*
^^^
SyntaxError: Invalid or unexpected token
    at Object.exports.runInThisContext (vm.js:76:16)
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (module.js:573:32)
    at bootstrap_node.js:345:29
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Installs fine with Ubuntu bash so guessing it's only on Windows