I can’t see everything there, but looks like it can’t find the node modules. Have you tried just first typing yarn install to make sure all the dependencies are set up?
I’m pretty sure that the yarn create redwood-app ./redwoodblog command does that for me but I went ahead and tried it anyway and it made no difference.
Yes, I don’t like it either but I needed a way have it be listed at the top of my user’s directory. I normally use an exclamation mark for this but this folder has a bunch of folders that start with a period so I originally used ... but that caused issues with other things so I had to start using comma’s instead.
Is there a better way for me to make a folder always appear at the top of a directory?
Regardless, I created the following directory and started over…
C:\Users\Owner\Local Redwood Dev
But I still had the same problem, so I figured it must not like spaces and I was right because the following worked…
C:\Users\Owner\redwood-dev
Yes, most often underscores, e.g. _, are used for this type of manual directory sorting!
Glad to hear it’s working! And thanks for letting us know about the issue with using spaces, which is something we thought we’d fixed for Windows. Will double check what’s going on there.
@peterp Take a look at the image in the first message of this topic --> I thought we previously fixed the issue for Windows when spaces exist in path. Y/n/maybe?
I did check to confirm we are using path.join() in the “dev” command.
Sorry but I already stopped using a directory name that has spaces in it and I deleted my redwood site. Do you need me to try installing it again in a directory with spaces in the name?
No need at all! The yarn rw info provides information about your system, which helps us diagnose errors. Running it from any installed Redwood directory will work. No pressure here if you’ve moved on — your help so far is very appreciated.
Back to your local development machine, head to http://localhost:8910/admin and you’ll be prompted with the login popup. Enter the URL that you just copied and click Set site’s URL :
That is not what I see when I visit that page, I see this instead…
Nevermind, I edited the wrong .env file. I edited the one in my dev directory that has a space in it.
But now I have a new problem…
I was able to do everything in the instruction on https://github.com/redwoodjs/example-blog but that only allowed me to login locally. Wasn;t this also supposed to deploy the site to Netlify?
Even though the instructions didn’t say to, I ran the following commands after finishing everything in the instructions…
I’m not sure what I did wrong but this is not the way I am used to deploying to Netlify. I normally would create a GitHub repo for the site and deploy it to Netlify using the git repo. Will this still work or is there some special reason it won’t work like that with redwood?
Before we continue, make sure your app is fully committed and pushed to GitHub, GitLab, or Bitbucket. We’re going to link Netlify directly to our git repo so that a simple push to master will re-deploy our site.
We do recommend creating a GitHub (or like-kind) repository to connect to Netlify. It’s much easier that way!
Lastly, it would be possible to deploy to Netlify from the command line. But there was (yet another) Windows specific issue when running the build command. The good news is that this is now fixed and will be available in our next release!
Sure thing, I am happy to help . No problem about me running into so many issues, it was expected and it has taught me a thing or two.
Spaces in path causing error with yarn rw dev
I agree that the space issue needs to be fixed but it no longer concerns me because I will never use spaces or special characters aside from underscore for any of my dev folders .
Deployment to Netlify
Cool, I will just do that instead .
But if you remind me when the next release is available I would be happy to test out the command line method for ya.
Interesting, as mentioned by David this seems resolved now. Running yarn rw dev on an app inside a folder that has whitespace “hello world” seem to be working on my end.
I am using Powershell on windows, I am guessing that may be important.