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

Upon updating node, an Error occurs. #238

Open
olefson opened this issue Jan 15, 2023 · 2 comments
Open

Upon updating node, an Error occurs. #238

olefson opened this issue Jan 15, 2023 · 2 comments
Assignees
Labels

Comments

@olefson
Copy link

olefson commented Jan 15, 2023

image

@cobiwave cobiwave self-assigned this Jan 24, 2023
@cobiwave
Copy link
Owner

Hi @olefson

I see you are using node v18, I would recommend you to install the node version the project uses. You can see it here: https://github.com/cobiwave/simplefolio/blob/master/.nvmrc

Please update your working branch with master branch and then remove the node_modules/ folder.

After switching the node version to v16.14.2, run npm install and test again.

@Try-Code
Copy link

Hi @olefson
The "No native build was found" error related to node-gyp and LMDB on a Windows system, follow these steps: First, ensure that you have the necessary build tools installed. You can install them globally using npm install -g windows-build-tools, or manually install Python (either Python 2.7 or 3.x) and Visual Studio Build Tools with the "Desktop development with C++" workload. After installing these tools, rebuild the native node-gyp modules by running npm rebuild or npm rebuild --build-from-source. If issues persist, clear the node_modules directory and reinstall packages by running rm -rf node_modules && npm install. Additionally, ensure you are using a compatible version of Node.js (check with node -v), and update it if necessary. You may also need to check LMDB compatibility and install a compatible version using npm install lmdb@compatible_version. By following these steps, the native build issue should be resolved.

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

No branches or pull requests

3 participants