Skip to content
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: UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '.claspignore' #626

Closed
grant opened this issue May 22, 2019 · 4 comments · Fixed by #628

Comments

@grant
Copy link
Contributor

grant commented May 22, 2019

Expected Behavior

clasp push works

Actual Behavior

clasp push without .claspignore fails.

UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '.claspignore' 

This is probably broken due to a PR that modified .claspignore.

I can't publish clasp until this is fixed.

@grant
Copy link
Contributor Author

grant commented May 22, 2019

@PopGoesTheWza @DimuDesigns Can't publish clasp until this is fixed.
#624 (comment)

@PopGoesTheWza
Copy link
Collaborator

@grant if no defined .claspignore, we could apply a “built in” default?
Something like ignore node_module, and consider only AppsScript.json and *[jt]s in current folder
What do you think?

@grant
Copy link
Contributor Author

grant commented May 22, 2019

The default sounds great.
Please create a PR that fixes this and documents the default ignore file (node_modules/).

@PopGoesTheWza
Copy link
Collaborator

Will do in an hour. I will let you add a test for when there is no .claspignore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants