question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade Command should run from root regardless of current directory

See original GitHub issue

If a user runs yarn rw upgrade ... from a directory other than project root, there are cases where the root package.json is not handled correctly by yarn ('cause yarn is a mess when it comes to this command).

We need to ensure Execa has cwd set whenever it is called: https://github.com/redwoodjs/redwood/blob/main/packages/cli/src/commands/upgrade.js

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
qooqucommented, Mar 24, 2021
2reactions
Aditya-1804078commented, Feb 4, 2021

I am new to open source community, can you please assign this issue to me?? Working on this issue would be a start for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

change root directory for command prompt
cd\ - This command will take you to the root directory, regardless of your location. For example: If you are currently at C:\Users\...
Read more >
How to reference a project root directory in an npm script
We can reference the root directory of the project through the environment variable `INIT_CWD` that npm set for us! From the doc :...
Read more >
Navigating Files and Directories - Data Carpentry
Use a single command to navigate multiple steps in your directory structure, including moving backwards (one level up). Perform operations on files in ......
Read more >
Linux Pro Practice Cert Flashcards - Quizlet
Prevents the home directory from being created regardless of system settings. Entering useradd -h or useradd --help shows you that the -M switch...
Read more >
How can I make a program executable from everywhere
In the folder that you compiled the program, as root, run 'make ... current directory to the search path, you will have to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found