⚡ PERGUNTA DO DIA ⚡ Você tem usado nosso BFB? Você já visitou o repo do BFB, fez seu clone em algum projeto e já usou para praticar ou projetos do mundo real? Comenta pra gente saber! 👇👇👇
Eu estou usando professor em todos os projetos, até os mais simples, muito bem documentado e organizado...Sou estudante júnior e o que você ensina têm sido um enorme diferencial pra mim na adoção e treinos no que realmente importa com muito foco profissional, muito obrigado pela sua dedicação e apoio o/
É utilizada alguma técnica para a organização das pastas do Sass ? . Tenho uma sugestão de vídeo, poderia explicar sobre a técnica ITCSS e como ficaria sua utilização com o BEM. Um grande abraço ;)
Oi, Izabella! Obrigado por participar da live! :) Existem sim várias técnicas possíveis para essa organização de arquitetura em Sass, inclusive o próprio ITCSS que você comentou. É uma excelente sugestão de conteúdo, muito obrigado!
As variáveis de cores webfatorial não estão sendo reconhecidas no meu bfb, não fiz nenhuma modificação dele, somente baixei e estou tentando usá-lo, mas ao usar (ex.: background-color: $webfatorial-gray-5;) no localhost apresenta um erro de udefined variable, alguma dica para solucionar o problema?
C:\Users\Danie\Documents\basic-front-boilerplate ode_modules\deasync>if not defined npm_config_node_gyp (node "C:\Program Files odejs ode_modules pm ode_modules pm-lifecycle ode-gyp-bin\\..\.. ode_modules ode-gyp\bin ode-gyp.js" rebuild ) else (node "C:\Program Files odejs ode_modules pm ode_modules ode-gyp\bin ode-gyp.js" rebuild ) gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - "python" is not in PATH or produced an error gyp ERR! find Python checking if "python2" can be used gyp ERR! find Python - "python2" is not in PATH or produced an error gyp ERR! find Python checking if "python3" can be used gyp ERR! find Python - "python3" is not in PATH or produced an error gyp ERR! find Python checking if the py launcher can be used to find Python 2 gyp ERR! find Python - "py.exe" is not in PATH or produced an error gyp ERR! find Python checking if Python is C:\Python27\python.exe gyp ERR! find Python - "C:\Python27\python.exe" could not be run gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Program Files odejs ode_modules pm ode_modules ode-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Program Files odejs ode_modules pm ode_modules ode-gyp\lib\find-python.js:136:21) gyp ERR! stack at PythonFinder. (C:\Program Files odejs ode_modules pm ode_modules ode-gyp\lib\find-python.js:225:16) gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files odejs ode_modules pm ode_modules ode-gyp\lib\find-python.js:271:16) gyp ERR! stack at exithandler (child_process.js:315:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:327:5) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! stack at onErrorNT (internal/child_process.js:465:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21) gyp ERR! System Windows_NT 10.0.19042 gyp ERR! command "C:\\Program Files\ odejs\ ode.exe" "C:\\Program Files\ odejs\ ode_modules\ pm\ ode_modules\ ode-gyp\\bin\ ode-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Danie\Documents\basic-front-boilerplate ode_modules\deasync gyp ERR! node -v v14.16.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok Build failed npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\@parcel\watcher ode_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! deasync@0.1.15 install: `node ./build.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the deasync@0.1.15 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Danie\AppData\Roaming pm-cache\_logs\2021-05-27T23_35_44_941Z-debug.log
Você conhece o nvm? Ele permite ter várias versões do Node e intercambiá-las na máquina. No projeto, existe o arquivo `.nvmrc` que indica a versão do Node recomendada. Se tiver ele instalado, roda `nvm use` e ele vai trocar para a versão indicada.