Closed bahmutov closed 8 years ago
$ NOW_AUTH=<token> node src/index.js deploying files [ '/now-pipeline/test/package.json', '/now-pipeline/test/index.js' ] { 'index.js': 'const port = process.env.PORT || 6000\nrequire(\'http\').Server((req, res) => {\n res.setHeader("Content-Type", "text/plain; charset=utf-8");\n res.end(require("sign-bunny")("Hi there!"));\n}).listen(port);\nconsole.log(\'listening on port\', port)\n', package: { name: 'now-pipeline-test', dependencies: { 'sign-bunny': '1.0.0' }, scripts: { start: 'node index.js' } } } error { err: { code: 'internal_server_error', url: 'https://zeit.co/errors/internal_server_error', message: 'An unexpected error occurred' } }
Opened https://github.com/zeit/now-issues/issues/33
Try the official Node client https://github.com/zeit/now-client
Ok, seems to work via official node api client, closing