Git Product home page Git Product logo

Comments (9)

fengerzh avatar fengerzh commented on August 18, 2024 3

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.

BennZoid avatar BennZoid commented on August 18, 2024

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.

vaidyaanand avatar vaidyaanand commented on August 18, 2024

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.

Nikitikitavi avatar Nikitikitavi commented on August 18, 2024

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.

vaidyaanand avatar vaidyaanand commented on August 18, 2024

Sure Thanks, I have rollback to the previous version and it is working fine.

from node-auto-launch.

wmin0 avatar wmin0 commented on August 18, 2024

package 5.0.2 didn't include dist directory.

from node-auto-launch.

adam-lynch avatar adam-lynch commented on August 18, 2024

Argh... I've just published 5.0.3. Should be fine now.

from node-auto-launch.

sunmaobin avatar sunmaobin commented on August 18, 2024

@fengerzh the same to you ,but the method is not work for me ~~~~

from node-auto-launch.

shklyarik avatar shklyarik commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.