Skip to content

Commit

Permalink
feat: add unsafe-perm params to avoid node-sass problems (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpselvis committed Apr 24, 2019
1 parent e6e7ee9 commit 26764dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/internal/build/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ class Builder {

args = args.concat('--global-style');

args = args.concat('--unsafe-perm');

log.debug(args);

const npm = spawn('npm', args, {cwd: where});
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/generator/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ class Generator {
args = args.concat(`--proxy=${proxy}`);
}
args = args.concat('--global-style');
args = args.concat('--unsafe-perm');

log.debug(args);

const npm = spawn('npm', args, {cwd: where});
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/install/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ class Plugin {
args = args.concat(`--proxy=${proxy}`);
}
args = args.concat('--global-style');
args = args.concat('--unsafe-perm');

log.debug(args);

const npm = spawn('npm', args, {cwd: where});
Expand Down

0 comments on commit 26764dc

Please sign in to comment.