Comments (10)
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.
You probably need to build the client:
$ npm install
$ npm run webpack
from flamescope.
You probably need to build the client:
$ npm install $ npm run webpack
from flamescope.
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.
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.
Caused by: #150
from flamescope.
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.
@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.
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.
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)
- Use npm or yarn (not both) HOT 1
- add an upload endpoint HOT 2
- more caching in parsed events
- Adding eBPF profiler support HOT 1
- Python 3.8 doesn't work with Werkzeug 0.15.3 in current requirements.txt HOT 2
- Can I ask where is the pip package? HOT 1
- ImportError: cannot import name 'Feature' from 'setuptools' HOT 4
- perf flamegraphs: no tooltips HOT 5
- Heatmap offsets memory cache not being populated
- Missing samples in what flamescope displays HOT 2
- missing button icons
- sluggish interaction with d3 plugins HOT 1
- No pre-built client bundle in the master branch HOT 4
- Add y-axis label markers to help people understand the visualisation HOT 2
- HTTP ERROR 404 HOT 1
- UnicodeDecodeError exception is raised when an unreadable file is in profile dir
- Is it possible to add a new record player or delete function on the web? HOT 1
- How do you use these two functions? (Open as Netflix Profile/Open as Chrome CPU Profile) HOT 1
- Idle regexp eats up softirq frames HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flamescope.