packages.json:
{...,"youtube-node":"1.3.0",...} (also fails with "googleapis":"2.7.0"),
app.browserify.js:
YouTube = require("youtube-node")
(or correspondingly Google = require("googleapis")),
my project hangs on the Building for web.browser phase. It's strange, because I can add the lines to packages.json with no consequence, but as soon as I try and require the global variables in app.browserify.js, the build fails.
Hello,
When I add these lines:
packages.json
:{...,"youtube-node":"1.3.0",...}
(also fails with"googleapis":"2.7.0"
),app.browserify.js
:YouTube = require("youtube-node")
(or correspondinglyGoogle = require("googleapis")
),my project hangs on the
Building for web.browser
phase. It's strange, because I can add the lines topackages.json
with no consequence, but as soon as I try and require the global variables inapp.browserify.js
, the build fails.Thoughts? Other ways to get around this?