Giter VIP home page Giter VIP logo

Comments (10)

zpget avatar zpget commented on September 12, 2024 1

Error 500 Unknown mime type. image

You probably need to build the client:

$ npm install
$ npm run webpack

GET /heatmap/?filename=perf.test01&type=perf&rows=50 HTTP/1.1" 500
node version v18.12.1

from flamescope.

duarten avatar duarten commented on September 12, 2024

You probably need to build the client:

$ npm install
$ npm run webpack

from flamescope.

zpget avatar zpget commented on September 12, 2024

Error 500
Unknown mime type.
image

You probably need to build the client:

$ npm install
$ npm run webpack

from flamescope.

Desislav-Petrov avatar Desislav-Petrov commented on September 12, 2024

Had the same issue (nothing at url) - the npm install commands fixed it, doing a PR to update the readme. Thanks for the suggested fix @zpget

from flamescope.

akochepasov avatar akochepasov commented on September 12, 2024

I had the same issue. Rinning python run.py resulted in the "Sorry, Nothing at this URL." error. Installing

$ npm install
$ npm run webpack

fixed it.

from flamescope.

JSoet avatar JSoet commented on September 12, 2024

Caused by: #150

from flamescope.

SinOverCos avatar SinOverCos commented on September 12, 2024

This doesn't quite fix it for me:

flamescope (master @ be26595) ~> npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 908 packages from 462 contributors in 14.683s

105 packages are looking for funding
  run `npm fund` for details


flamescope (master @ be26595) ~> npm run webpack

> [email protected] webpack /tmp/dockerv/flamescope
> NODE_ENV=production webpack --mode production

[webpack-cli] SyntaxError: Invalid regular expression: /(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/: Invalid escape
    at pathToArgumentName (/tmp/dockerv/flamescope/node_modules/webpack/lib/cli.js:66:4)
    at addFlag (/tmp/dockerv/flamescope/node_modules/webpack/lib/cli.js:170:16)
    at traverse (/tmp/dockerv/flamescope/node_modules/webpack/lib/cli.js:243:21)
    at traverse (/tmp/dockerv/flamescope/node_modules/webpack/lib/cli.js:299:23)
    at traverse (/tmp/dockerv/flamescope/node_modules/webpack/lib/cli.js:248:24)
    at Object.getArguments (/tmp/dockerv/flamescope/node_modules/webpack/lib/cli.js:308:2)
    at WebpackCLI.getBuiltInOptions (/tmp/dockerv/flamescope/node_modules/webpack-cli/lib/webpack-cli.js:905:41)
    at makeCommand (/tmp/dockerv/flamescope/node_modules/webpack-cli/lib/webpack-cli.js:1066:22)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] webpack: `NODE_ENV=production webpack --mode production`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] webpack script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/tanwang/.npm/_logs/2023-10-18T15_26_44_965Z-debug.log

from flamescope.

JSoet avatar JSoet commented on September 12, 2024

@SinOverCos
That looks like a separate error that the project isn't building properly for you (although strangely it looks like it's an error in the webpack code), I'd open a separate issue about that

from flamescope.

GoodDayGeorge avatar GoodDayGeorge commented on September 12, 2024

This also doesn't quite fix it for me:

Ubuntu 20.04.6 LTS nodejs v10.19.0

$ npm run webpack
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 908 packages from 462 contributors in 9.671s

109 packages are looking for funding
  run `npm fund` for details

$ npm run webpack

> [email protected] webpack /home/zhuxing/flamescope
> NODE_ENV=production webpack --mode production

Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
assets by status 592 KiB [cached] 2 assets
orphan modules 462 KiB [orphan] 339 modules
runtime modules 1.25 KiB 6 modules
modules by path ./node_modules/ 1.14 MiB 400 modules
modules by path ./src/ 309 KiB
  ./src/index.jsx + 145 modules 308 KiB [built] [code generated]
  ./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/components/FlameGraph/flamegraph.less 497 bytes [built] [code generated]
  ./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/components/Heatmap/heatmap.less 1020 bytes [built] [code generated]
./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./semantic/semantic.less 39 bytes [built] [code generated] [1 error]

ERROR in ./semantic/semantic.less (./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./semantic/semantic.less)
Module build failed (from ./node_modules/less-loader/dist/cjs.js):


@import url(https://fonts.googleapis.com/css?family=Roboto);
^
Resource 'https://fonts.googleapis.com/css?family=Roboto' gave this Error:
  Error: socket hang up

      Error in  /home/zhuxing/flamescope/node_modules/semantic-ui-less/themes/material/collections/menu.overrides (line 1, column 0)
Error:

@import url(https://fonts.googleapis.com/css?family=Roboto);
^
Resource 'https://fonts.googleapis.com/css?family=Roboto' gave this Error:
  Error: socket hang up

      Error in  /home/zhuxing/flamescope/node_modules/semantic-ui-less/themes/material/collections/menu.overrides (line 1, column 0)
    at Object.lessLoader ( /home/zhuxing/flamescope/node_modules/less-loader/dist/index.js:54:14)
 @ ./semantic/semantic.less 8:6-171 22:17-24 26:0-141 26:0-141 27:22-29 27:33-47 27:50-64
 @ ./src/App.jsx 23:0-35
 @ ./src/index.jsx 25:0-24 34:7-10

webpack 5.58.2 compiled with 1 error in 34687 ms
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] webpack: `NODE_ENV=production webpack --mode production`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] webpack script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!      /home/zhuxing/.npm/_logs/2023-10-26T14_06_57_007Z-debug.log

from flamescope.

GoodDayGeorge avatar GoodDayGeorge commented on September 12, 2024

okay, I copy the app/public from https://github.com/Netflix/flamescope/tree/v0.2.0 to the master branch, it works. Consider it as a temporary workaround.

from flamescope.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.