question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

yarn run app (3.0.2)

See original GitHub issue

MacOS

~/src/github/hyper 3.0.2
❯ yarn run app
yarn run v1.22.0
$ electron target
Error: Cannot find module 'native-reg'
Require stack:
- /Users/cdenneen/src/github/hyper/target/utils/cli-install.js
- /Users/cdenneen/src/github/hyper/target/index.js
- /Users/cdenneen/src/github/hyper/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js
-
    at Module._resolveFilename (internal/modules/cjs/loader.js:717:15)
    at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7646:16)
    at Module._load (internal/modules/cjs/loader.js:622:27)
    at Module._load (electron/js2c/asar.js:717:26)
    at Function.Module._load (electron/js2c/asar.js:717:26)
    at Function._load (/Users/cdenneen/src/github/hyper/target/plugins.js:82:37)
    at Module.require (internal/modules/cjs/loader.js:775:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at Object.<anonymous> (/Users/cdenneen/src/github/hyper/target/utils/cli-install.js:13:20)
    at Module._compile (internal/modules/cjs/loader.js:880:30) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/cdenneen/src/github/hyper/target/utils/cli-install.js',
    '/Users/cdenneen/src/github/hyper/target/index.js',
    '/Users/cdenneen/src/github/hyper/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js',
    undefined
  ]
}
(electron) 'getName function' is deprecated and will be removed. Please use 'name property' instead.
Disabling Chromium GPU blacklist
running in dev mode
electron will open file:///Users/cdenneen/src/github/hyper/target/index.html
Checking for notification messages
ignoring auto updates during dev
No matching notification messages

I can get Hyper to launch a window but there is no shell. Same thing if I build the “dist” I originally thought it was a problem with the canary tags but I am checking out 3.0.2 to confirm stable and still same issue.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:14

github_iconTop GitHub Comments

1reaction
cdenneencommented, Jul 21, 2020

@LabhanshAgrawal thanks I will close this issue since things are basically working

0reactions
LabhanshAgrawalcommented, Jul 21, 2020

The extension error is an issue with devtools extensions and electron 9 https://github.com/electron/electron/issues/23662 https://github.com/MarshallOfSound/electron-devtools-installer/issues/130

the json parse error is because https://hyper-news.now.sh/ is down.

Read more comments on GitHub >

github_iconTop Results From Across the Web

yarn run app (3.0.2) · Issue #4331 · vercel/hyper - GitHub
MacOS ~/src/github/hyper 3.0.2 ❯ yarn run app yarn run v1.22.0 $ electron target Error: Cannot find module 'native-reg' Require stack: ...
Read more >
Running Spark on YARN - Spark 3.0.2 Documentation
The above starts a YARN client program which starts the default Application Master. Then SparkPi will be run as a child thread of...
Read more >
Migration | Yarn - Package Manager
A step-by-step and in-depth migration guide from Yarn 1 (Classic) to Yarn 2 ... In general, we advise you at this point to...
Read more >
How to use Yarn 2 (or 3) to run create-react-app without ...
I faced the same situation recently... my solution was: yarn create react-app myApp (yes, is yarn 1.22 in my case); rename the package.json ......
Read more >
Yarn 3.0 Performances, ESBuild, Better Patches
For me, just running yarn set version berry was good enough. If I also ran yarn set version 3.x , it upgraded me...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found