FountainJS / generator-fountain-webapp

Yeoman 'fountain' generator to start a webapp
http://fountainjs.io
MIT License
967 stars 67 forks source link

SyntaxError in browser-sync #219

Open vrockai opened 6 years ago

vrockai commented 6 years ago

Description

Brand new project throws an error in the browser console.

Error Message & Stack Trace

image

SyntaxError: expected expression, got '}' [Learn More] browser-sync-client.js:87:5

Config

Copy the content from .yo-rc.json:

{
  "generator-fountain-angular1": {
    "version": "1.0.0",
    "props": {
      "framework": "angular1",
      "modules": "webpack",
      "js": "js",
      "ci": "",
      "css": "less",
      "resolved": "/home/vrockai/.nvm/versions/node/v6.3.1/lib/node_modules/generator-fountain-webapp/node_modules/generator-fountain-angular1/generators/app/index.js",
      "namespace": "fountain-angular1:app",
      "_": [],
      "sample": "techs",
      "router": "uirouter"
    }
  }
}

Relevant Links

I've created a repo with the project. No manual changes, this is exactly what I got from the generator. https://github.com/vrockai/fountain-error

Environment

10:33 $ npm ls -g --depth=0 2>/dev/null | grep generator-fountain
├── generator-fountain-webapp@1.0.0

10:33 $ node -e "var os=require('os');console.log('Node.js ' + process.version + '\n' + os.platform() + ' ' + os.release())"
Node.js v6.3.1
linux 4.13.0-21-generic

10:35 $ yo --version
2.0.0

10:35 $ npm --version
5.6.0
jevel9 commented 6 years ago

+1