*done* error: Package subpath './public/extractFiles' is not defined by "exports" in C:\wiki\node_modules\extract-files\package.json #6656
Replies: 2 comments 4 replies
-
here is the answer i search: "exports": { the question can be closed. |
Beta Was this translation helpful? Give feedback.
-
Hi , i am also facing same issue , even i added above exports section in package.json file , |
Beta Was this translation helpful? Give feedback.
-
Hello, I use google translator because my English is not good enough to describe the problem.
Server 2016 Standard (all updates)
Wiki.js - Wiki.js 2.5.300
Node.js - V18.17.1 or v20.5.1
After setting up an SQL database without instructions, I start the whole thing with Powershell: node.server
PS C:\wiki> node server
Loading configuration from C:\wiki\config.yml... OK
2023-08-17T21:30:38.560Z [MASTER] info: =======================================
2023-08-17T21:30:38.561Z [MASTER] info: = Wiki.js 2.5.300 =====================
2023-08-17T21:30:38.562Z [MASTER] info: =======================================
2023-08-17T21:30:38.562Z [MASTER] info: Initializing...
2023-08-17T21:30:39.046Z [MASTER] info: Using database driver pg for postgres [ OK ]
2023-08-17T21:30:39.048Z [MASTER] info: Connecting to database...
2023-08-17T21:30:39.083Z [MASTER] info: Database Connection Successful [ OK ]
2023-08-17T21:30:39.593Z [MASTER] warn: Mail is not setup! Please set the configuration in the administration area!
2023-08-17T21:30:39.675Z [MASTER] info: Loading GraphQL Schema...
2023-08-17T21:30:40.124Z [MASTER] error: Package subpath './public/extractFiles' is not defined by "exports" in C:\wiki\node_modules\extract-files\package.json
PS C:\wiki>
As I said, I had installed the latest version, then read here very often, please read the requirements, there it says since version 2.5.300 Node.js can be used in 18 or later and also 20 or later. I also found the tip to insert 3 lines in the file, then I get a different error message.
I have no idea how to continue now.
I don't need a hint that the node version is not supported, because according to the wiki it is supported, but if I need a different version then please specify which version I have to use.
If that is the solution with the 3 lines, I ask for a screenshot of what it should look like in Notepad++.
Thanks in advance, SvenBastelt
PS: I've really done various searches here, but unfortunately never found a solution that I understood. sorry
Beta Was this translation helpful? Give feedback.
All reactions