Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
9905a597
Commit
9905a597
authored
Feb 22, 2017
by
Michael Mifsud
Committed by
GitHub
Feb 22, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1885 from xzyfer/fix-rebuild
Fix npm rebuild
parents
eb7f0138
f0419a7a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
errors.js
lib/errors.js
+1
-1
build.js
scripts/build.js
+2
-1
No files found.
lib/errors.js
View file @
9905a597
...
@@ -25,7 +25,7 @@ function foundBinariesList() {
...
@@ -25,7 +25,7 @@ function foundBinariesList() {
function
missingBinaryFooter
()
{
function
missingBinaryFooter
()
{
return
[
return
[
'This usually happens because your environment has changed since running `npm install`.'
,
'This usually happens because your environment has changed since running `npm install`.'
,
'Run `npm rebuild node-sass` to build the binding for your current environment.'
,
'Run `npm rebuild node-sass
--force
` to build the binding for your current environment.'
,
].
join
(
'
\
n'
);
].
join
(
'
\
n'
);
}
}
...
...
scripts/build.js
View file @
9905a597
...
@@ -93,7 +93,8 @@ function build(options) {
...
@@ -93,7 +93,8 @@ function build(options) {
function
parseArgs
(
args
)
{
function
parseArgs
(
args
)
{
var
options
=
{
var
options
=
{
arch
:
process
.
arch
,
arch
:
process
.
arch
,
platform
:
process
.
platform
platform
:
process
.
platform
,
force
:
process
.
env
.
npm_config_force
===
'true'
,
};
};
options
.
args
=
args
.
filter
(
function
(
arg
)
{
options
.
args
=
args
.
filter
(
function
(
arg
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment