My Oracle Support Banner

Packaging Steps npm install of grunt Fails With "Could not resolve dependency" Error (Doc ID 2820241.1)

Last updated on JANUARY 05, 2023

Applies to:

Visual Builder Studio - Version 20.10 and later
Information in this document applies to any platform.

Symptoms

The npm install of grunt for vb-build package shows error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: <APP>@<VERSION>
npm ERR! Found: grunt@<VERSION>
npm ERR! node_modules/grunt
npm ERR! dev grunt@"^<VERSION>" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer grunt@"~<VERSION>" from grunt-connect-proxy@<VERSION>
npm ERR! node_modules/grunt-connect-proxy
npm ERR! dev grunt-connect-proxy@"^<VERSION>" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.


Changes

Updating package.json to latest vb-build and vb-audit packages.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.