-
Notifications
You must be signed in to change notification settings - Fork 198
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
Uncaught TypeError #145
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to use this for the first time for a javascript/d3.js based web application, I have installed via npm, and I have added
import ReconnectingWebSocket from 'reconnecting-websocket';
at the start of the script, but the code is failing with error:
Uncaught TypeError: Failed to resolve module specifier "reconnecting-websocket". Relative references must start with either "/", "./", or "../".
I am kind of new at the whole npm thing - was kind of hoping there would be an alternative option such as a .js file, you know, like the good old days :)
I'm sure this is something I'm doing wrong rather than a bug, but google is unhelpful in telling me what to do next, so I'm having to ask here - sorry!
The text was updated successfully, but these errors were encountered: