When i type in the terminal node index.js this happens
did you do all the previous required steps?
Via terminal, navigate to root directory:
npm install
Go to Moralis.io to create your server instance. Then in root index.js file, point to your Moralis server:
const appId = "YOUR_MORALIS_APP_ID";
const serverUrl = "YOUR_MORALIS_SERVER_URL";
const masterKey = "YOUR_MORALIS_MASTER_KEY"; // DO NOT DISPLAY IN PUBLIC DIR
const xAPIKey = "YOUR_X_API_KEY"; // DO NOT DISPLAY IN PUBLIC DIR
// xAPIKey available here 🔑: https://deep-index.moralis.io/api-docs/#/storage/uploadFolder)
Create your layered artwork and split into folders in ./input and configure your collection to match your layer structure and preferences accordingly by editing ./input/config.js:
Finally, via terminal in the project directory run:
node index.js