Closed yunaHwang closed 1 year ago
Hi @yunaHwang,
Thanks for your interest in FRET!
I see that it fails at npm run fret-install. What node version are you using? Also which version of FRET are you using? Is it the latest (v2.6.0)?
In general, for M1 architectures please follow the following steps after cloning FRET:
Thanks, Anastasia
Hi, @anmavrid thanks for the prompt response.
I am using v16.16.0
for node and my FRET version is v 2.6.0
.
Thanks, Yuna
Thanks. Could you please send me the complete log?
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/yuna_hwang/.npm/_logs/2023-05-18T19_41_49_606Z-debug-0.log
2023-05-18T19_41_49_606Z-debug-0.log
Here it is. The content is very long so here I send the entire file.
Thanks! It looks like this is due to the specific node version on M1 architectures.
Could you please try the following:
Downgrade to node version v16.15.1
. The easiest way to do that is through nvm (node version manager). Just install nvm and then simply do nvm install 16.15.1
.
Verify that you are running the correct node version (node --version
)
Then do:
cd fret/fret-electron
npm run fret-reinstall
Notice that it is fret-reinstall and not fret-install in the above command.
Let me know if that works.
2023-05-19T00_55_34_628Z-debug-0.log
Thanks for taking a look at that!
I installed node v16.15.1
. Unfortunately, this time there seems to be another issue. I attached the log.
Update: it's working now! I did steps 3- 7
first and then ran npm fret-reinstall
3. cd app (under fret/fret-electron/)
4. npm install leveldown@latest
5. Edit package-lock.json (under fret/fret-electron/app/)
6. Change leveldown dependency: “^5.4.0” under node_modules/level to “^6.0.3”
7. Change leveldown dependency: “5.6.0” under node_modules/pouchdb to “^6.0.3”
Downgrading to a lower node version did help, all I had to fix was the leveldown
package issue. Thanks for your help.
Great, Yuna!
I am closing this issue.
Anastasia
Hi,
I am having trouble installing FRET on my M1 Mac. When running
npm run fret-install
, there seems to be a webpack issue that prohibits the dependencies from being installed. Below is the full error message generated.Thanks in advance.