خرید بک لینک

I'm trying to run a test-run with Brunch using Nitrous as the container for dependencies, I'm using the node package manager to install it via

Code:

npm install -g brunch
My brunch-config.js looks good, here's the content of my brunch-config file, I opted for JavaScript instead of CoffeeScript

Code:

 module.exports = {
  files: {
    javascripts: {joinTo: 'app.js'},
    stylesheets: {joinTo: 'app.css'},
  },

  server: {
   hostname: '0.0.0.0',
   port: '3000'
  }
};
So I want to run the application on port 3000 obviously, but when I run

Code:

brunch build
I get the following error output

Code:

01 Jul 05:56:40 - error: config.server.port: expected: number, got: string (3000)
01 Jul 05:56:40 - error: Initialization error -  config is not valid
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
This is also true when I run

Code:

brunch build --production
I have browsed around GitHub, the official documentation for Brunch - but yet to find a solution, this isn't a container issue either (I thought it might be) but tried to run it on a local machine - same thing. Any support would be highly appreciated.

برچسب: نویسنده: استخدام کار تاريخ: جمعه 11 تير 1395 ساعت: 15:00

صفحه بندی