Unable to Build my node Project

Specify configs in the ini-formatted file:
Dec 27 02:59:12 PM /opt/render/.npmrc
Dec 27 02:59:12 PM or on the command line via: npm --key value
Dec 27 02:59:12 PM Config info can be viewed via: npm help config
Dec 27 02:59:12 PM
Dec 27 02:59:12 PM npm@6.14.13 /usr/local/lib/node_modules/npm
Dec 27 02:59:12 PM
Dec 27 02:59:12 PM npm ERR! code ELIFECYCLE
Dec 27 02:59:12 PM npm ERR! errno 1
Dec 27 02:59:12 PM npm ERR! lit-ntml@3.0.6 postinstall: bash postinstall.bash
Dec 27 02:59:12 PM npm ERR! Exit status 1
Dec 27 02:59:12 PM npm ERR!
Dec 27 02:59:12 PM npm ERR! Failed at the lit-ntml@3.0.6 postinstall script.
Dec 27 02:59:12 PM npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Dec 27 02:59:12 PM
Dec 27 02:59:12 PM npm ERR! A complete log of this run can be found in:
Dec 27 02:59:12 PM npm ERR! /opt/render/.cache/_logs/2022-12-27T09_29_12_474Z-debug.log
Dec 27 02:59:12 PM ==> Build failed :disappointed:
Dec 27 02:59:12 PM ==> Generating container image from build. This may take a few minutes…

Hi there,

The trace you shared shows the error coming from lit-ntml at version 3.0.6 when trying to run its postinstall script. Which seems to call npm again.

At a guess, I’d suggest making sure your Node version is set to the same one you develop on. Docs here on the various ways to Specify a Node Version.

Hope that helps

Alan

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