I can get the same project to run just fine on my ...
# help
a
I can get the same project to run just fine on my Mac.
j
@thdxr is using Linux and it works fine for him. Any ideas Dax?
a
Just have to apologize. My friend hadn't configured
aws-cli
- I'm having him do that now
j
Ah
t
I think the issue here is
npx sst
will look for a package named sst. Think you want to add a script that calls sst start and do
npm run start
j
Oh
npx sst start
doesn’t work for you?
t
If you need to do it through
npx
you can do
npx @serverless-stack/cli start
Well it'll work if you're inside an sst project with node_modules installed
Wasn't sure where it was being done
j
Ah right, yeah
a
OK, I'll have him try
npx @serverless-stack/cli start
. Thanks!! 🙏
j
If he is running it inside an SST project,
npx sst start
should work fine. Just check that
package.json
has
@serverless-stack/cli
as one of the dependencies.
a
configuring the
aws cli
fixed it