You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
Right now, both of the npm and composer commands create a temporary container based on the path of the command. This is useful for running these commands on directories that will never be related to a "site" in Nitro context. However, the 80 percent use case is to run npm or composer within the context of a site. Therefore these commands should be more "site aware" but fall back to a standalone container if it cannot determine the part is part of a site.
We need to update the commands to use the sites container as those containers now include node, npm, and composer by default.
The text was updated successfully, but these errors were encountered:
Hi, we are closing this issue as we have decided to retire Nitro, so no additional work will occur on this project. You can read the official blog post here https://craftcms.com/blog/retiring-craft-nitro. We appreciate everyones feedback and involvement and we look forward to refocusing our efforts on Cloud!
Description
Right now, both of the
npm
andcomposer
commands create a temporary container based on the path of the command. This is useful for running these commands on directories that will never be related to a "site" in Nitro context. However, the 80 percent use case is to runnpm
orcomposer
within the context of a site. Therefore these commands should be more "site aware" but fall back to a standalone container if it cannot determine the part is part of a site.We need to update the commands to use the sites container as those containers now include node, npm, and composer by default.
The text was updated successfully, but these errors were encountered: