Open swopno1 opened 3 years ago
You can fix this by creating an empty package.json file ({}) at the root of your directory
This seems like an unnecessary dependency, is there any reason why clasp needs to use the package.json?
Can someone please describe that requirement in the documentation? How deal with that properly?
Any updates?
Cannot believe this is still open. I guess things aren't very active here?
I think this happens when clasp tries to show an error message. For some reason, it requires the package.json file in order to display an error message.
I went into more detail here: https://github.com/google/clasp/issues/856#issuecomment-2100610552
Expected Behavior
Push my clasp local file to Apps Script
Actual Behavior
Show this error: ENOENT: no such file or directory, open 'package.json'
Steps to Reproduce the Problem
1. 1.
Specifications
node -v
): v14.17.6clasp -v
): 2.4.1