Git Product home page Git Product logo

Comments (5)

gerboland avatar gerboland commented on September 24, 2024

Hmm NODE_PATH=/usr/local/lib/node_modules vue add @ijusplab/vue-cli-plugin-gas worked. I thought that was the default...

from vue-cli-plugin-gas.

barecool avatar barecool commented on September 24, 2024

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.

from vue-cli-plugin-gas.

cmlima avatar cmlima commented on September 24, 2024

Have you got the error output?

from vue-cli-plugin-gas.

barecool avatar barecool commented on September 24, 2024

same as above except im on windows 10, if i install clasp as a dependency it works fine.

from vue-cli-plugin-gas.

cmlima avatar cmlima commented on September 24, 2024

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.

from vue-cli-plugin-gas.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.