Coder Social home page Coder Social logo

npm-autolink's People

Contributors

adogor avatar julzimmermann avatar phillipgreenii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

npm-autolink's Issues

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

I'm seeing the following environment
windows: 7
node: v4.2.6
npm: 2.14.12
npm-autolink: 0.3.1

I'm seeing the following crashes

npm-autolink list

<--- Last few GCs --->

29590 ms: Scavenge 1397.9 (1457.9) -> 1397.9 (1457.9) MB, 2.6 / 0 ms (+ 107.0 ms in 1 steps since last GC) [allocatio
n failure] [incremental marking delaying mark-sweep].
30454 ms: Mark-sweep 1397.9 (1457.9) -> 1397.8 (1457.9) MB, 864.0 / 3 ms (+ 201.0 ms in 12 steps since start of marki
ng, biggest step 107.0 ms) [last resort gc].
31347 ms: Mark-sweep 1397.8 (1457.9) -> 1397.8 (1457.9) MB, 893.0 / 3 ms [last resort gc].

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 000003FE5AFB4639
2: normalize [path.js:~182] [pc=0000021755EFBA52](this=00000243B1443AC9 <an Object with map 00000204B6E0B1C1>,path=
000001982C514529 <String[13]: E:.autolink)
3: join [path.js:~217] [pc=0000021755FA1554](this=00000243B1443AC9 <an Object with map 00000204B6E0B1C1)
4: arguments adaptor frame: 2->0
5: getDevPackagesFromPath(aka getDevPackagesFromPath) [C:\Users\pgreen\AppDat...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

npm-autolink matches

<--- Last few GCs --->

26428 ms: Scavenge 1404.3 (1457.9) -> 1404.3 (1457.9) MB, 6.2 / 0 ms (+ 25.0 ms in 1 steps since last GC) [allocation
failure] [incremental marking delaying mark-sweep].
27498 ms: Mark-sweep 1404.3 (1457.9) -> 1404.3 (1457.9) MB, 1070.2 / 3 ms (+ 867.0 ms in 3387 steps since start of ma
rking, biggest step 25.0 ms) [last resort gc].
28570 ms: Mark-sweep 1404.3 (1457.9) -> 1404.2 (1457.9) MB, 1071.8 / 3 ms [last resort gc].

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 000003B6EF3B4639
2: normalize [path.js:~182] [pc=00000315BCAA1C32](this=0000037324A44271 <an Object with map 0000024202D0B1C1>,path=
0000037324AD0EE9 <String[13]: E:.autolink)
3: join [path.js:~217] [pc=00000315BCAA4034](this=0000037324A44271 <an Object with map 0000024202D0B1C1)
4: arguments adaptor frame: 2->0
5: getDevPackagesFromPath(aka getDevPackagesFromPath) [C:\Users\pgreen\AppDat...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

Remove not working for private npm packages

I have a folder for all my private npm packages. Inside this folder there is a simple package.json and different folders for each package. These folders are at the same level as the package.json file, so not in another folder prepended with an @ (like npm does with its private packages).

I have created an .autolink file in the root of my project to symlink to this specific folder. When I run npm-autolink link everything works fine. However when I run npm-autolink remove, all the symlinks remain as they were created by link.

I can fix it by appending /@username (assuming my private npm name is username) behind the nodeModulesPath variable in the listLinks() function. This is of course not a solution but I hope it helps to solve the bug.

Linked packages font color

npm-autolink matches
npm-autolink 

The font color of the linked packages for those two commands is black. Since my terminal has a black background, I can't see them.

imageedit_2_5747586965

autolink.json is ignored, package.json is used instead

From what I gathered, autolink.json has no effect on the commands. They instead look inside each package.json and link packages listed in dependencies. This is cumbersome because listing local packages inside dependencies makes it impossible to install/uninstall npm packages.

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.