Back

[SOLVED] NodeJS not listed for the Starter function template

  • 0
  • Functions
Zeke(Jafesu)
31 Aug, 2023, 01:09

Hey again!

I am trying to deploy the Starter function with NodeJS, but it is not in the dropdown

(Version 1.4.0)

TL;DR
User is unable to find the NodeJS option in the dropdown menu for the Starter function template. The issue was resolved by updating the .env file to node-18.0. The user also asks if it is possible to deploy a function without git connectivity.
Zeke(Jafesu)
31 Aug, 2023, 01:12

Also, can you deploy a function without git connectivity? I primarily use gitlab right now which is not available yet, so would like to deploy without git connection for the time being if possible

Drake
31 Aug, 2023, 01:23

yes using the previous method

Drake
31 Aug, 2023, 01:23

what is your runtimes env var set to?

Zeke(Jafesu)
31 Aug, 2023, 01:23

I'm not sure? this is the prebuilt template

Drake
31 Aug, 2023, 01:23

i mean in your .env file

Zeke(Jafesu)
31 Aug, 2023, 01:23

oh, 1 sec

Zeke(Jafesu)
31 Aug, 2023, 01:24

node-16.0,php-8.0,python-3.9,ruby-3.0

Drake
31 Aug, 2023, 01:26

can you scroll in that dropdown?

Zeke(Jafesu)
31 Aug, 2023, 01:26

no sir tired that as well

Drake
31 Aug, 2023, 01:26

can you right click and inspect element to see what's in there?

Zeke(Jafesu)
31 Aug, 2023, 01:28

yep. standby

Zeke(Jafesu)
31 Aug, 2023, 01:29
TypeScript
<select id="runtime" required="">
  <option value="null" disabled="" hidden="">Select runtime</option>
  <option value="php-8.0">PHP - 8.0 </option>
  <option value="ruby-3.0">Ruby - 3.0 </option>
  <option value="python-3.9">Python - 3.9 </option>
</select>
Drake
31 Aug, 2023, 01:30

oh actually, that starter template is only available on node-18.0

Drake
31 Aug, 2023, 01:30

not node-16

Zeke(Jafesu)
31 Aug, 2023, 01:31

oh, so just update my .env to node-18.0?

Zeke(Jafesu)
31 Aug, 2023, 01:31

okay, let me try that

Zeke(Jafesu)
31 Aug, 2023, 01:35

1 sec, i accidentally did a full rebuild/repull so now i have to reimplement my fixes from earlier

Zeke(Jafesu)
31 Aug, 2023, 01:38

yep that did it

Zeke(Jafesu)
31 Aug, 2023, 01:38

now once the github integration is fixed i can use it lol

Zeke(Jafesu)
3 Sep, 2023, 15:51

[SOLVED] NodeJS not listed for the Starter function template

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more