Not able to build the project #938
GirishKumarSharma
started this conversation in
General
Replies: 1 comment 2 replies
-
I don't know how it worked but today morning (after shutting down the PC) when I said : npm config set legacy-peer-deps true and then : ✓ Ensuring frontend dependencies are up to date (This may take a while) It got working. Now, I will explore more. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is my environment info on my home learning PC :
go version go1.17 linux/amd64
npm version 7.5.2
node version v12.22.5
OS : Ubuntu 21.10
Wails : v1.16.8
wails init worked without any error, but when I says wails build, I got this error message :
(base) girish@girish-System-Product-Name:~$ wails build
Wails v1.16.8 - Building Application
Error: unable to find 'project.json'. Please check you are in a Wails project directory
(base) girish@girish-System-Product-Name:
$ cd prj2//prj2$ wails build(base) girish@girish-System-Product-Name:
Wails v1.16.8 - Building Application
⣷ Ensuring frontend dependencies are up to date (This may take a while)npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/core
npm ERR! @angular/core@"~8.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/core@"8.2.14" from @angular/[email protected]
npm ERR! node_modules/@angular/animations
npm ERR! @angular/animations@"^8.0.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 /home/girish/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/girish/.npm/_logs/2021-11-13T13_50_54_832Z-debug.log
✗ Ensuring frontend dependencies are up to date (This may take a while)
Error: exit status 1
Kindly let me know, if I need to provide more info to get the solution.
Beta Was this translation helpful? Give feedback.
All reactions