Git Product home page Git Product logo

Comments (6)

mzmousa avatar mzmousa commented on June 26, 2024

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.

MarshallOfSound avatar MarshallOfSound commented on June 26, 2024

@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.

caibirdme avatar caibirdme commented on June 26, 2024

@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.

caibirdme avatar caibirdme commented on June 26, 2024

@mzmousa Thanks very much!! npm dedupe works fine.

from windows-installer.

mzmousa avatar mzmousa commented on June 26, 2024

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.

caibirdme avatar caibirdme commented on June 26, 2024

@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)

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.