Comments (8)
did you run npm install
and npm run build
?
from revcord.
Yes
from revcord.
I am not sure what its caused by then, maybe try cloning the repo again and doing everything from the beginning
from revcord.
Just did it all over again. But again the same error. I also noticed that when npm install
warning npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
is displayed, maybe an error occurs because of it?
from revcord.
no, it is very unlikely to be caused by that since it is only a warning
This might be a Windows-specific issue since I cannot reproduce it on Linux, I will try it tomorrow on a virtual machine
from revcord.
Okay, I was actually able to accidentally reproduce this issue. It seems I'm getting an identical output while omitting the --experimental-specifier-resolution=node
part, but I'm using an older version of node. I believe this parameter was removed in node v19, which causes the issue.
A temporary solution would be to use Node version 18 or older. I am going to look for an actual solution tomorrow.
from revcord.
Okay, thanks for the answer
from revcord.
It turns out the fix was pretty easy, I just had to configure tsc to emit commonjs modules, and so it works without any experimental loader. I probably thought that method was outdated, but since the nodejs ecosystem is a mess it is still the only way to have things working on most versions. (03cdd6f)
I briefly tested it in node 16, 18 and 20 and everything seems to be working properly now.
from revcord.
Related Issues (20)
- Embed error ! HOT 1
- The bridge does not check for whether any field character limits on Revolt were surpassed HOT 7
- sqlite3 and TypeError errors HOT 4
- Make a video tutorial HOT 1
- Where does the `.env` file go? HOT 1
- Error: Used disallowed intents HOT 1
- Asking for Masquerade permission even when enabled. HOT 4
- Placing HOT 3
- Can't build Revcord HOT 2
- Bot and bridge messages from Revolt to Discord do not send HOT 1
- Idea: Implement a command to let you send messages using nicknames instead of usernames
- Can't delete messages between Revolt and Discord HOT 1
- Revolt's connect function does nothing and Discord can't find the Revolt channel. HOT 9
- Is Revcord supposed to transfer webhooks? HOT 3
- Emulate Username Colors on Revolt
- The bot cannot link to announcement channels.
- Hide #0000 discriminator from webhooks
- [Feature Request] Copy all pre-existing messages from discord to Revolt
- DiscordAPIError: Missing Permissions HOT 2
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 revcord.