04-22-2021 09:09 AM
Hi,
I'm a new ADF developer, I try to do my first test with ADF
documentation https://www.alfresco.com/abn/adf/docs/tutorials/creating-your-first-adf-application/
But i have an error when execute these command:
npm install -g generator-alfresco-adf-app@latest
or
npm install generator-alfresco-adf-app
My OS is Windows 10
I have not yet install alfresco
See a part of log and help me please. It's not possible to post all the line of log
...
11632 verbose lifecycle deasync@0.1.14~install: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Davidson\AppData\Roaming\npm\node_modules\generator-alfresco-adf-app\node_modules\deasync\node_modules\.bin;C:\Users\Davidson\AppData\Roaming\npm\node_modules\generator-alfresco-adf-app\node_modules\.bin;C:\Users\Davidson\AppData\Roaming\npm\node_modules\.bin;C:\Python39\Scripts\;C:\Python39\;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Java\jdk-14\bin;C:\Program Files\Java\jdk1.8.0_231\bin;C:\Program Files\Inkscape\bin;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Python37\Scripts\;C:\Python37\;C:\Users\Davidson\AppData\Local\Microsoft\WindowsApps;C:\Users\Davidson\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Davidson\AppData\Roaming\npm
11633 verbose lifecycle deasync@0.1.14~install: CWD: C:\Users\Davidson\AppData\Roaming\npm\node_modules\generator-alfresco-adf-app\node_modules\deasync
10710 verbose cwd C:\Windows\system32 10711 verbose Windows_NT 10.0.17763 10712 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "generator-alfresco-adf-app" 10713 verbose node v14.16.1 10714 verbose npm v6.14.12 10715 error code ELIFECYCLE 10716 error errno 1 10717 error deasync@0.1.14 install: `node ./build.js` 10717 error Exit status 1 10718 error Failed at the deasync@0.1.14 install script. 10718 error This is probably not a problem with npm. There is likely additional logging output above. 10719 verbose exit [ 1, true ]
04-23-2021 07:15 AM
Hi @Davidson_B
Do you have Microsoft Visual Studio Code installed? If not, install it (it's free) & try running again. I seem to recall I encountered a similar error (on a Mac) but it ran OK after I installed VSC. VSC is not a dependency but I suspect that installing it fixed some other dependency issue.
HTH,
Explore our Alfresco products with the links below. Use labels to filter content by product module.