Issue with Installing File Dependencies in Node Project

Hello everyone,

I’ve recently encountered an issue with my Node.js project while installing file dependencies. This issue has suddenly appeared, although everything was working fine before. I’m hoping to get some insights or solutions from the community.


  • Node.js version: 18.16.0

  • Package manager: Yarn

When attempting to install a file dependency, specifically a .tgz package, the installation process fails with an error. The dependency in question is listed in my package.json as follows:

"dependencies": {

"skills-validator": "file:./skills-validator/skills-validator-1.0.0.tgz"


Error Message:

The error occurs during the build process and is as follows:

Nov 23 12:47:58 AM [4/4] Building fresh packages...

Nov 23 12:48:24 AM error /opt/render/project/src/typescript/node_modules/botbuilder: Command failed.

Nov 23 12:48:24 AM Exit code: 1

Nov 23 12:48:24 AM Command: npm install ./skills-validator/skills-validator-1.0.0.tgz

Nov 23 12:48:24 AM Arguments:

Nov 23 12:48:24 AM info Visit for documentation about this command.

Nov 23 12:48:24 AM Directory: /opt/render/project/src/typescript/node_modules/botbuilder

Nov 23 12:48:24 AM Output:

Nov 23 12:48:24 AM npm ERR! Cannot convert undefined or null to object

Nov 23 12:48:24 AM

Nov 23 12:48:24 AM npm ERR! A complete log of this run can be found in:

Nov 23 12:48:24 AM npm ERR! /opt/render/.cache/_logs/2023-11-22T15_48_04_570Z-debug-0.log

Nov 23 12:48:24 AM ==> Build failed 😞

Has anyone experienced a similar problem or have any suggestions on what might be causing this error and how to resolve it? Any help or guidance would be greatly appreciated.

Thank you in advance!

Hi there,

Seem related to: See if any of the option from the GitHub issue help.


Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.