AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
818 stars 312 forks source link

"Object expected" ExecJS error on brand new AlchemyCMS insall #2835

Closed frostblooded closed 3 months ago

frostblooded commented 3 months ago

Steps to reproduce

Create a brand new Rails app and install AlchemyCMS by following the instructions in the README.

Expected behavior

You should see the welcome page in the end.

Actual behavior

I get an error "Object expected" that doesn't have much of a stack trace. image

Also, sometimes when I change my rails files, the error changes and now it start complaining about files that are missing from manifest.js even though they are alchemy files, but it seems they should be included in the alchemy_manifest.js so my install doesn't find that for some reason maybe? image

System configuration

frostblooded commented 3 months ago

Doesn't seem to happen on Ubuntu, only on Windows

frostblooded commented 3 months ago

I installed NodeJS on windows and now it works. I guess there was a missing javascript runtime but ExecJS failed to display a proper error.