-
-
Couldn't load subscription status.
- Fork 442
Open
Description
- Create new project with importmap by default
rails new test_app
cd ../test_app
./bin/bundle add dartsass-rails
./bin/rails dartsass:install- Check if build is ok
docker build .
Now let's produce error:
- add bootstrap gem
./bin/bundle add bootstrap --git 'https://github.com/twbs/bootstrap-rubygem' - build it
docker build .
throw error:
=> ERROR [8/8] RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile 1.3s
------
> [8/8] RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile:
1.256 bin/rails aborted!
1.256 ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
Installing node/etc is not the right solution because the main reason to use importmap is to drop the nodejs dependency. Any ideas on how to solve this?
Metadata
Metadata
Assignees
Labels
No labels