Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building from sources #11

Closed
matthenning opened this issue Jun 15, 2018 · 0 comments
Closed

Error when building from sources #11

matthenning opened this issue Jun 15, 2018 · 0 comments

Comments

@matthenning
Copy link
Contributor

I tried to build from source to verify #9 but ran into eom errors:

mathenning@redacted:~/grafana-multibar-graph-panel$ npm run build
npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ]
npm info using [email protected]
npm info using [email protected]
npm verb run-script [ 'prebuild', 'build', 'postbuild' ]
npm info lifecycle [email protected]~prebuild: [email protected]
npm sill lifecycle [email protected]~prebuild: no script for prebuild, continuing
npm info lifecycle [email protected]~build: [email protected]

> [email protected] build /home/mathenning/grafana-multibar-graph-panel
> webpack --config build/webpack.prod.conf.js

ts-loader: Using [email protected] and /home/mathenning/grafana-multibar-graph-panel/tsconfig.json
Hash: 9fd4e9cde9fb5b0c9652
Version: webpack 3.12.0
Time: 3967ms
                    Asset     Size  Chunks                    Chunk Names
                module.js   490 kB       0  [emitted]  [big]  main
partials/axes_editor.html  3.39 kB          [emitted]
partials/tab_display.html  6.54 kB          [emitted]
 partials/tab_legend.html  2.94 kB          [emitted]
  [11] ./module.ts 12 kB {0} [built] [1 error]
  [12] ./graph.ts 27.7 kB {0} [built] [2 errors]
  [13] ./vendor/flot/jquery.flot.time.js 11.7 kB {0} [built]
  [14] ./vendor/flot/jquery.flot.selection.js 13.6 kB {0} [built]
  [15] ./vendor/flot/jquery.flot.orderbars.js 5.62 kB {0} [built]
  [16] ./vendor/flot/jquery.flot.stack.js 7.26 kB {0} [built]
  [17] ./vendor/flot/jquery.flot.stackpercent.js 4.3 kB {0} [built]
  [18] ./vendor/flot/jquery.flot.fillbelow.js 9.92 kB {0} [built]
  [19] ./vendor/flot/jquery.flot.crosshair.js 5.42 kB {0} [built]
  [29] ./legend.ts 10.2 kB {0} [built]
  [31] ./series_overrides_ctrl.ts 5.57 kB {0} [built]
  [32] ./thresholds_form.ts 5.02 kB {0} [built]
  [34] ./template.ts 301 bytes {0} [built]
  [37] ./data_processor.ts 7.12 kB {0} [built]
  [38] ./axes_editor.ts 2.44 kB {0} [built]
    + 24 hidden modules

ERROR in ./module.ts
(303,27): error TS2339: Property 'yaxis' does not exist on type '{ alias: {}; }'.

ERROR in ./graph.ts
(491,29): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.

ERROR in ./graph.ts
(495,17): error TS2554: Expected 1 arguments, but got 2.

npm verb lifecycle [email protected]~build: unsafe-perm in lifecycle true
npm verb lifecycle [email protected]~build: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/mathenning/grafana-multibar-graph-panel/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/puppetlabs/bin
npm verb lifecycle [email protected]~build: CWD: /home/mathenning/grafana-multibar-graph-panel
npm sill lifecycle [email protected]~build: Args: [ '-c', 'webpack --config build/webpack.prod.conf.js' ]
npm sill lifecycle [email protected]~build: Returned: code: 2  signal: null
npm info lifecycle [email protected]~build: Failed to exec build script
npm verb stack Error: [email protected] build: `webpack --config build/webpack.prod.conf.js`
npm verb stack Exit status 2

Debian 9.4
npm 3.10.10
node v6.14.2
typescript 2.9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant