flamescope
flamescope copied to clipboard
Nothing at this URL
init info:
- Serving Flask app 'app' (lazy loading)
- Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
- Debug mode: on
- Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
- Restarting with stat
- Debugger is active!
- Debugger PIN: 302-914-847
visit http://127.0.0.1:5000/, get { "error": "Sorry, Nothing at this URL." }
You probably need to build the client:
$ npm install
$ npm run webpack
Error 500
Unknown mime type.
You probably need to build the client:
$ npm install $ npm run webpack
Error 500 Unknown mime type.
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
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
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.
Caused by: https://github.com/Netflix/flamescope/issues/150
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
@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
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
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.