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

Error parsing script @live_map/dist/livemap.js in resource live_map: SyntaxError: Invalid or unexpected token #42

Closed
DoJoMan18 opened this issue May 4, 2020 · 4 comments

Comments

@DoJoMan18
Copy link

Hello,

I'm getting an error when I start the livemap.

Error parsing script @live_map/dist/livemap.js in resource live_map: SyntaxError: Invalid or unexpected token
Failed to load script dist/livemap.js.
@TGRHavoc
Copy link
Owner

TGRHavoc commented May 7, 2020

You tried packing the script manually?

@DoJoMan18
Copy link
Author

DoJoMan18 commented May 7, 2020

So I just did a reverse of a backup that I had laying around. Livemap is running without a error but it seems like the websocket port is closed for some reason. I do not have a firewall running at this time, and this happend after we moved from our server host. Do I have to install something extra on a ubuntu server?

Edit:
I'm on version 2.3.2 at this moment.
Config settings are like this:

set socket_port 30121
set livemap_debug "off" # "[all]" 'trace', 'debug', 'info', 'warn', 'error', 'fatal', 'off'
set blip_file "server01/blips.json"
set livemap_access_control "*"

start live_map

@TGRHavoc
Copy link
Owner

TGRHavoc commented May 7, 2020

Could bump the debugging to info and see if the resource starts listening on the port you think it is.

@DoJoMan18
Copy link
Author

I fixed it while updating yarn and webpack.

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

No branches or pull requests

2 participants