Code Monkey home page Code Monkey logo

Comments (5)

manekinekko avatar manekinekko commented on June 13, 2024

This means that we are calling npx playwright somewhere. Is this the recommended approach?

from contoso-real-estate.

manekinekko avatar manekinekko commented on June 13, 2024

Looks like passing --yes to nox would help here: https://docs.npmjs.com/cli/v8/commands/npx#description

from contoso-real-estate.

jeffvan98 avatar jeffvan98 commented on June 13, 2024

I forked the project and tried to open main using codespaces and end up in the same place @dfberry mentioned. Ctrl-shift-p to Codespaces: View Creation Log shows the following spew (just the tail). It looks like things are stuck on a, "Ok to proceed?" prompt and there's no way for me to respond.

...
65 packages can be upgraded. Run 'apt list --upgradable' to see them.
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
npm ERR! notsup Actual: {"npm":"9.5.0","node":"v18.15.0"}

npm ERR! A complete log of this run can be found in:
npm ERR! /home/node/.npm/_logs/2024-02-06T21_23_34_708Z-debug-0.log
Need to install the following packages:
[email protected]
Ok to proceed? (y)

from contoso-real-estate.

manekinekko avatar manekinekko commented on June 13, 2024

Hi @jeffvan98 would mind editing your /.devcontainer/post-create-command.sh and let me know if that helps.

You can change this line:

npx playwright install --with-deps

to this:

npx --yes playwright install --with-deps

Note the --yes right after npx. You will also need to rebuild your devcontainer.

from contoso-real-estate.

manekinekko avatar manekinekko commented on June 13, 2024

Fixed in #437

from contoso-real-estate.

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.