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.

`yarn rw info` broken at least in MacOS

See original GitHub issue

Hi all,

just to report that …

yarn run v1.22.5
$ /.../redwoodTest/node_modules/.bin/rw info
Error: Cannot access environment info
TypeError: (e || []).filter is not a function
    at/.../redwoodTest/node_modules/envinfo/dist/envinfo.js:1:73314
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Promise.all (index 5)
    at async Object.handler (/.../redwoodTest/node_modules/@redwoodjs/cli/dist/commands/info.js:32:20)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

context: MacOS 10.15.6 (19G2021), Homebrew’s zsh, rw v0.19.1 (was same in .0)

Thanks in advance and keep the great work!

António

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
AntonioMeirelescommented, Sep 24, 2020

(sorry lag - was sleeping - as in Europe 😃 ) . yes, i can confirm too that the fix works. THANKS!

1reaction
forresthayescommented, Sep 23, 2020

Sorry, no, I meant that the second error, from running yarn envinfo, was resolved after I ran yarn add -W envinfo. However, the original problem with yarn rw info persists for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

`yarn rw setup <cmd>`s are broken - RedwoodJS Community
Hi @patrickeddy ! I can't reproduce it on the last version of Redwood. On which version are you ?
Read more >
`yarn install` fails when a `package.json` exists in home directory
Having installed yarn 3 globally (in home directory), running yarn create redwood-app ./redwoodblog fails with ❯ Creating Redwood app ...
Read more >
yarn upgrade
This command updates dependencies to their latest version based on the version range specified in the package.json file. The yarn.lock file will be...
Read more >
error Command failed with exit code 1. when I try to run yarn
This worked for me, (update yarn) $ yarn info $ yarn upgrade $ yarn add yarn. if it shows more errors run this:...
Read more >
Simulator | Apple Developer Forums
Xcode 9.4.1 on MacOS 10.13.6 does not recognize iphone (iOS 11.4.1), hence "No devices connected to 'My Mac'".Even Window -> Devices and Simulators, ......
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