Skip to content

Error while building Sunbird ED from scratch  #3412

@chunkomac

Description

@chunkomac

Getting the following error almost 20 times (once for each cordova plugin add command) when running ./build.sh on a completely new clone

> cordova plugin add cordova-plugin-filepath

You have been opted out of telemetry. To change this, run: cordova telemetry on.
Failed to fetch plugin cordova-plugin-filepath@^1.5.8 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: Error: npm: Command failed with exit code 1 Error output:
npm WARN idealTree Removing dependencies.cordova-plugin-filepath in favor of devDependencies.cordova-plugin-filepath
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: sunbirded-mobile-app@0.0.1
npm ERR! Found: @project-sunbird/client-services@5.0.1
npm ERR! node_modules/@project-sunbird/client-services
npm ERR!   @project-sunbird/client-services@"5.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @project-sunbird/client-services@"3.6.x" from @project-sunbird/common-form-elements-v9@5.0.3
npm ERR! node_modules/@project-sunbird/common-form-elements-v9
npm ERR!   @project-sunbird/common-form-elements-v9@"5.0.3" 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.
npm ERR!
npm ERR!
npm ERR! For a full report see:

There seems to be an issue with common-form-elements-v9@5.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions