Skip to content
This repository was archived by the owner on Feb 27, 2019. It is now read-only.
This repository was archived by the owner on Feb 27, 2019. It is now read-only.

SyntaxError in browser-sync #219

Description

@vrockai

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
├── [email protected]

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions