You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am please trying to use the starter kit and while I manage to bootstrap it very easily on Mac Os X Catalina when trying to install it on a clean Fedora 33 VM it fails while running yarn build
with the following error : error /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass: Command failed. Exit code: 1 Command: node scripts/build.js Arguments: Directory: /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass Output: Building: /home/admin/.nvm/versions/node/v14.16.1/bin/node /home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli '/home/admin/.nvm/versions/node/v14.16.1/bin/node', gyp verb cli '/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' gyp verb cli ] gyp info using [email protected] gyp info using [email protected] | linux | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb whichsucceeded python2 /usr/bin/python2 gyp verb check python version/usr/bin/python2 -c "import sys; print "2.7.18
gyp verb check python version .%s.%s" % sys.version_info[:3];"returned: %j gyp verb get node dir no --target version specified, falling back to host node version: 14.16.1 gyp verb command install [ '14.16.1' ] gyp verb install input version string "14.16.1" gyp verb install installing version: 14.16.1 gyp verb install --ensure was passed, so won't reinstall if already installed gyp verb install version is already installed, need to check "installVersion" gyp verb got "installVersion" 9 gyp verb needs "installVersion" 9 gyp verb install version is good gyp verb get node dir target node version installed: 14.16.1 gyp verb build dir attempting to create "build" dir: /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/build gyp verb build dir "build" dir needed to be created? /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/build gyp verb build/config.gypi creating config file gyp verb build/config.gypi writing out config file: /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/build/config.gypi gyp verb config.gypi checking for gypi file: /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/config.gypi gyp verb common.gypi checking for gypi file: /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/common.gypi gyp verb gyp gyp format was not specified; forcing "make" gyp info spawn /usr/bin/python2 gyp info spawn args [ gyp info spawn args '/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/admin/.node-gyp/14.16.1/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/admin/.node-gyp/14.16.1', gyp info spawn args '-Dnode_gyp_dir=/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/admin/.node-gyp/14.16.1/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp verb command build [] gyp verb build type Release gyp verb architecture x64 gyp verb node dev dir /home/admin/.node-gyp/14.16.1 gyp verbwhichsucceeded formake/usr/bin/make gyp info spawn make gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ] make: g++: No such file or directory make: *** [src/libsass.target.mk:160: Release/obj.target/libsass/src/libsass/src/ast.o] Error 127 gyp ERR! build error gyp ERR! stack Error:make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Linux 5.11.13-200.fc33.x86_64 gyp ERR! command "/home/admin/.nvm/versions/node/v14.16.1/bin/node" "/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass gyp ERR! node -v v14.16.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 make: Entering directory '/home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/build' g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.4"' -I/home/admin/.node-gyp/14.16.1/include/node -I/home/admin/.node-gyp/14.16.1/src -I/home/admin/.node-gyp/14.16.1/deps/openssl/config -I/home/admin/.node-gyp/14.16.1/deps/openssl/openssl/include -I/home/admin/.node-gyp/14.16.1/deps/uv/include -I/home/admin/.node-gyp/14.16.1/deps/zlib -I/home/admin/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++1y -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/ast.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/ast.o ../src/libsass/src/ast.cpp
From my understanding it fails while trying to build node-sass, I tried to install node-sass globally to overcome this but it would still try to build it.
I have also made sure I have python2,python3,make,gcc installed for node-gyp
I dev solely on Fedora, did not check on Ubuntu.
System :
Fedora 33 , Nvm : Node 14
To repdoruce :
Create a fresh Fedora 33 VM .
Intall python2,python3,make,gcc,nvm
Enter the project and run yarn
If I try to run npm install it would work - but then lerna would fail afterward because apparently not all dependencies are fetched.
All in all - on Mac Os X Catalina project bootstrapped very swiftly, on Fedora 33 it failed (and I did put several hours into it).
Lots of appreciation for you ,
Thanks !
The text was updated successfully, but these errors were encountered:
Hello,
I am please trying to use the starter kit and while I manage to bootstrap it very easily on Mac Os X Catalina when trying to install it on a clean Fedora 33 VM it fails while running
yarn build
with the following error :
error /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass: Command failed. Exit code: 1 Command: node scripts/build.js Arguments: Directory: /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass Output: Building: /home/admin/.nvm/versions/node/v14.16.1/bin/node /home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli '/home/admin/.nvm/versions/node/v14.16.1/bin/node', gyp verb cli '/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' gyp verb cli ] gyp info using [email protected] gyp info using [email protected] | linux | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb
whichsucceeded python2 /usr/bin/python2 gyp verb check python version
/usr/bin/python2 -c "import sys; print "2.7.18gyp verb check python version .%s.%s" % sys.version_info[:3];"
returned: %j gyp verb get node dir no --target version specified, falling back to host node version: 14.16.1 gyp verb command install [ '14.16.1' ] gyp verb install input version string "14.16.1" gyp verb install installing version: 14.16.1 gyp verb install --ensure was passed, so won't reinstall if already installed gyp verb install version is already installed, need to check "installVersion" gyp verb got "installVersion" 9 gyp verb needs "installVersion" 9 gyp verb install version is good gyp verb get node dir target node version installed: 14.16.1 gyp verb build dir attempting to create "build" dir: /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/build gyp verb build dir "build" dir needed to be created? /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/build gyp verb build/config.gypi creating config file gyp verb build/config.gypi writing out config file: /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/build/config.gypi gyp verb config.gypi checking for gypi file: /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/config.gypi gyp verb common.gypi checking for gypi file: /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/common.gypi gyp verb gyp gyp format was not specified; forcing "make" gyp info spawn /usr/bin/python2 gyp info spawn args [ gyp info spawn args '/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/admin/.node-gyp/14.16.1/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/admin/.node-gyp/14.16.1', gyp info spawn args '-Dnode_gyp_dir=/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/admin/.node-gyp/14.16.1/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp verb command build [] gyp verb build type Release gyp verb architecture x64 gyp verb node dev dir /home/admin/.node-gyp/14.16.1 gyp verb
whichsucceeded for
make/usr/bin/make gyp info spawn make gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ] make: g++: No such file or directory make: *** [src/libsass.target.mk:160: Release/obj.target/libsass/src/libsass/src/ast.o] Error 127 gyp ERR! build error gyp ERR! stack Error:
makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Linux 5.11.13-200.fc33.x86_64 gyp ERR! command "/home/admin/.nvm/versions/node/v14.16.1/bin/node" "/home/common/Projects/apollo-universal-starter-kit/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass gyp ERR! node -v v14.16.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 make: Entering directory '/home/common/Projects/apollo-universal-starter-kit/node_modules/node-sass/build' g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.4"' -I/home/admin/.node-gyp/14.16.1/include/node -I/home/admin/.node-gyp/14.16.1/src -I/home/admin/.node-gyp/14.16.1/deps/openssl/config -I/home/admin/.node-gyp/14.16.1/deps/openssl/openssl/include -I/home/admin/.node-gyp/14.16.1/deps/uv/include -I/home/admin/.node-gyp/14.16.1/deps/zlib -I/home/admin/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++1y -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/ast.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/ast.o ../src/libsass/src/ast.cpp
From my understanding it fails while trying to build node-sass, I tried to install node-sass globally to overcome this but it would still try to build it.
I have also made sure I have python2,python3,make,gcc installed for node-gyp
I dev solely on Fedora, did not check on Ubuntu.
System :
Fedora 33 , Nvm : Node 14
To repdoruce :
Create a fresh Fedora 33 VM .
Intall python2,python3,make,gcc,nvm
Enter the project and run
yarn
If I try to run
npm install
it would work - but then lerna would fail afterward because apparently not all dependencies are fetched.All in all - on Mac Os X Catalina project bootstrapped very swiftly, on Fedora 33 it failed (and I did put several hours into it).
Lots of appreciation for you ,
Thanks !
The text was updated successfully, but these errors were encountered: