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

bug: Can't start the project #37

Closed
SonnyAD opened this issue Dec 1, 2022 · 5 comments
Closed

bug: Can't start the project #37

SonnyAD opened this issue Dec 1, 2022 · 5 comments
Labels
bugfix Inconsistencies or issues which will cause a problem for users or implementors.

Comments

@SonnyAD
Copy link

SonnyAD commented Dec 1, 2022

Bug Report

Hadmean version: latest on npm? and master on git

Current behavior:

I tried to run: npx hadmean But it seems to fail silently, and my folder is empty. Log below:

$ npx hadmean
Need to install the following packages:
  hadmean@0.0.51
Ok to proceed? (y) y
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs

So instead of that, I tried to clone the repo to run it locally that way. But npm i fails.

$ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: hadmean@0.0.51
npm ERR! Found: react@18.1.0
npm ERR! node_modules/react
npm ERR!   react@"18.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from react-final-form-arrays@3.1.3
npm ERR! node_modules/react-final-form-arrays
npm ERR!   react-final-form-arrays@"^3.1.3" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\Sonny\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Sonny\AppData\Local\npm-cache\_logs\2022-12-01T08_53_57_626Z-debug-0.log

Expected behavior:

Hadmean starts

Steps to reproduce:

npx hadmean

or

git clone https://github.com/hadmean/hadmean
cd hadmean
npm i

Other information:

I run on Windows with node 16 and npm 8.

@SonnyAD SonnyAD added the bugfix Inconsistencies or issues which will cause a problem for users or implementors. label Dec 1, 2022
@thrownullexception
Copy link
Contributor

Please can you use yarn to run it locally. Will look into the npx issue

@SonnyAD
Copy link
Author

SonnyAD commented Dec 1, 2022

With yarn it's failing here at the moment, I will try to update my version of node.

Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: C:\Users\Sonny\Documents\hadmean\node_modules\sqlite3
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@1.0.9
node-pre-gyp info using node@16.17.0 | win32 | x64
node-pre-gyp info check checked for "C:\Users\Sonny\Documents\hadmean\node_modules\sqlite3\lib\binding\napi-v6-win32-unknown-x64\node_sqlite3.node" (not found)
node-pre-gyp http GET https://github.com/TryGhost/node-sqlite3/releases/download/v5.0.8/napi-v6-win32-unknown-x64.tar.gz
node-pre-gyp info install unpacking napi-v6-win32-unknown-x64/node_sqlite3.node
node-pre-gyp ERR! Completion callback never invoked!
node-pre-gyp ERR! System Windows_NT 10.0.22000
node-pre-gyp ERR! command "C:\\Users\\Sonny\\.nvm\\versions\\node\\v16.17.0\\bin\\node.exe" "C:\\Users\\Sonny\\Documents\\hadmean\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build

@thrownullexception
Copy link
Contributor

Please can you share your exact node and npm version? I have access to a windows PC with node 16.16.0 and npm 8.11.0 and it is running on it

@thrownullexception
Copy link
Contributor

I haven't be able to reproduce this but I move the project from yarn to npm, Hopefully that will fix this

@SonnyAD
Copy link
Author

SonnyAD commented Dec 2, 2022

Hi, I have now: node 16.17.0 and npm 8.15.0

@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bugfix Inconsistencies or issues which will cause a problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

2 participants