Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while building Sunbird ED from scratch #3412

Open
chunkomac opened this issue May 22, 2023 · 1 comment
Open

Error while building Sunbird ED from scratch #3412

chunkomac opened this issue May 22, 2023 · 1 comment

Comments

@chunkomac
Copy link

chunkomac commented May 22, 2023

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: [email protected]
npm ERR! Found: @project-sunbird/[email protected]
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/[email protected]
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 [email protected]

@chunkomac
Copy link
Author

I think there are conflicting asks for dependency @sb/client-services ... one directly and one through common-form-elements-v9. Both of them have different major versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant