Meteor
sveltekit
node
As of 1st Jan 2023, Meteor requires node version 14.x
Most of us use the latest node version.
So to use meteor we have to install node version 14 whole keeping the latest version of nodejs
- Open CMD
- Check the current node version
node --version
- Download NVM (Node version manager) Node Version Manager URLNow install nvm
- Open CMD and run
To check how many node versions are available on the systemnvm list
- Now to install an older version of the node, run
nvm install 14.0.0
- Now check all the available versions of the node in the system
This time there will be 2 available versionnvm list
- Run this code to use node 14.0.0
nvm use 14.0.0
- Additionally, we might need a specific npm version too, to install a specific npm version, run this code
npm install -g [email protected]
- Now install meteor globally
npm install -g meteor
- Now open the project folder path in CMD or in VScode & run
meteor create --svelte --tailwind .
- To run the application, run
meteor
or, to run the application with a specific port, run
meteor --port 8080