Error command "rw" not found

Hi,

I am new to RedwoodJS and I am trying to follow the blog post tutorial.
While doing the tutorial, I installed a JSLINT extension and run the command yarn rw dev but it now gives me an error, command “rw” not found.

Already tried to run yarn install but it still gives me the same error.

Please see attached image for your perusal.

BlogPostsCell.js

Package.json

Other info:
OS: Windows 10
Editor: VSCode
Yarn: v1.22.4
Node: v12.18.1

Hope there is a way to fix this without starting over the tutorial.

Thanks!

1 Like

Hi @KylSanAntonio,

Could you try running yarn --force?

2 Likes

Hi @peterp,

It is now working. Marked your reply as the solution.

Thanks!

do yarn install

1 Like

Hi, thanks for your reply. According to my post:

Already tried to run yarn install but it still gives me the same error.

Anyway, this is already solved by doing @peterp comment (yarn --force)

Have a great day.

Just in case… I had the same problem and the solution didn’t work until I restart the terminal.

Enjoy!

@brunopop Thanks for sharing what worked for you! I’m sure it will help someone stuck with the same problem in the future :slight_smile: