Giter Club home page Giter Club logo

Comments (6)

kiwicopple avatar kiwicopple commented on May 18, 2024

I just tested using a fresh instance and I wasn't able to reproduce this. It shouldn't be anything to do with your environment since it's docker. Can you try to rebuild?

docker-compose down --remove-orphans 
docker-compose build
docker-compose up --force-recreate --build

Let me know if that works.

from realtime.

jfoucher avatar jfoucher commented on May 18, 2024

Nope, same thing sorry :

web_1       | npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
web_1       | npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
web_1       | npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
web_1       | npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
web_1       | npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
web_1       | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
web_1       | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
web_1       | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/fork-ts-checker-webpack-plugin/node_modules/chokidar/node_modules/fsevents):
web_1       | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
web_1       | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/webpack/node_modules/chokidar/node_modules/fsevents):
web_1       | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
web_1       | npm WARN [email protected] requires a peer of node-sass@^4.0.0 but none is installed. You must install peer dependencies yourself.
web_1       | npm WARN [email protected] requires a peer of sass@^1.3.0 but none is installed. You must install peer dependencies yourself.
web_1       | npm WARN [email protected] requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself.
web_1       | npm WARN [email protected] No repository field.
web_1       |
web_1       | npm ERR! path /usr/src/service/node_modules/npm/node_modules/yargs/node_modules/y18n/package.json.851568467
web_1       | npm ERR! code ENOENT
web_1       | npm ERR! errno -2
web_1       | npm ERR! syscall open
web_1       | npm ERR! enoent ENOENT: no such file or directory, open '/usr/src/service/node_modules/npm/node_modules/yargs/node_modules/y18n/package.json.851568467'
web_1       | npm ERR! enoent This is related to npm not being able to find a file.
web_1       | npm ERR! enoent
web_1       |
web_1       | npm ERR! A complete log of this run can be found in:
web_1       | npm ERR!     /root/.npm/_logs/2020-05-31T10_54_38_127Z-debug.log
realtime_web_1 exited with code 254

from realtime.

kiwicopple avatar kiwicopple commented on May 18, 2024

strange. Do you have any more details about your environment? Or anything that could help to reproduce the error?

from realtime.

jfoucher avatar jfoucher commented on May 18, 2024

Mac OS 10.15.4 (19E2269)
Virtualbox 6.1.8

$ docker -v
Docker version 19.03.10, build 9424aea
$ docker-compose -v
docker-compose version 1.25.5, build unknown
$ docker-machine -v
docker-machine version 0.16.2, build bd45ab1

Anything else ?

from realtime.

kiwicopple avatar kiwicopple commented on May 18, 2024

Sorry for the incommunicado @jfoucher .

I think it might be easier in this case to side-step docker for the frontend. Could you please follow the steps in this one?
https://github.com/supabase/realtime/blob/master/examples/next-js/README.md

You can run them in 2 separate terminals - one for the backend and one for the frontend.

I also set up a simple NodeJS example here: https://github.com/supabase/realtime/blob/master/examples/node-js/README.md

from realtime.

kiwicopple avatar kiwicopple commented on May 18, 2024

I'll close this up for now, but feel free to reopen if you can't get the instructions above to work

from realtime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.