mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystemFrontend.git
synced 2025-10-27 23:25:05 +08:00
17 lines
452 B
Bash
17 lines
452 B
Bash
#!/usr/bin/env bash
|
|
|
|
#
|
|
# Fix old dependencies caused bug "ReferenceError: primordials is not defined"
|
|
#
|
|
# > You're using node 12 and gulp 3. That combination does not work:
|
|
# > https://github.com/gulpjs/gulp/issues/2324
|
|
#
|
|
|
|
cd "$( dirname "${BASH_SOURCE[0]}" )" || exit 1;
|
|
|
|
set -x;
|
|
rm -rf node_modules/vinyl-fs/node_modules/graceful-fs || exit 1;
|
|
cp -r node_modules/graceful-fs node_modules/vinyl-fs/node_modules/graceful-fs || exit 1;
|
|
|
|
echo "Boom!";
|