Comments (4)
#256 should fix this
It does for me. Tested by git clone
ing the package on the glob
branch, then pnpm install
ing and apm link
ing 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.
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.
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.
🎉 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)
- backslash prefix space in file name
- Is there an analogue of this plugin in VSCode? HOT 4
- How to use autocomplete paths with scss mixins ?
- When editing a .js file, a paths to .vue files are not autocompleted (missing from default-scopes.js)
- Rebuilding cache when modify or create a file HOT 1
- Uncaught TypeError: Cannot read property 'fileCount' of null
- Not working within a .vue file :( HOT 1
- Running the cache collection in a WebWorker/WorkerThread HOT 4
- Improve default scopes HOT 4
- failed to enable package in atom on Ubuntu 20.04 HOT 12
- Tabnine disables autocomplete-paths
- This repo will transfer to atom-ide-community HOT 1
- it doesn't read css directory payh just js directory path HOT 2
- Newly added files are not offered in autocomplete HOT 1
- Can't install or upgrade HOT 10
- Find the best path watcher
- Duplicate autocomplete suggestions with atom-typescript HOT 1
- autocomplete-paths HTML src not working
- This package breaks the autocompletion HOT 1
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 autocomplete-paths.