Warning with lighthouse CI on build
See original GitHub issueCurrent Behavior
After adding lighthouse ci to a nx workspace, it adds a .lighthouseci folder for report files when running the ci locally.
After that on building an app within the nx workspace, a warning appears :
Warning: Fell back to using 'fs' to identify .lighthouseci/lhr-1598951258904.html as deleted. Please open an issue at https://github.com/nrwl/nx so we can investigate.
Expected Behavior
Steps to Reproduce
Here is a repo to reproduce it : https://github.com/geromegrignon/spoon-starter :
- run nx build
- run npm run lhci
- run nx build <-- error in the console
Here are the steps starting from scratch :
- create a nx workspace with a default angular app
- install the lighthouse ci CLI : npm install -g @lhci/cli
- add a .lighthouserc.js config file :
module.exports = {
ci: {
collect: {
staticDistDir: './dist/apps/<app-name>',
},
upload: {
target: 'temporary-public-storage',
},
},
};
- run nx build
- run lhci autorun
- run nx build <-- error displayed in the console
Failure Logs
Warning: Fell back to using 'fs' to identify .lighthouseci/lhr-1598951258904.html as deleted. Please open an issue at https://github.com/nrwl/nx so we can investigate.
Environment
nx : Not Found
@nrwl/angular : 10.1.0
@nrwl/cli : 10.1.0
@nrwl/cypress : 10.1.0
@nrwl/eslint-plugin-nx : Not Found
@nrwl/express : Not Found
@nrwl/jest : 10.1.0
@nrwl/linter : Not Found
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 10.1.0
@nrwl/web : Not Found
@nrwl/workspace : 10.1.0
typescript : 3.9.7
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Performance monitoring with Lighthouse CI - web.dev
A single Lighthouse report provides a snapshot of a web page's performance at the time that it is run; Lighthouse CI shows how...
Read more >Continuous Performance Analysis with Lighthouse CI and ...
Lighthouse is a free and open-source tool for assessing your website's performance, accessibility, progressive web app metrics, SEO, ...
Read more >Measure the performance of a web application with ...
Run Lighthouse on GitLab CI · with allow_failure: false , if it fails then the pipeline fails; · using the property script ,...
Read more >Continuously optimize your website with Lighthouse CI
As an efficient set of free, open-source tools, Lighthouse CI is a great choice for evaluating the performance of web pages and apps....
Read more >Lighthouse GitLab CI for a Jekyll website times out
I haven't found any complete examples for Jekyll + Lighthouse GitLab jobs. The Jekyll build job is based on ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi that is not a nx problem, it apears when: create file in location build/serve move file in another location
previous location shows warning but when you commit warnigns disappear
Hey @mandarini,
I feel sorry for that, i can’t reproduce it anymore myself.
I’ll close the issue by now. @tonivj5 please open a dedicated issue