Comments (9)
Even 5.0.5 did not solve my problem. I can npm run start
, but after I package it to exe, it won't work. So what I did is: cd node_modules/auto-launch
, and copy dist\*.* ./
, then package, and everything works.
from node-auto-launch.
I am currently having the same issue while trying to build riot with 5.0.2 on a linux machine. Can confirm that reverting to [email protected] fixes the issue for me as well.
from node-auto-launch.
Hello I have done
npm install --save auto-launch
when I run npm start
I am getting following error
App threw an error during load
Error: Cannot find module 'auto-launch'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (C:\anand\learning\node\clonedApp\simple-samples\activity-monitor\node_modules\electron\dist\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\anand\learning\node\clonedApp\simple-samples\activity-monitor\app.js:6:18)
at Object.<anonymous> (C:\anand\learning\node\clonedApp\simple-samples\activity-monitor\app.js:87:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
from node-auto-launch.
Hi! I had same error with version 5.0.2.
Roll back to version 5.0.1 works for me until it will be fixed in new version.
Actually looks like last version not installing at all, it has only package.json file inside with READMI and LICENSE after installing.
from node-auto-launch.
Sure Thanks, I have rollback to the previous version and it is working fine.
from node-auto-launch.
package 5.0.2 didn't include dist directory.
from node-auto-launch.
Argh... I've just published 5.0.3. Should be fine now.
from node-auto-launch.
@fengerzh the same to you ,but the method is not work for me ~~~~
from node-auto-launch.
I resolved the problem transfer the modules from "devDependencies" to "dependencies".
"devDependencies": {
"electron": "^4.1.3",
"electron-builder": "^20.39.0",
"electron-builder-squirrel-windows": "^20.39.0",
"electron-installer-windows": "^1.1.1",
"electron-packager": "^12.1.0",
"electron-winstaller": "^3.0.4",
"electron-wix-msi": "^2.1.1"
},
"dependencies": {
"auto-launch": "^5.0.3"
}
from node-auto-launch.
Related Issues (20)
- Windows cannot auto launch after application's install path changed. HOT 3
- There is no option to enable auto launch for all users HOT 1
- Auto-launch with electron-winstaller
- ProcessUncleanExitError appearing in console HOT 1
- Be more flexible on path value: must be absolute if not Windows Store target HOT 19
- IsHidden don't work on Linux?
- background app permission
- Share your code
- If i append args to autostart.opts.appPath the finally generate command is incorrect HOT 1
- Enable() with AppX doesn't add a registry entry HOT 10
- Extend the API with new methods
- isEnabled not working on Windows 11 when changed through Windows Settings
- Linux desktop entry file is named based on `path`, not `name` HOT 2
- Why the name I pass to AutoLaunch constructor is not be used? HOT 4
- Check if app launched as hidden at login or manually by the user HOT 13
- Error with Electron-Webpack 4.28.4 HOT 2
- AppleScript security issues on macOS Mojave HOT 3
- Add Ethereum name or address to package.json
- Open two Window (my App and Electron documencation window) HOT 5
- Invalid .desktop file is created if path contains spaces on Linux HOT 6
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 node-auto-launch.