-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clasp push not working as expected. Showing error: ENOENT: no such file or directory, open 'package.json' #875
Comments
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? |
See also #856 (comment) |
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: #856 (comment) |
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
Specifications
node -v
): v14.17.6clasp -v
): 2.4.1The text was updated successfully, but these errors were encountered: