Closed gerboland closed 4 years ago
Hmm NODE_PATH=/usr/local/lib/node_modules vue add @ijusplab/vue-cli-plugin-gas
worked. I thought that was the default...
for me it didnt work unless i installed clasp locally to the dev dependencies... i have clasp 2.3.0 installed globally and it did not detect it.
Have you got the error output?
same as above except im on windows 10, if i install clasp as a dependency it works fine.
Ok, thanks @barecool. The issue you and @gerboland experienced seems to be related to the isInstalled
function in the claspHelpers.js
file, particularly to the command require.resolve('@google/clasp/package.json')
.
In my case, I tested it directly in node shell. When I ran the command I got a path inside my global node modules (under /Users/cmlima/node_modules
), as expected.
Regardless, I will update the README file in order to instruct other developers about installing clasp locally in case they get the same error message you did. Since I was not able to reproduce your issue, I am afraid I will not be able to do much more for now. Any help will be much appreciated.
Hey, I wanted to test this but hit a wall with the detection of
clasp
I'm using OS X Cataline 10.15.5, and have been using GAS and clasp for some time.
I do have
/usr/local/lib/node_modules/@google/clasp/package.json
but perhaps my search path is bad? Help appreciated