GithubHelp home page GithubHelp logo

Comments (4)

rschristian avatar rschristian commented on August 24, 2024

In the future, follow the bug report template rather than deleting it. I need you to provide the output of npx preact info, as that template instructed.

I cannot reproduce either issue.

cross-env NODE_OPTIONS=--openssl-legacy-provider preact watch

node: --openssl-legacy-provider is not allowed in NODE_OPTIONS

If you're on Node 16, as you seem to indicate, not only is --openssl-legacy-provider supported, it's necessary. You won't be able to run Webpack without it. Are you somehow using Node 14 in your app? Check to make sure you don't somehow have multiple Node versions installed.

Can't resolve 'preact-cli-entrypoint'

Did you move files around after creating the project? preact-cli-entrypoint resolves to any index file within src/:

'preact-cli-entrypoint': source('index'),

I'm not sure how you'd get this error unless you're leaving out information.


Edit: It's also unclear to me what this means:

  1. Update openssl-legacy-provider by package.json
cross-env NODE_OPTIONS=--openssl-legacy-provider preact watch

You changed nothing as far as I can tell?

from preact-cli.

xuya227939 avatar xuya227939 commented on August 24, 2024

I solved it, Thank you.

from preact-cli.

rschristian avatar rschristian commented on August 24, 2024

Anything we need to fix on our side?

from preact-cli.

xuya227939 avatar xuya227939 commented on August 24, 2024

Nothing, Thank you. @rschristian

from preact-cli.

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.