Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

libsass_ext is not defined #1599

Merged
merged 1 commit into from
Aug 21, 2016
Merged

libsass_ext is not defined #1599

merged 1 commit into from
Aug 21, 2016

Conversation

saper
Copy link
Member

@saper saper commented Jul 20, 2016

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp info spawn C:\Python27\python.exe
gyp info spawn args [ 'C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\gyp\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=auto',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Justin\node_modules\node-sass\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Justin.node-gyp\4.4.5\include\node\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\Users\Justin.node-gyp\4.4.5',
gyp info spawn args '-Dnode_gyp_dir=C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\Users\Justin\node_modules\node-sass',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\Users\Justin\node_modules\node-sass\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp: name 'libsass_ext' is not defined while evaluating condition 'libsass_ext == "" or libsass_ext == "no"' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "-g"
gyp ERR! cwd C:\Users\Justin\node_modules\node-sass
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok

@xzyfer
Copy link
Contributor

xzyfer commented Jun 19, 2016

What version of node-sass are you using? What operating system are you on?
What command did you run?

This and many other critical questions would be answer if please read the
documentation about filing issues.
On 19 Jun 2016 1:10 PM, "knoxcard" [email protected] wrote:

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp info spawn C:\Python27\python.exe
gyp info spawn args [
'C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\gyp\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=auto',
gyp info spawn args '-I',
gyp info spawn args
'C:\Users\Justin\node_modules\node-sass\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args
'C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args
'C:\Users\Justin.node-gyp\4.4.5\include\node\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\Users\Justin.node-gyp\4.4.5',
gyp info spawn args
'-Dnode_gyp_dir=C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args
'-Dmodule_root_dir=C:\Users\Justin\node_modules\node-sass',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\Users\Justin\node_modules\node-sass\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp: name 'libsass_ext' is not defined while evaluating condition
'libsass_ext == "" or libsass_ext == "no"' in binding.gyp while trying to
load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit
(C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\Program Files\nodejs\node.exe"
"C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js"
"rebuild" "-g"
gyp ERR! cwd C:\Users\Justin\node_modules\node-sass
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1599, or mute the thread
https://github.com/notifications/unsubscribe/AAjZWNWBZrGD--iUXXNa6EW2mm7tHIT-ks5qNLMHgaJpZM4I5FND
.

@knoxcard
Copy link
Author

Node Sass Version: 3.8.0
Operating System: Windows 10
Command: node-gyp rebuild

On 6/19/2016 1:08 AM, Michael Mifsud wrote:

What version of node-sass are you using? What operating system are you on?
What command did you run?

This and many other critical questions would be answer if please read the
documentation about filing issues.
On 19 Jun 2016 1:10 PM, "knoxcard" [email protected] wrote:

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp info spawn C:\Python27\python.exe
gyp info spawn args [

'C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\gyp\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=auto',
gyp info spawn args '-I',
gyp info spawn args
'C:\Users\Justin\node_modules\node-sass\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args
'C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args
'C:\Users\Justin.node-gyp\4.4.5\include\node\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\Users\Justin.node-gyp\4.4.5',
gyp info spawn args

'-Dnode_gyp_dir=C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args
'-Dmodule_root_dir=C:\Users\Justin\node_modules\node-sass',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\Users\Justin\node_modules\node-sass\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp: name 'libsass_ext' is not defined while evaluating condition
'libsass_ext == "" or libsass_ext == "no"' in binding.gyp while
trying to
load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit

(C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\Program Files\nodejs\node.exe"

"C:\Users\Justin\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js"
"rebuild" "-g"
gyp ERR! cwd C:\Users\Justin\node_modules\node-sass
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1599, or mute the thread

https://github.com/notifications/unsubscribe/AAjZWNWBZrGD--iUXXNa6EW2mm7tHIT-ks5qNLMHgaJpZM4I5FND
.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1599 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AHNf5u0CMDV-MlCxeE_MEdi368dupcQ6ks5qNPkZgaJpZM4I5FND.

@saper
Copy link
Member

saper commented Jul 20, 2016

@knoxcard does it work if you use npm rebuild instead?

@saper
Copy link
Member

saper commented Jul 20, 2016

I can confirm it on FreeBSD with node-gyp rebuild, it's not Windows-specific.

@saper
Copy link
Member

saper commented Jul 20, 2016

@knoxcard can you check if the patch works for you?

@saper saper self-assigned this Aug 21, 2016
@saper saper added this to the next.patch milestone Aug 21, 2016
@saper saper merged commit c453f8a into sass:master Aug 21, 2016
@xzyfer xzyfer modified the milestone: next.patch Sep 4, 2016
jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this pull request Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants