pantheon-systems / terminus-composer-plugin

A Terminus plugin for running Composer commands on a Pantheon site
MIT License
14 stars 9 forks source link

composer.json not writeable #19

Closed jonycp closed 4 months ago

jonycp commented 4 months ago

Hello,

I tried $ terminus composer ycp-2024-test-site.test -- require 'drupal/tailwindcss:^5.0@alpha'

./composer.json is not writable.

I don't know if it matters, but I did sign in with machine token.

I started a chat and the rep said he would put in a ticket with a platform engineer.

namespacebrian commented 4 months ago

The code is never writable in the test or live environments. In the dev environment, the site must be put in SFTP mode for the code to be writable.

jonycp commented 4 months ago

Wow - sorry, rookie mistake. Thank you!!