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.

Problem on installation

See original GitHub issue

Hello everyone! I have an issue during installation after

npm install

electron-react-boilerplate@0.13.3 postinstall C:\Users\DronVol\Documents\electron_react_boilerplate_test\electron-react-boilerplate node -r babel-register internals/scripts/CheckNativeDep.js && npm run flow-typed && npm run build-dll && electron-builder install-app-deps && node node_modules/fbjs-scripts/node/check-dev-engines.js pa ckage.json

module.js:549 throw err; ^

Error: Cannot find module ‘babel-register’ at Function.Module._resolveFilename (module.js:547:15)

at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at Function.Module._preloadModules (module.js:753:12)
at preloadModules (bootstrap_node.js:475:38)
at startup (bootstrap_node.js:188:9)
at bootstrap_node.js:612:3

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron-react-boilerplate@0.13.3 postinstall: node -r babel-register internals/scripts/CheckNativeDep.js && npm run flow-typed && npm run build-dll && electron-builder install-app-deps && node node_modules/fbjs-scripts/node/check-dev-engines.js package.json npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron-react-boilerplate@0.13.3 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\DronVol\AppData\Roaming\npm-cache_logs 2018-07-31T14_42_36_452Z-debug.log \2018-07-31T14_42_36_452Z-debug.log

What kind of trouble do I have? babel-register is in its place, in a node_modules folder in the root catalog.

Thanks in advance.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

12reactions
subtubes-iocommented, Dec 24, 2020

OK found the solution.

If you copy the files using Mac Finder you probably missed hidden files.

Use the terminal to copy the repo repo and be sure you have all the files, i.e. files and folders that start with a dot .erb

0reactions
subtubes-iocommented, Dec 24, 2020

this issue persists

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Right-click Windows Installer, and then click Properties. If the Startup type box is set to Disabled, change it to Manual. Click OK to...
Read more >
How to Fix the Most Common Windows 10 Installation Problems
How to fix the most common Windows 10 installation problems · Run the Windows Update troubleshooter · Low disk space · ISO image...
Read more >
Unable to Install Apps or Software on Windows? Here's What ...
If you're unable to install software on Windows 10 or Windows 11, here's how to fix common app installation problems.
Read more >
Possible Causes of an Installation Problem
Possible Causes of an Installation Problem · Incorrect patches installed · Installing a patch that does not correspond to your architecture · Permissions...
Read more >
Fixed: “There is a problem with this Windows installer package ...
You have an outdated or damaged installer file. You might be trying to install an application with an old or corrupted installer file....
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