Open Davoleo opened 2 years ago
can't currently be solved, it's a bug. until it's fixed use the notion-repackaged installation instead @SalemNabeelSalem
I can get it to work by editing this line to fix the inserted require
statement as
`\n\n//notion-enhancer\nrequire('notion-enhancer')('${target.replace(/\\/g, "/")}', exports, (js) => eval(js))`
// target.replace(/\\/g, "\\\\")} would also work I guess
I don't know if this is the best way but it shouldn't affect other platforms.
before:
require
:
backslash \ ⇒ slash /
but Notion launched with circle round and round forever.
Not work on Windows 11 21H2 22000.434
after:
Don't modify any files after cmd notion-enhancer apply
. Ignore what the bug notify message window while open Notion.exe.
Just download Notion-enhancer.exe which called Installer under Windows part.
Open with Notion-enhancer.exe from now on:
(ps. don't open with Notion.exe)
What is happening? Notion doesn't start but crashes with JavaScript error after applying
notion-enhancer
What should be happening? Notion should be launched correctly
Screenshots (if applicable):![image](https://user-images.githubusercontent.com/24458276/147855096-c3cbc535-999e-456d-b3d7-9d00c02b9394.png)
Operating system/browser name & version: Windows 10 21H2
notion-enhancer and/or notion-repackaged version:
notion-enhancer/0.11.0 win32-x64/10.0.19044 node/v16.9.0