question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warning with lighthouse CI on build

See original GitHub issue

Current Behavior

After adding lighthouse ci to a nx workspace, it adds a .lighthouseci folder for report files when running the ci locally.

image

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:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
Areen3commented, Sep 12, 2020

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

image

3reactions
geromegrignoncommented, Sep 3, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found