Giter VIP home page Giter VIP logo

Comments (6)

daquinoaldo avatar daquinoaldo commented on June 3, 2024

Hi @angelcnsk!

  • Which version of Node.js are you using? You can find it with node --version.
  • Are you running the script standalone from command line (i.e. serve my-folder) or are you using as module (e.g. const app = require("https-localhost")())?

from https-localhost.

rzfzr avatar rzfzr commented on June 3, 2024

@daquinoaldo Greetings!
can you reopen the issue? It is still relevant, I'm encountering this.
node v16.16.0
using it as a module in an electron/vuejs app
I've used it in non-vue electron/ts app, so I believe it is something in the loader.
@angelcnsk did you solve it?

from https-localhost.

rzfzr avatar rzfzr commented on June 3, 2024

Trying to remove the line gives this, is it looking for certs.js in the wrong place?
image
Have failed to use a shebang loader

from https-localhost.

daquinoaldo avatar daquinoaldo commented on June 3, 2024

@rzfzr, can you try removing the shebang line from all the files and importing a local version of the module without shebangs? If it works, please open a pull request.

from https-localhost.

wll8 avatar wll8 commented on June 3, 2024

Since you are running npm run serve, you are consuming a web service. So you can put the following code in the browser runtime environment.

You can try to place the code for the node environment in vue.config.js.

from https-localhost.

github-actions avatar github-actions commented on June 3, 2024

Marked as stale for no activity in the past 60 days. In 7 days it will be closed unless new activity.

from https-localhost.

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.