We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps:
Error:
gyp: Undefined variable module_name in binding.gyp while trying to load binding.gyp
Path:
Question: I dont know exactly where to configure variables above?
If somebody knows and would like inform me, appreciated and thanks.
npm init directus-project sample
OR
yarn create directus-project sample
npm ERR! path E:\ruilang\qserver\node_modules\argon2 npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@16.14.2 | win32 | x64 npm ERR! gyp info find Python using Python version 3.8.0 found at "E:\Devenv\Python\Python38\python.exe" npm ERR! gyp info find VS using VS2022 (17.1.32421.90) found at: npm ERR! gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community" npm ERR! gyp info find VS run with --verbose for detailed information npm ERR! gyp info spawn E:\Devenv\Python\Python38\python.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'E:\ruilang\qserver\node_modules\node-gyp\gyp\gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'msvs', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'E:\ruilang\qserver\node_modules\argon2\build\config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'E:\ruilang\qserver\node_modules\node-gyp\addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\Users\Administrator\AppData\Local\node-gyp\Cache\16.14.2\include\node\common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=C:\Users\Administrator\AppData\Local\node-gyp\Cache\16.14.2', npm ERR! gyp info spawn args '-Dnode_gyp_dir=E:\ruilang\qserver\node_modules\node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\16.14.2\\<(target_arch)\\node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=E:\ruilang\qserver\node_modules\argon2', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'E:\ruilang\qserver\node_modules\argon2\build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp: Undefined variable module_name in binding.gyp while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: gyp failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onCpExit (E:\ruilang\qserver\node_modules\node-gyp\lib\configure.js:259:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:526:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Windows_NT 10.0.19043 npm ERR! gyp ERR! command "E:\Devenv\nodejs\node.exe" "E:\ruilang\qserver\node_modules\node-gyp\bin\node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd E:\ruilang\qserver\node_modules\argon2 npm ERR! gyp ERR! node -v v16.14.2 npm ERR! gyp ERR! node-gyp -v v8.4.1 npm ERR! gyp ERR! not ok
gyp
9.10.0
16.14.2
mysql
chrome
running locally
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug
Steps:
Error:
Path:
Question:
I dont know exactly where to configure variables above?
If somebody knows and would like inform me, appreciated and thanks.
To Reproduce
OR
Errors Shown
What version of Directus are you using?
9.10.0
What version of Node.js are you using?
16.14.2
What database are you using?
mysql
What browser are you using?
chrome
How are you deploying Directus?
running locally
The text was updated successfully, but these errors were encountered: