Skip to main content
BeRadB
Inspiring
July 2, 2021
Answered

unable to install ajax in coldfusion 2021

  • July 2, 2021
  • 2 replies
  • 828 views

I am running docker destop and coldfusion 2021 local , I need the ajax package but i am unable to install it via package manager via the cfadmin or via cli. here is the error messages i get ...

 

  • An error has occurred while installing the package ajax. Please check logs for more details.

 

An error has occurred while installing the package ajax. Exception : Script folder /app/cf_scripts/scripts not found. Ajax package has been downloaded at /opt/coldfusion/bundles/ajax-2021.0.0.323925.zip. If you have created a mapping of cf_scripts folder, you can copy the contents of the downloaded zip into CF_SCRIPTS/scrips/ajax folder

 

any help would be apriciated

 

 

    This topic has been closed for replies.
    Correct answer Jobin23530543yjq9

    I was able to get the ajax module to install in CF2021, I had to create the below symbolic link prior to the cfpm install

     

    ln -s /opt/coldfusion/cfusion/wwwroot/cf_scripts /app/cf_scripts

     

    I'm submitting a bug in the tracker to upvote.

     

    https://tracker.adobe.com/#/view/CF-4212864

    2 replies

    Jobin23530543yjq9Correct answer
    Participant
    March 10, 2022

    I was able to get the ajax module to install in CF2021, I had to create the below symbolic link prior to the cfpm install

     

    ln -s /opt/coldfusion/cfusion/wwwroot/cf_scripts /app/cf_scripts

     

    I'm submitting a bug in the tracker to upvote.

     

    https://tracker.adobe.com/#/view/CF-4212864

    BKBK
    Community Expert
    Community Expert
    July 3, 2021

    I am on Windows 10, but can share with you a method that works for me. I followed these steps:

    1. Open the CMD prompt as Administrator. Change directory, using DOS, to the location of the package-installer, cfpm.bat. The location is C:\ColdFusion2021\cfusion\bin. Uninstall the ajax package using the DOS command cfpm uninstall ajax
    2. Restart ColdFusion.
    3. Install the ajax package using the DOS command cfpm install ajax