Is there a way to get more information regarding t...
# help
y
Is there a way to get more information regarding the error?
d
You can always go into 
node_modules
 folder and add a console.log where you need.
y
Yea I checked some more and was able to get this error out put
Copy code
Error: Command failed: node /Users/hartley/Sites/palqee_website/node_modules/@serverless-stack/resources/assets/NextjsSite/build.js --path /Users/hartley/Sites/palqee_website/src --output /Users/hartley/Sites/palqee_website/.build/src-1641599383855 --config eyJjd2QiOiIvVXNlcnMvaGFydGxleS9TaXRlcy9wYWxxZWVfd2Vic2l0ZS9zcmMiLCJhcmdzIjpbImJ1aWxkIl19
I ran this command from the root app and it worked without issues
With some additional console logs I can see the following error
Copy code
builder.build error: Error: Command failed with ENOENT: ./node_modules/.bin/next build
spawn ./node_modules/.bin/next ENOENT
I deleted and reinstalled
node_modules
. I’m using node version
14.18.2
and next is working successfully.
My next version is
12.0.7
is there a specific version I should be using?
f
Hey @Yeltrah r u still running into this issue?
y
Hey @Frank, thanks for following up. I was able to get this working