Capgemini / Capgemini/powerapps-project-template

Install failure for scripts

Open
#63 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
33
Forks
9
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug
_A clear and concise description of what the bug is._
Install scripts dependencies fail after generation.

```
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: tslint@6.1.3
npm ERR! node_modules/tslint
npm ERR! dev tslint@"^6.1.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer tslint@"^5.11.0" from tslint-config-airbnb@5.11.2
npm ERR! node_modules/tslint-config-airbnb
npm ERR! dev tslint-config-airbnb@"^5.11.2" 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! See C:\Users\[redacted]\AppData\Local\npm-cache\eresolve-report.txt for
a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\[redacted]\AppData\Local\npm-cache\_logs\2021-11-01T17_12_54_054Z-debug.log
```

## To reproduce
_Steps to reproduce the behaviour._
1. Generate a new project
2. Generate a new solution
3. Generate scripts for solution
4. Run `Compile` task

## Expected behaviour
_A clear and concise description of what you expected to happen._
Build to succeed.

## Screenshots
_If applicable, add screenshots to help explain your problem._

## Environment (please complete the following information):
- yo version
- generator-powerapps-project version
- Power Apps CLI version
- Power Apps environment version
- Node version v17.01

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.