Code Monkey home page Code Monkey logo

Comments (2)

aalej avatar aalej commented on June 29, 2024

Hey @yaroslavnikiforov, thanks for reaching out. I’m unable to reproduce the error you mentioned. I tried following the steps you provided, but I was able to run npx firebase --help without any issues. A couple of solutions to try here would be:

  1. Reinstallation by running npm uninstall firebase-tools then npm install firebase-tools
  2. Adding the missing permission to execute the file

Try running cd /Users/myuser/projects/example/node_modules/.bin, then ls -l | grep firebase to see if you’re missing any permissions.

Since this looks more like a permission issue in your system rather than an issue with the CLI, I’m going to close this.

from firebase-tools.

yaroslavnikiforov avatar yaroslavnikiforov commented on June 29, 2024

Thanks for the reply @aalej.
ls -l | grep firebase prints the following:

lrwxr-xr-x  1 yaroslav  staff  37 Apr 26 15:41 firebase -> ../firebase-tools/lib/bin/firebase.js
lrwxr-xr-x  1 yaroslav  staff  51 Apr 26 15:41 firebase-functions -> ../firebase-functions/lib/bin/firebase-functions.js

What permissions are missing here and how to add them?
An important point for this problem is not having firebase-tools installed globally. And it also works fine for me when version is <= 11.30.0.

from firebase-tools.

Related Issues (20)

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.