Comments (12)
The command is
export PATH="$PATH:/Users/matteog24/freyr-js/freyr-js/bins/posix/AtomicParsley"
, right? I tried using the last 2 methods, but the terminal sayszsh: permission denied
, even after performing achmod +x
Actually no, what you should include in your path is the directory where AtomicParsley
is, which in this case, considering the path you gave, should be
export PATH="$PATH:/Users/matteog24/freyr-js/freyr-js/bins/posix"
from freyr-js.
And, congrats on your first issue! 🎉
from freyr-js.
Let me try reproducing this, in the meantime you can try adding that directory to your PATH.
export PATH="$PATH:{project_dir}/bins/posix/AtomicParsley"
Replacing {project_dir}
with the absolute path to the project
Or simply just run this (if the freyr command is available in your path)
export PATH="$PATH:$(dirname $(realpath $(which freyr)))/bins/posix"
EDIT:
I just realized macOS doesn't by default have the realpath
command so the above shortcut might not work
You can either install coreutils
with brew or use this instead
export PATH="$PATH:$(dirname $(python -c "import os;print(os.path.realpath('$(which freyr)'))"))/bins/posix"
from freyr-js.
Also, please ensure you can run the AtomicParsley
binary manually.
I mean, try cd
into that bins/posix
folder and run ./AtomicParsley
.
Maybe it's not set to be executable or there's an issue with the file.
If it runs fine, then it's an issue with discoverability on freyr
's part (hint: it was)
from freyr-js.
Fixed on #37.
freyr
's local path resolution was all sorts of wrong in the weirdest way (for clarity, it was checking bins/posix
in the current directory, instead of the project directory).
Should be good now.
EDIT: merged into master, you can go ahead to update.
from freyr-js.
Thanks! I tried again after updating, but it doesn't work (because I don't know much about programming...), just to be sure: where can the PATH
be added? Is it okay from the terminal within the project directory?
The command is export PATH="$PATH:/Users/matteog24/freyr-js/freyr-js/bins/posix/AtomicParsley"
, right? I tried using the last 2 methods, but the terminal says zsh: permission denied
, even after performing a chmod +x
from freyr-js.
After the update, it doesn't need the PATH
to be set
Just having it in the bins/posix
folder should do fine
For me to know the appropriate paths for your system, please include the outputs of the following commands
-
ls /Users/matteog24/freyr-js
-
echo $(dirname $(python -c "import os;print(os.path.realpath('$(which freyr)'))"))
-
file /Users/matteog24/freyr-js/freyr-js/bins/posix/AtomicParsley
-
file /Users/matteog24/freyr-js/bins/posix/AtomicParsley
I believe you might have an extra /freyr-js/
in that path
- file /Users/matteog24/freyr-js/freyr-js/bins/posix/AtomicParsley
+ file /Users/matteog24/freyr-js/bins/posix/AtomicParsley
from freyr-js.
You might also need to confirm the commit you're on after the update
git --git-dir="$(dirname $(python -c "import os;print(os.path.realpath('$(which freyr)'))"))/.git" rev-parse --short HEAD
from freyr-js.
Or better still, if you have Docker installed already, use the docker image
from freyr-js.
export PATH="$PATH:/Users/matteog24/freyr-js/freyr-js/bins/posix"
This worked! There was a double freyr-js folder (I'm not very organized...), but the real issue was writing the directory of AtomicParsley and not the folder!
Thank you so much!
from freyr-js.
Yeah, it's good that worked but ensure you have the latest version of freyr
installed, so you don't need to keep setting the PATH
to include bins/posix
.
The latest versions should appropriately find AtomicParsley
for you so you don't have to.
from freyr-js.
Yeah, it's good that worked but ensure you have the latest version of
freyr
installed, so you don't need to keep setting thePATH
to includebins/posix
.The latest versions should appropriately find
AtomicParsley
for you so you don't have to.
Yes! When you updated the repo, I immediately updated it too to make sure about the issues about the path
from freyr-js.
Related Issues (20)
- ERROR: Unable to download API page: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed HOT 4
- Freyr downloading different tracks that don't match actual tracks from album HOT 19
- Request failed with status code 401 HOT 7
- SUGGESTION / Download all Albums of one Artist HOT 1
- I'm getting the error ' [An error occured while communicating with Spotify's Web API]' when trying to download my spotify playlist HOT 3
- how to solve the problem "failed: [Request failed with status code 401]) [i] An error occurred while processing the query" HOT 8
- An error code appears when req spotify and apple music
- Couldn't find package "async@^3.2.4" required by "freyr" on the "npm" registry. HOT 2
- Freyr (failed: Unexpected postprocessing error [Invalid typed array length: undefined]) HOT 4
- How to do i download manually from youtube? HOT 1
- Apple Music 401 Error HOT 1
- Giant File size HOT 3
- Very large file size HOT 6
- Freyr freezes consistently on certain albums/songs in [Embedding Metadata] stage HOT 9
- High memory usage HOT 1
- freyr downloading song that has gameplay audio HOT 2
- Help in running freyr HOT 3
- Error retrieving an Apple Music playlist HOT 7
- Working directory [.] doesn't exist HOT 2
- Downloaded files are all 2.15 GB in size HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freyr-js.