Comments (6)
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.
@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.
Trying to remove the line gives this, is it looking for certs.js in the wrong place?
Have failed to use a shebang loader
from https-localhost.
@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.
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.
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)
- Automated Certificate Management - Heroku HOT 1
- CORS Support
- Bug: Intermediate CA not added? Thanks for this module! HOT 2
- Unable to configure CORS HOT 2
- Running on Mac as a non-admin user HOT 3
- detected as the virus on windows HOT 1
- JAVA_HOME Set on Windows, Fails (access denied) HOT 2
- File exists: /usr/local/bin/serve HOT 5
- create a certificate for additional domains does not work HOT 4
- localhost didn’t send any data. HOT 4
- https server not working with socket.io HOT 2
- Request Aborted error from Android HOT 2
- How can I access localhost from mobile?
- Ability to set a custom domain in the cli
- Ability to add server headers HOT 4
- help with binary HOT 1
- Importing this library causes uncaught errors to be printed without stack traces HOT 4
- Mac M1 Chip Support HOT 1
- Error in the documentation
- localhost download file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from https-localhost.