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 when using the CDN file in Nodejs. #2

Open
dejenerate opened this issue Jan 6, 2023 · 1 comment
Open

Error when using the CDN file in Nodejs. #2

dejenerate opened this issue Jan 6, 2023 · 1 comment

Comments

@dejenerate
Copy link

I followed the steps in the starter documents for Nodejs and ran into an error with the instructions. The instructions say that the CDN file can be used instead of installing the package, but I received an error when using the CDN file.

I get the following error:

"Uncaught Error Error: Cannot find module 'https://cdn.pubnub.com/sdk/javascript/pubnub.7.2.2.js"

I, however, was able to get the Hello World test app to run when I imported the package using npm in Visual Studio.

@haxorbot
Copy link

haxorbot commented Jan 6, 2023

Awesome! Thanks for participating in Haxor. A human will review your contribution soon!

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

2 participants