How to Build Solana NFT Explorer - Helping Each Other

Lets use this thread to support each other with questions regarding the Build Solana NFT Explorer | Solana API Tutorial :star_struck:

Read instructions:

Github Repositories:

Feel free to ask for help here - but also ensure YOU HELP people that are asking questions you know the answers to

The Moralis staff and community managers will be keeping an eye on this too :star_struck:

Hey. I’m getting an error when i run β€œYarn start”:

yarn run v1.22.19
$ next start
ready - started server on, url: http://localhost:3000
info  - Loaded env from C:\Users\EvandroAK\Documents\solana-nft-explorer\.env
info  - SWC minify release candidate enabled.
Error: Could not find a production build in the 'C:\Users\EvandroAK\Documents\solana-nft-explorer\.next' directory. Try building your app with 'next build' before starting the production server.
    at NextNodeServer.getBuildId (C:\Users\EvandroAK\Documents\solana-nft-explorer\node_modules\next\dist\server\next-server.js:116:23)
    at new Server (C:\Users\EvandroAK\Documents\solana-nft-explorer\node_modules\next\dist\server\base-server.js:70:29)
    at new NextNodeServer (C:\Users\EvandroAK\Documents\solana-nft-explorer\node_modules\next\dist\server\next-server.js:63:9)
    at NextServer.createServer (C:\Users\EvandroAK\Documents\solana-nft-explorer\node_modules\next\dist\server\next.js:140:16)
    at async C:\Users\EvandroAK\Documents\solana-nft-explorer\node_modules\next\dist\server\next.js:149:31
error Command failed with exit code 1.
info Visit for documentation about this command.

Can you please help me?

You need to run the command yarn dev for development. You can read this for the differences in Next.js projects.

1 Like