This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Temporary fix for Node.js 5 to 6 aupdate error: | |
# (node:14471) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. | |
# Updates any package by package name, version number, if set, | |
# or graceful-fs to 4.1.3 by default. | |
# By default runs npm dedupe after applying fixes | |
# | |
# Usage: bash ./slv.graceful-fs.sh [MODULE VERSION [noddp]] | |
# where |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test file | |
v.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ 'B:\\p\\nodejs\\\\node.exe', | |
1 verbose cli 'B:\\p\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', | |
1 verbose cli 'install', | |
1 verbose cli 'fibers' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose node symlink B:\p\nodejs\\node.exe | |
5 silly cache add args [ 'fibers', null ] | |
6 verbose cache add spec fibers |