-
Notifications
You must be signed in to change notification settings - Fork 29
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
"Not a directory" error when running 'notion-pdf-export' shell script on some macOS systems #22
Comments
Is this an M1 or Intel Mac? Could you try running the application from the terminal, and see what the error message was? Alternatively, try running the chmod +x ./npe
./npe |
2.9 GHz Quad-Core Intel Core i7 This worked! Thank you so much!! Alternatively, try running the npe file as an executable in the terminal:
|
I feel like I should have known how to do that |
Hmm, it should be working when just double clicking the file though. ./notion-pdf-export in the terminal, and show me what the error says? |
huh... says
and that was invoked in the directory which has the executable file, notion-pdf-export
|
Thanks a lot, I'll look into it! |
Guys, you have to give permission then you should system requirements -> Security. When you run program it won't be work because of Security. You should stop then select 'open anyway' on Security. You should do two times when run program. After all of, program can work perfectly. And It has already saved me hours. Thanks a lot! |
Hi @ganeshh123, Unfortunately, it doesn't work for me. Here is the error message. Can you please help me ? Thanks in advance !! `Last login: Tue Aug 9 16:39:30 on ttys000 Saving session... [Opération terminée] ` |
@thibdonz I am still not sure what causes it, in the mean time, could you try doing what is described in the second comment of this issue? |
yes and get this message. `Last login: Sun Aug 14 20:59:27 on ttys000 Error: EPERM: operation not permitted, scandir '/Users/donzierthibaud/.Trash' Saving session... [Opération terminée] ` |
Oh, sorry. Do you know how to use NodeJS? |
Nope unfortunately :(
—
Thibaud Donzier
☎️ +33 6 78 38 10 75
📧 ***@***.***
Le dim. 14 août 2022, 21:40, Ganesh H ***@***.***> a écrit :
… Oh, sorry. Do you know how to use NodeJS?
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV7AZMJLM4RSSQP75V3R32LVZFDRBANCNFSM43KXAK7A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Another alternative is if you have a Windows machine or Parallels, the Windows version doesn't have this issue, might be worth trying with that. |
This can be solved following these steps:
and with that, all PDFs will be generated. Only requires extra security concerns to be allowed. :) |
Terminal.app flashes up for a hot milisecond, but after placing Notion's HTML export (including sub-pages) files in the app folder, the job never loads. This command is invoked:
/Users/this_user/Desktop/notion-pdf-export_mac_1/notion-pdf-export ; exit;
But no PDFs.
Using zsh.
The text was updated successfully, but these errors were encountered: