Giter Site home page Giter Site logo

Comments (11)

MichaelDeBoey avatar MichaelDeBoey commented on May 1, 2024 1

@ryanflorence Can we rewrite the code to make it work on Node v14?

from examples.

machour avatar machour commented on May 1, 2024 1

No worries.
But I rather have the example made compatible with more node versions, instead of requiring a specific one

from examples.

machour avatar machour commented on May 1, 2024

The example requires Node 19

from examples.

daniserrano7 avatar daniserrano7 commented on May 1, 2024

To make it work, I changed it to

"dev": "concurrently "npm run dev:css" "remix dev""

I use Node.js 16.15.0.

from examples.

MichaelDeBoey avatar MichaelDeBoey commented on May 1, 2024

@SylRob Could you please try again now that we have #126 merged?

from examples.

SylRob avatar SylRob commented on May 1, 2024

@MichaelDeBoey , nop still same for me.
pulled from main main branch, deleted node_module/, npm install, npm run dev

node: bad option: --watch
ERROR: "dev:server" exited with 9.

from examples.

machour avatar machour commented on May 1, 2024

@SylRob what node version are you using?

from examples.

SylRob avatar SylRob commented on May 1, 2024

@machour still v18.9.1

from examples.

machour avatar machour commented on May 1, 2024

The errors says:

node: bad option: --watch

--watch is used in the package.json's commands.

That option was introduced in v18.11.0, so it's not compatible with your node version.

So you can either update your node version to finally be able to make this example work for you, or you can change the commands as @daniserrano7 did to make it work on your current version.

If you do the later, please open a pull requests with your changes so that we can merge it and have this work for node < 18.11

from examples.

SylRob avatar SylRob commented on May 1, 2024

I see,
then I will update my node version to the latest recommended one.
(tomorrow, I will open a PR to update the package.json of the _official-realtime-app to change the node engine requested version)

thank you for looking into it and help me with that

from examples.

SylRob avatar SylRob commented on May 1, 2024

Yes that is true, but if the targeted version is the node v14, I will not be able to test it, since I can only propose a (possible) working and tested version using @daniserrano7 proposal and my 18.9 ...

from examples.

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.