Comments (6)
You need to upload the cloud functions usingfirebase deploy --only functions
from enigma.
Thank you for your response is there any guide for that ? like i said am nooby with firebase
from enigma.
after some research i found out how to do it but i get this error
firebase deploy --only functions
Error: Authorization failed. This account is missing the following required permissions on project amitjoki-enigma:
cloudfunctions.functions.create
cloudfunctions.functions.delete
cloudfunctions.functions.get
cloudfunctions.functions.list
cloudfunctions.functions.update
cloudfunctions.operations.get
firebase.projects.get
from enigma.
fixed the last error but i get a new one now
even when i try npm run build inside the function folder i got error i hope that u can awnser as soon as possible my school project depends on it next week thank you
functions@ lint C:\SRC\Chat-master\functions
eslint .
'eslint' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! functions@ lint: eslint .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the functions@ lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\siyou\AppData\Roaming\npm-cache_logs\2020-02-18T18_48_11_704Z-debug.log
events.js:183
throw er; // Unhandled 'error' event
^
Error: spawn npm --prefix "%RESOURCE_DIR%" run lint ENOENT
at notFoundError (C:\Users\siyou \AppData\Roaming\npm\node_modules\firebase-tools\node_modules\cross-env\node_modules\cross-spawn\lib\enoent.js:6:26)
at verifyENOENT (C:\Users\siyou\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\cross-env\node_modules\cross-spawn\lib\enoent.js:40:16)
at ChildProcess.cp.emit (C:\Users\mobile\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\cross-env\node_modules\cross-spawn\lib\enoent.js:27:25)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
Error: functions predeploy error: Command terminated with non-zero exit code1
C:\SRC\Chat-master>cd functions
C:\SRC\Chat-master\functions>npm run build
npm ERR! missing script: build
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\siyou\AppData\Roaming\npm-cache_logs\2020-02-18T18_52_57_004Z-debug.log
from enigma.
I am guessing it has to do with how eslint is installed or configured in your system?
Also, you should create your own firebase project and have its JSON put in here.
from enigma.
Thank you for ur quick response i will do more research tomorrow and configure eslint and update you with the news
from enigma.
Related Issues (20)
- Storage and Database Rules HOT 1
- throw PlatformException(code: errorCode, message: errorMessage, details: errorDetails); HOT 4
- Not past login screen HOT 3
- How to add notification functionality in this app? HOT 2
- Swift HOT 1
- many errors please update HOT 2
- cache network image provider HOT 1
- please update pubspec.yml file
- Not getting realtime messages
- what to do after deploying the functions in root of project to get notification
- Sample for more restrictive security rules - allow only participants to read and write
- Question? Which Protocols, Methods or algorithms have you used for encryption?
- What version of flutter sdk was used to build this project?
- upgrade project for null-safety support
- Activate Notifications HOT 4
- Does this app run on iOS HOT 3
- Messages lost after uninstall/install HOT 2
- End to end encryption HOT 2
- Build Apk error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enigma.