Hi everyone, I have been using `nodeModules` optio...
# help
g
Hi everyone, I have been using
nodeModules
option for a Node.js lambda function to entirely include a certain library The
sst start
command works perfectly and I have no issues in development, but
sst deploy
fails with the following error:
Copy code
Preparing your SST app
Synthesizing CDK
Building function src/consumers/sumsub.handler

SyntaxError: /DOCUMENTS/SSD/Quinence_Internship/zilliqa-marketplace-monorepo/packages/zilliqa-marketplace-backend/.sst/artifacts/c3a55ae5/package.json: Unexpected end of JSON input
I noticed that the
package.json
referenced in the error is an empty file, not even a
{}
Can someone help?
f
Hey @Gita Alekhya Paul, can you share a snippet of how you are configuring
nodeModules
in ur SST app?
g
Hi, so I just bumped the version to
0.60.8
and it works. I was on
0.60.2
earlier