Skip to content

Cant run the profiler from DevTools #128

Closed

Description

@rwakos

Hi all, I read all the suggestions, and also tried:

npm run build --profile

But it goes to infinite loop:

`> build

cd ./playground && npm run build --profile

build
cd ./playground && npm run build --profile

build
cd ./playground && npm run build --profile

build
cd ./playground && npm run build --profile

build
cd ./playground && npm run build --profile`

So I can not start a profile with the DevTools, what can I do?

Activity

  1. kentcdodds commented on Oct 3, 2024

    @kentcdodds
    Member

    I cannot reproduce this issue. Here's what I get when I run that after setting the playground to exercise 5:

    ~/code/epicweb-dev/react-performance (main) 🤖
    $ npm run build
    
    > build
    > cd ./playground && npm run build
    
    
    > exercises__sep__05.calculations__sep__01.solution.use-memo@0.0.0 build
    > tsc && vite build
    
    vite v5.3.1 building for production...
    ✓ 59 modules transformed.
    dist/index.html                     0.57 kB │ gzip:   0.33 kB
    dist/assets/index-B27bX4Le.css      0.36 kB │ gzip:   0.20 kB
    dist/assets/index-BlNrP4w1.js   1,271.09 kB │ gzip: 315.91 kB
    
    (!) Some chunks are larger than 500 kB after minification. Consider:
    - Using dynamic import() to code-split the application
    - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions