Firebase (and presumably other native modules) fails
See original GitHub issueUsing nexe@next on Windows 10, with Node v8.12.0 and firebase@5.5.2.
Attempting nexe index.js
fails if index.js
is simply var firebase = require("firebase");
with the error:
Error! Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys'
Attempting to build with an earlier version of nexe will succeed but fail at runtime.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Build Failed on RN 0.47 #301 - invertase/react-native-firebase
Running react-native run-ios turn up a bunch of warnings while building the various RNFirebase native modules, ending with this:.
Read more >Module not found: Error: You attempted to import /firebase/app ...
You didn't say what error you're getting, but presumably it can't find firebase.utils.js. My first guess would be your relative path is not ......
Read more >State Management in Angular Using Firebase - Toptal
This state management tutorial features an Angular app with a Cloud Firestore back end. It also covers stores and services, RxJs, change detection, ......
Read more >CS 466 | practical08-firebase - Middlebury
CS 466 - React Native & Firebase. Goals. Learn the basics of online persistence; Learn about one of the data storage options on...
Read more >PackageManager - Android Developers
Return a List of all modules that are installed. ... Indicates whether some other object is "equal to" this one. void, finalize().
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah I get this:
Here’s a fix that worked for me: Well, it seems it’s nexe problem, trying for unknown reason to access C:\hiberfil.sys and pagefile.sys, those files are only accessible by system user, the first if used for hibernation (when windows enters in deep sleep mode), the second is the swap file. I disabled the first file via this command:
powercfg -h off
you need to run it from a command prompt as Administrator. For the second file, you need to disable virtual memory, you may follow those simple instructions https://www.trishtech.com/2014/11/disable-virtual-memory-in-windows-10/then reboot
and execute your commands as Administrator.