Coder Social home page Coder Social logo

Comments (4)

DeeDeeG avatar DeeDeeG commented on July 2, 2024 1

#256 should fix this

It does for me. Tested by git cloneing the package on the glob branch, then pnpm installing and apm linking it.

Typing require('./') in a JS file shows a path autocompletions view on either branch, but the glob branch avoids putting an error in the console.

from autocomplete-paths.

DeeDeeG avatar DeeDeeG commented on July 2, 2024

Edit: Updated with the actual (relevant) error message I was seeing:

Here is the full error I was seeing:

/Users/[user]/.atom/packages/autocomplete-paths/dist/autocomplete-paths.js:1 Uncaught (in promise) TypeError [ERR_INVALID_ARG_VALUE] [ERR_INVALID_ARG_VALUE]: The argument 'args' is invalid. Received { maxBuffer: 536870888 }
    at Object.execFile (child_process.js:211)
    at Object.module.<computed> [as execFile] (electron/js2c/asar.js:163)
    at exec (child_process.js:154)
    at child_process.js:168
    at electron/js2c/asar.js:727
    at ui.rebuildCache (/Users/[user]/.atom/packages/autocomplete-paths/dist/autocomplete-paths.js:1)
    at yi.rebuildCache (/Users/[user]/.atom/packages/autocomplete-paths/dist/autocomplete-paths.js:1)
    at Object.getProvider (/Users/[user]/.atom/packages/autocomplete-paths/dist/autocomplete-paths.js:1)
    at Package.activateServices (/Users/[user]/atom/src/package.js:427)
    at Package.activateNow (/Users/[user]/atom/src/package.js:247)
    at /Users/[user]/atom/src/package.js:211
    at Package.measure (/Users/[user]/atom/src/package.js:82)
    at /Users/[user]/atom/src/package.js:205
    at new Promise (<anonymous>)
    at Package.activate (/Users/[user]/atom/src/package.js:203)
    at PackageManager.activatePackage (/Users/[user]/atom/src/package-manager.js:812)
    at /Users/[user]/atom/src/package-manager.js:787
    at Config.transactAsync (/Users/[user]/atom/src/config.js:925)
    at PackageManager.activatePackages (/Users/[user]/atom/src/package-manager.js:785)
    at PackageManager.activate (/Users/[user]/atom/src/package-manager.js:762)
    at /Users/[user]/atom/src/atom-environment.js:1021
    at async Promise.all (index 0)
    at AtomEnvironment.startEditorWindow (/Users/[user]/atom/src/atom-environment.js:1044)

from autocomplete-paths.

UziTech avatar UziTech commented on July 2, 2024

exec doesn't take the arguments in an array like spawn the call should be exec("find --version")

#256 should fix this

from autocomplete-paths.

github-actions avatar github-actions commented on July 2, 2024

🎉 This issue has been resolved in version 2.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from autocomplete-paths.

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.