Skip to content

browserify not working #166

@DickvdBrink

Description

@DickvdBrink

Browserify isn't working after a checkout and npm install
I did a npm install after the checkout but I didn't want to install all the modules globally (see error below).

C:\Users\DvdBrink\Desktop\source\typescript-github>jake browserify
'browserify' is not recognized as an internal or external command,
jake aborted.
TypeError: Uncaught, unspecified "error" event.
    at TypeError (<anonymous>)

In my case I fixed it with by adding this to my Jakefile
process.env.path = path.resolve("./node_modules/.bin/") + path.delimiter + process.env.path;
note: I really don't want to install global modules when possible, the above might not be the best fix ever though ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions