You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the tests on the master branch according to the instructions should pass with flying colors.
Actual Behavior
A bunch of tests fail :(
So far I have identified 4 separate issues:
The documentation never mentions needing to run npm link after uninstalling the local version of clasp (d9bb573)
Forgetting to define the SCRIPT_ID and/or PROJECT_ID environment variables fails silently (29b925e)
The HOME environment variable does not exist on Windows, resulting in an incorrect CLASP_PATHS.rcGlobal (0c3081c)
The SCRIPT_ID mentioned in the instructions seems to not be publicly accessible, leading to errors like this:
Could not find script.
Did you provide the correct scriptId?
Are you logged in to the correct account with the script?
Waiting for the debugger to disconnect...
Trying to access this script on the web (unsurprisingly) gives an "access denied".
I opened PR #988 with fixes for the first three issues, but the last one is a bit more involved.
Regardless of permission issues, I feel like it's a little strange to have one "communal project" to use for tests, sounds like a recipe for trouble.
Perhaps it's a good idea to refactor the tests to use the multi-dev workflow described in #921 (comment)? I've been meaning to work on improvements for this workflow, this could be a good excuse to finally actually do it.
The text was updated successfully, but these errors were encountered:
Expected Behavior
Running the tests on the master branch according to the instructions should pass with flying colors.
Actual Behavior
A bunch of tests fail :(
So far I have identified 4 separate issues:
npm link
after uninstalling the local version ofclasp
(d9bb573)SCRIPT_ID
and/orPROJECT_ID
environment variables fails silently (29b925e)HOME
environment variable does not exist on Windows, resulting in an incorrectCLASP_PATHS.rcGlobal
(0c3081c)SCRIPT_ID
mentioned in the instructions seems to not be publicly accessible, leading to errors like this:Trying to access this script on the web (unsurprisingly) gives an "access denied".
Steps to Reproduce the Problem
Specifications
node -v
): v20.8.1clasp -v
): 551000bFixes
I opened PR #988 with fixes for the first three issues, but the last one is a bit more involved.
Regardless of permission issues, I feel like it's a little strange to have one "communal project" to use for tests, sounds like a recipe for trouble.
Perhaps it's a good idea to refactor the tests to use the multi-dev workflow described in #921 (comment)? I've been meaning to work on improvements for this workflow, this could be a good excuse to finally actually do it.
The text was updated successfully, but these errors were encountered: