Build failing for meteor app while deploying using modulus deploy command

I’m getting build failure error while deploying meteor app to modulus server from iMac. Error does not mention the issue. need help on how to find the root cause of the build failure issue

iMac6214100769817980751:src harsimar$ modulus deploy -p preprod-gatekeymusic.com
Welcome to Modulus
You are logged in as cherkani
Selecting preprod-gatekeymusic.com

Deploying Meteor version 1.3.4.1

Compressing project…
2.1 MB written
Uploading project…
Upload progress [===================] 100%
Deploying project into Meteor runtime…
Starting build.
Creating directories for build environment.
Downloading source.
Executing build.
Build attempt failed, attempting again.
Starting build.
Creating directories for build environment.
Downloading source.
Executing build.
Build attempt failed, attempting again.
Starting build.
Creating directories for build environment.
Downloading source.
Executing build.
Build failed, reverting project.

[Error] There was a problem deploying your project.

Have you checked your modulus build and server output logs from modulus dashboard? Can you provide them here?

Did you try deploying their demo project to make sure that the issue is somewhere on your project folder and not on their server?

Hi,

I was able to find the root cause of the build failure. It was due to .nvmrc file in the root folder. After deleting the file the build worked fine.