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

Install failure for scripts #63

Open
tdashworth opened this issue Nov 2, 2021 · 3 comments
Open

Install failure for scripts #63

tdashworth opened this issue Nov 2, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@tdashworth
Copy link
Contributor

tdashworth commented Nov 2, 2021

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: [email protected]
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 [email protected]
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
@tdashworth tdashworth added the bug Something isn't working label Nov 2, 2021
@tdashworth tdashworth changed the title Build failure for scripts Install failure for scripts Nov 2, 2021
@tdashworth
Copy link
Contributor Author

Confirmed I get the same issue.

@tdashworth
Copy link
Contributor Author

I think this is another Node v17 error.

Running npm install --legacy-peer-deps resolves this.

Long term I think we need to update our versions/move to eslint since tslint is deprecated.

@tdashworth
Copy link
Contributor Author

TSLint has been deprecated in favor of ESLint. Please see palantir/tslint#4534 for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant