Using FTP to upload/download files
1. Download an FTP Client. We would recommend using FileZilla, it’s one of the most popular FTP clients and it’s also free! https://filezilla-project.org Once you have installed FileZilla, we can look at getting connected to the server. We are going connect using your cPanel login credentials. When you first set up…
Out of memory error with Node.js and cPanel Terminal
Description When running a npm or Node.js command via the Terminal app in cPanel, a “Out of memory” error message is returned. Cause The issue is not typically due to a hosting-level resource limit such as memory or storage. The emulated Terminal app in cPanel itself has an artificial memory…
Next.js “Module not found” when running a Next.js build in cPanel
Description When running npm run build, or next build, npm returns the error “Module not found”. npm ci or npm install shows that all dependencies or modules are installed. Cause Path issue cPanel’s virtual environment causes issue with TypeScript’s path aliases, which can prevent npm build from discovering the location…