{"action":"opened","issue":{"url":"https://api.github.com/repos/substack/node-browserify/issues/1085","labels_url":"https://api.github.com/repos/substack/node-browserify/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/substack/node-browserify/issues/1085/comments","events_url":"https://api.github.com/repos/substack/node-browserify/issues/1085/events","html_url":"https://github.com/substack/node-browserify/issues/1085","id":55183345,"number":1085,"title":"npm required modules not found on windows","user":{"login":"mjw56","id":161528,"avatar_url":"https://avatars.githubusercontent.com/u/161528?v=3","gravatar_id":"","url":"https://api.github.com/users/mjw56","html_url":"https://github.com/mjw56","followers_url":"https://api.github.com/users/mjw56/followers","following_url":"https://api.github.com/users/mjw56/following{/other_user}","gists_url":"https://api.github.com/users/mjw56/gists{/gist_id}","starred_url":"https://api.github.com/users/mjw56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjw56/subscriptions","organizations_url":"https://api.github.com/users/mjw56/orgs","repos_url":"https://api.github.com/users/mjw56/repos","events_url":"https://api.github.com/users/mjw56/events{/privacy}","received_events_url":"https://api.github.com/users/mjw56/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-22T17:30:44Z","updated_at":"2015-01-22T17:30:44Z","closed_at":null,"body":"Hi all,\r\n\r\nI am trying to bundle a simple typescript file with two npm requires using browserify w/ tsify plugin. Any help is appreciated..\r\n\r\nIt successfully compiles the typescript, so I don't think there is an issue there. However, I see that it can't find the node_modules modules. I have browserify installed globally and the two require modules are installed on same level in node_modules from where I am running gulp file. Here is the simple typescript file and the gulp file I am trying to compile with:\r\n\r\n```javascript\r\n/// <reference path='../../typings/node/node.d.ts' />\r\n/// <reference path='../../typings/q/Q.d.ts' />\r\n/// <reference path='../../typings/request/request.d.ts' />\r\n\r\nimport Q = require('q');\r\nimport request = require('request');\r\n\r\n\r\ninterface IWebAPI {\r\n    getData(): any;\r\n}\r\n\r\nexport class WebAPI {\r\n\r\n\r\n    constructor() {\r\n\r\n    }\r\n\r\n    getData() {\r\n        \r\n    }\r\n\r\n}\r\n```\r\n\r\n```javascript\r\n'use strict';\r\n\r\nvar browserify = require('browserify');\r\nvar gulp = require('gulp');\r\nvar source = require('vinyl-source-stream');\r\nvar buffer = require('vinyl-buffer');\r\nvar sourcemaps = require('gulp-sourcemaps');\r\nvar tsify = require('tsify');\r\n\r\n\r\ngulp.task('javascript', function () {\r\n\r\n    var bundler = browserify();\r\n\r\n    bundler.add([\r\n        './src/utils/web-api-utils.ts'\r\n    ])\r\n    .plugin('tsify', { noImplicitAny: false });\r\n\r\n    return rebundle();\r\n\r\n    function rebundle() {\r\n        return bundler.bundle()\r\n\t\t\t.pipe(source('bundle.js'))\r\n\t\t\t.pipe(buffer())\r\n\t\t\t.pipe(gulp.dest('.'));\r\n    }\r\n});\r\n```"}}