influxdata / influxdb

Scalable datastore for metrics, events, and real-time analytics
https://influxdata.com
Apache License 2.0
29.07k stars 3.56k forks source link

Mention node version when building from source #15773

Open nwneisen opened 5 years ago

nwneisen commented 5 years ago

I have PopOS 18.04 installed which is based off of Ubuntu 18.04. I had the default version of node (8.10.0) installed using apt and this was too old to build InfluxDB. It would be good to mention the needed version of node (10.13.0) in the "Building From Source" section of the project's README.md.

Steps to reproduce: List the minimal actions needed to reproduce the behavior.

  1. Change node version to be below 10.13.0
  2. Run make in the root of the InfluxDB project

Expected behavior: Project successfully builds. I don't expect a successful build with an incorrect version but it was a dependency I didn't check before hand.

Actual behavior: There is an error about an incorrect node version

error @typescript-eslint/eslint-plugin@2.6.0: The engine "node" is incompatible with this module. Expected version "^8.10.0 || ^10.13.0 || >=11.10.1". Got "10.5.0"

Followed by errors that look more Go related

chronograf/canned/bin.go:20:11: undefined: AssetNames
chronograf/canned/bin.go:23:18: undefined: Asset
# github.com/influxdata/influxdb/chronograf/dist
chronograf/dist/dist.go:39:13: undefined: AssetInfo
chronograf/dist/dist.go:59:18: undefined: Asset
chronograf/dist/dist.go:74:11: undefined: Asset
chronograf/dist/dist.go:83:14: undefined: AssetDir
chronograf/dist/dist.go:84:14: undefined: AssetInfo
Makefile:68: recipe for target 'bin/linux/influx' failed
make: *** [bin/linux/influx] Error 2

Environment info: PopOS 18.04

Config: NA

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.