Closed ghost closed 3 years ago
At this point 10, 11, 13 binaries should be deleted as they are all deprecated - only 12, 14,15, 16 are currently maintained
Node.js v16.0.0 has just been released :) Waiting for the uWS to catch up :)
What about win port for node 16?
we are getting this:
Error: This version of µWS is not compatible with your Node.js build:
Error: Cannot find module './uws_win32_x64_93.node'
actually, ignore my last comment, after cleaning up node_modules and reinstalling, it works just fine.
Yep, you're hitting an NPM bug. Use Yarn instead, it does not suck asshole for breakfast.
actually we are using pnpm
, which is much better than npm
, but still somehow we have managed to have left-overs from old installations. Anyways, the important this it's that it's working nice.
Great stuff . Appreciate your effort put in uWebSockets
and uWebSockets.js
!
same error
node 16.2 pnpm 6.2.5
happens with yarn 1.22.5 as well
reproduction code:
// index.mjs
import createServer from 'low-http-server'
import { App } from '@tinyhttp/app'
const server = createServer()
const app = new App()
app.get('/', (res) => {
res.send('hello world')
})
server.on('request', app.attach)
server.listen(3000, () => console.log('Server listening on http://localhost:3000'))
Node.js 16 is definitely supported and has been since day 1, if that is what is being reported here.
@alexhultman-2fa probably it's an installation issue then :thinking:
i tried pnpm, npm and yarn and this error occurs in all 3 package managers (a low-http-server project depends on uws git repo)
uWebSockets.js has definitely and absolutely supported Node.js 16 since day 1. I don't care what third party wrappers do and don't do.
@alexhultman-2fa ok then, sorry for disturbing
i can't use the framework though cuz it doesn't install :thinking: (altho it works w/ direct git cloning)
It fails because you are installing an old version.
I change the version in package.json and use "npm update" comand and it works. This can resolve "npm install" issues
That's always good to know but IMO it's still a bug in NPM when its behavior differs from old versions / docs.
Yarn doesn't have these blatant breakages and it's way faster so NPM is really irrelevant
What about node.js 17?
mesmo erro
nó 16.2 pnpm 6.2.5
acontece com o fio 1.22.5 também
código de reprodução:
// index.mjs import createServer from 'low-http-server' import { App } from '@tinyhttp/app' const server = createServer() const app = new App() app.get('/', (res) => { res.send('hello world') }) server.on('request', app.attach) server.listen(3000, () => console.log('Server listening on http://localhost:3000'))
Onde acho esse arquivo para editar? estou perdido, sou novo com soketi. Pode me ajudar?
Please translate
Releases in 10 days which is a nice sync up with v19 release and from what I understand official Apple ARM support