How to run java script code locally in cloud function

Sudish Kumar
Jan 11, 2021

--

Hi friends, we will see here how to run Js code locally in cloud fun these days I am using firebase cloud function and in the fun I am using java script then let’s start .

1 . Open your editor

2. Write your js codes

3. open terminal(if your editor has terminal then open it other wise open command prompt )

4. Go to your js folder where you have written the js codes

5. Run this command

npm run-skript lint

6. And then run this command

firebase serve

or firebase serve — only functions

Than you friends, Have a good day and night….

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Sudish Kumar
Sudish Kumar

Written by Sudish Kumar

Flutter | Android | Node | Dart | Kotlin | Java | JavaScript | TypeScript | PHP | Short Story Teller | Tech Lead

No responses yet

Write a response