Open vrockai opened 6 years ago
Brand new project throws an error in the browser console.
SyntaxError: expected expression, got '}' [Learn More] browser-sync-client.js:87:5
Copy the content from .yo-rc.json:
.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" } } }
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
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
+1
Description
Brand new project throws an error in the browser console.
Error Message & Stack Trace
Config
Copy the content from
.yo-rc.json
: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