Comments (6)
Try npm dedupe
to decrease the nesting of your directories. Also, in the directory where you're creating your installer, type in this command:
find . -type d -print|awk '{print length($0), $0}'|sort -n|tail -10
to get the lengths of the longest paths. I found that if the longest path was < 200, creating the installer worked fine. But you need to make it less than 260, there is no workaround for that.
from windows-installer.
@caibirdme If you update to npm 3.x.x
this issue will probably go away. Simply run npm i -g npm
and then reinstall your node_modules
directory
from windows-installer.
@MarshallOfSound I'm using npm 3.8.3,I think it's a problem of sqlite3.All the long path files come from sqlite3 module.
from windows-installer.
@mzmousa Thanks very much!! npm dedupe
works fine.
from windows-installer.
Np. Also what @MarshallOfSound said, upgrading to npm 3+ and reinstall your node modules, I don't think you'll need a dedupe then. But npm 3+ limits nesting in the node modules, making you not have to do a dedupe
from windows-installer.
@mzmousa I'm using npm3+ all the time...I think it might be a problem of sqlite3 that use node-pre-gyp
to install its dependencies
from windows-installer.
Related Issues (20)
- loadingGif takes a few seconds to show during installation. Can we make it show immediately? HOT 2
- How to trigger a batch file during installation
- Fatal error: Unable to load file
- How to sign windows app on CI? (from June 1, 2023) HOT 14
- no 7z-ia32.exe in vendor
- fixUpPaths is missing the documentation options
- Does not work at all HOT 2
- How to sign additional binaries HOT 2
- Electron MSI package name ends with machine why? HOT 1
- @rmchen-12 why are you closing the WindowServer process? That shouldn't be necessaryTo
- `setupIcon` config failed when `productName` contains chinese character ;`Fatal error: Unable to load file` HOT 1
- How to sign Stub and Update.exe ? HOT 1
- Hangs on Windows HOT 2
- `createWindowsInstaller` Fails Writing to temp/*.nuspec File When "/" in Package Name
- Issue with windows-sign param throwing error in Electron/windows-installer (by sea-signtool)
- When using hookModulePath option in windowsSign, Only Setup.exe and Setup.msi are signed, all other internal binaries are not signed. HOT 1
- electron-winstaller depends on vulnerable lodash.template HOT 2
- Fix wine executable check HOT 1
- Missing `semver` dependency
- Squirrel.log error (setup.exe) HOT 4
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 windows-installer.