As the tittle suggests the # npm install --production command fails to execute.
The console error information is:
> @drupal/sailor@ preinstall c:\xampp\htdocs\calypso\themes\sailor
> ./bin/download
'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @drupal/sailor@ preinstall: `./bin/download`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @drupal/sailor@ preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\George Vasilopoulos\AppData\Roaming\npm-cache\_logs\2018-05-22T13_13_44_721Z-debug.log
Not 100% sure that this is not a problem in my end.
Comments
Comment #2
davidwbarratt commentedWhat version of node / npm are you using?
Comment #3
GeorgeBazz commented# npm version
{ npm: '5.6.0',
ares: '1.10.1-DEV',
cldr: '32.0',
http_parser: '2.8.0',
icu: '60.1',
modules: '57',
napi: '3',
nghttp2: '1.29.0',
node: '8.11.2',
openssl: '1.0.2o',
tz: '2017c',
unicode: '10.0',
uv: '1.19.1',
v8: '6.2.414.54',
zlib: '1.2.11' }
# node -v
v8.11.2
Comment #4
GeorgeBazz commentedHello David,
Considering I had no news in almost 2 weeks, should I proceed without the usage of the module?
Should the module be labeled as non functional, if this is not a machine problem?
Thanks in advance
Comment #5
davidwbarratt commentedI never tested the the download script on Windows / Powershell. You'd have to use it in Windows Subsystem for Linux.