• Resolved Voice4Vision

    (@voice4vision)


    I have the plugin installed, but I have not edited the cfpc-class-page-cache.php with my credentials.

    After reading the instructions, I have attempted to get the Cloudflare Worker installed, however, I am a bit of an issue. I received the following error on Cloudflare.

    Uncaught SyntaxError: Cannot use import statement outside a module at line 1

    The instructions you provide, are extremely vague. Am I also required to download and install all other files on your Github? Is there an alternative to using Yarn? I am unable to install Yarn on my Cloudways server.

    Any and all assistance is greatly appreciated!!!

    Voice4Vision

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Voice4Vision

    (@voice4vision)

    So you have created and released a plugin that you refuse to support?

    Plugin Author palessit

    (@palessit)

    Sorry for the delay.
    We added the dist folder to the git repo, where the already compiled script for cloudflare worker is located. This script can be used immediately and is no longer needed by Yarn. Also, you do not need any other files from the project, except /dist/worker.js
    Try using our file, and you should no longer have errors.
    Also pay attention to the name of the variables in Workers KV, as indicated in our readme.

    Thread Starter Voice4Vision

    (@voice4vision)

    Thank you for your reply.
    Honestly, I am not sure how to tell if this plugin is working. This is likely due to my lack of understanding with Cloudflare. As of now, I do not see any error messages, no abnormalities, and everything seems to be loading as expected.

    Once I get a better understanding, I will post a proper review.

    Thank you so much!
    Voice4Vision

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to Install Cloudflare wordker’ is closed to new replies.