mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystemFrontend.git
synced 2025-10-28 15:45:05 +08:00
Upload Source Code
This commit is contained in:
16
fix-dependencies.sh
Normal file
16
fix-dependencies.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/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!";
|
||||
Reference in New Issue
Block a user