Wednesday, March 15, 2023
HomeJavascriptExactly how to transform Gatsby Cloud node variation?

Exactly how to transform Gatsby Cloud node variation?

Currently a days, there are lots of fixed website generator available out there. Among them is GatsbyJs. It is
is based upon React.

GatsbyJs offers Gatsby Cloud in addition to open resource structure GatsbyJs

If you intend to release your GatsbyJs web site on Gatsby Cloud, you can do so totally free.
Check out their prices modal below -> >

When you release your website on Gatsby Cloud, if you are making use of npm variation much less than 7, after that the default node variation
Gatsby utilizes is v14. If you are making use of npm variation 7 or even more, after that the default Gatsby node engine variation is v16.

If you desire, you can specify your very own node engine variation for Gatsby Cloud.

Modification node variation using.nvmrc

You can transform node variation for Gatsby Cloud making use of nvmrc documents.

Right here are actions:

  1. Produce nvmrc documents

Firstly, produce a data called nvmrc at origin of your job. If you are making use of incurable, after that utilize this
command to produce a vacant documents:


  1. Include the variation in the body

Currently, Include the node variation in the body of the documents like below. Right here I have actually made use of node variation 18.


That’s all.

Currently release these modifications to Gatsby Cloud.

In the construct log, you will certainly see that Gatsby Cloud is currently making use of node v18.0.0 for structure objectives.


Most Popular

Recent Comments