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

SyntaxError in browser-sync #219

Open
vrockai opened this issue Jan 8, 2018 · 1 comment
Open

SyntaxError in browser-sync #219

vrockai opened this issue Jan 8, 2018 · 1 comment

Comments

@vrockai
Copy link

vrockai commented Jan 8, 2018

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
@jevel9
Copy link

jevel9 commented Jan 14, 2018

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants