-
-
Notifications
You must be signed in to change notification settings - Fork 267
README.md Example Results in Errors #501
Comments
The documentation in our Regarding the second error ( @ralphtheninja let's release 2.0.0 soon and/or try to clarify all of this in the readme. |
@vweevers I want to get it out this week the latest. |
I recognize the version mismatch in the second error, and created a fresh folder with the 6.11.4 LTS bin in the folder and nothing else. Re-created the project and receive that error. Perhaps this is a node/npm issue where it reports the system installed node version when installing the levelup/leveldown modules and ignores the node version in the folder? Running I'll look into jumping into the 2.0.0 then. |
Do you mean that you placed a For managing different node versions, I recommend nvm or this one if you're on Windows. |
Yes. On Windows, placing the NodeJS binary ( It seems the installation of levelup/leveldown ignores or gets an incorrect NodeJS version of the current running NodeJS version and grabs the global NodeJS version. This may be an issue with NPM/NodeJS misreports it during the npm install, I have no idea. You can (on Windows at least, unsure about Mac/Linux) leave a |
When you run |
Makes sense. I would have to leave the npm script and the rest of the files with the |
Not entirely moot, you'll still need to install leveldown ;) but it is a digression 👍 Feel free to reopen. |
Does |
It supports both 6 and 8. I was referring to your |
The example provided in the
README.md
:installed with:
errors with the following with Node ver. 8.3.0:
and the following in Node ver. 6.11.4.
The text was updated successfully, but these errors were encountered: