Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report an error in my Electron-Vue #38

Closed
wcg184 opened this issue Mar 23, 2021 · 0 comments
Closed

Report an error in my Electron-Vue #38

wcg184 opened this issue Mar 23, 2021 · 0 comments

Comments

@wcg184
Copy link

wcg184 commented Mar 23, 2021

`
const internalIp = require('internal-ip')

void (async () => {
console.log(await internalIp.v6())
// => 'fe80::1'

console.log(await internalIp.v4())
// => '10.0.0.79'
})()

console.log(internalIp.v6.sync())
// => 'fe80::1'

console.log(internalIp.v4.sync())
// => '10.0.0.79'

`

SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:606:28)
at Object.Module._extensions..js (module.js:653:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (module.js:586:17)
at require (internal/module.js:11:18)
at $refs.(anonymous function).validate.valid (file:///D:/02_work/instant-messaging-system/renderer/windows/Login/login-win-index.js:131:30)
He @ vue.min.js:6
lADPBbCc1f8bs2jNAkHNAkA_576_577.jpg Failed to load resource: net::ERR_CONNECTION_RESET

@wcg184 wcg184 closed this as completed Mar 23, 2021
@wcg184 wcg184 reopened this Mar 23, 2021
@wcg184 wcg184 closed this as completed Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant