Hi guys when I run 'npm start' from this chapter <...
# help
m
Hi guys when I run 'npm start' from this chapter https://serverless-stack.com/chapters/create-a-new-reactjs-app.html I am receiving this error in the terminal:
> frontend@0.1.0 start C:\Users\peter\OneDrive\Documents\Michael Final Year\2021.2022\greenfinger\frontend
sst-env -- react-scripts start
sst-env: Cannot find matching SST environment outputs in C:\Users\peter\OneDrive\Documents\Michael Final Year\2021.2022\greenfinger\.build\static-site-environment-output-values.json. E nsure the StaticSite points to C:\Users\peter\OneDrive\Documents\Michael Final Year\2021.2022\greenfinger\frontend npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! frontend@0.1.0 start:
sst-env -- react-scripts start
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the frontend@0.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\peter\AppData\Roaming\npm-cache\_logs\2022-02-10T16_09_41_140Z-debug.log
a
The spaces in "Michael Final Year" could be a problem. That sometimes trips things up.
t
Can I see your site construct ?
and is sst start running?
m
SST was running yes and sorry @thdxr what file are you looking for?
t
in your stacks code did you create a ReactSite?
m
No I've just literally followed the guide to the letter
t
I'm referring to the Add the React App to SST step
it should work once you do that
m
Oh yeah, I did all of that. Completed the section
When creating the stack, it is added to the previous stacks directory within the backend? Not a new stacks directory for the frontend section as far as I follow
j
@Michael Bannon are you still having this issue?
f
Hey @Michael Bannon, I tried the
greenfinger
repo you DM’ed, and I wasn’t able to reproduce this issue. Are you still seeing this?
m
Hi @Jaysorry I've been busy only getting back to you now. The error in this case seems resolved but still getting a network error when connecting to local host that appears when I opened the application or when I try to create a note