generator-fountain-webapp
generator-fountain-webapp copied to clipboard
SyntaxError in browser-sync
Description
Brand new project throws an error in the browser console.
Error Message & Stack Trace
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
+1