Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw (err); #142

Open
Viv-Galinari opened this issue Aug 12, 2018 · 0 comments
Open

throw (err); #142

Viv-Galinari opened this issue Aug 12, 2018 · 0 comments

Comments

@Viv-Galinari
Copy link

Viv-Galinari commented Aug 12, 2018

Hello, I've been experiencing issues starting lite-server v2.3.0 and would love if I could get any help. I get this error message
/usr/local/lib/node_modules/lite-server/lib/lite-server.js:33
throw (err);

SyntaxError: /Users/viviangalinari/Desktop/newcopy/mercado/bs-config.json: Unexpected token / in JSON at position 0
at JSON.parse ()
at Object.Module._extensions..json (module.js:671:27)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at start (/usr/local/lib/node_modules/lite-server/lib/lite-server.js:28:17)

bs-config.json

{
"port": 8005,
"server": ["app", ".", "build"]
}

Can you please advice? Many thanks

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

No branches or pull requests

1 participant