fix(docs): Use link to specific page in error message about incorrect JS Client library installation [DXJ 271] (#278)

This commit is contained in:
Pavel 2023-03-01 22:07:31 +04:00 committed by GitHub
parent 25f369a25a
commit 9ed1e2eafc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ export const getFluenceInterfaceFromGlobalThis = (): PublicFluenceInterface | un
const REJECT_MESSAGE = `Could not load Fluence JS Client library. const REJECT_MESSAGE = `Could not load Fluence JS Client library.
If you are using Node.js that probably means that you forgot in install or import the @fluencelabs/js-client.node package. If you are using Node.js that probably means that you forgot in install or import the @fluencelabs/js-client.node package.
If you are using a browser, then you probably forgot to add the <script> tag to your HTML. If you are using a browser, then you probably forgot to add the <script> tag to your HTML.
Please refer to the documentation page for more details: https://fluence.dev/ Please refer to the documentation page for more details: https://fluence.dev/docs/build/js-client/installation
`; `;
// Let's assume that if the library has not been loaded in 5 seconds, then the user has forgotten to add the script tag // Let's assume that if the library has not been loaded in 5 seconds, then the user has forgotten to add the script tag