[NPMCLI-180] mgnl jumpstart error: ENOENT: no such file or directory, scandir 'C:\5.6.1\apache-tomcat\bin' Created: 28/Apr/18  Updated: 02/May/18  Resolved: 02/May/18

Status: Closed
Project: Magnolia CLI
Component/s: None
Affects Version/s: 3.0.0
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Daniel O'Brien Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10, NodeJS 8.11.1 (LTS)


Issue Links:
duplicate
duplicates NPMCLI-181 Problem using jumpstart on Windows Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Hello Magnolia

 

Hoping you can help me?  I get the following error when using the mgnl jumpstart command while using mgnl cli 3.0.0 on windows 10.

I have also tested this on a windows 7 machine and encounter the same problem.  Both machines have NodeJS 8.11.1 lts installed.

The NodeJS install appears to function correctly on both machines (e.g. when using gulp for various tasks).  Neither machine has had a previous version of mgnl cli installed on it before, although I am familiar with v2.2.0 and have used it with great success in the past.

 

Here is the error message:

C:\5.6.1>mgnl jumpstart -m 5.6.1
info Using configuration at C:\Users\Daniel\AppData\Roaming\npm\node_modules@magnolia\cli\lib\config\mgnl-cli.json
info Using prototypes at C:\Users\Daniel\AppData\Roaming\npm\node_modules@magnolia\cli\lib\config\mgnl-cli-prototypes
? What Magnolia would you like to install? magnolia-enterprise-pro-webapp
? Username:
? Password:
info No path option provided. Will use the default light-modules in the current directory
info C:/5.6.1/light-modules does not seem to exist. Path will be created automatically.
info Starting download from: https://nexus.magnolia-cms.com/service/local/artifact/maven/content?r=magnolia.public.releases&g=info.magnolia.tomcat.barebone&a=magnolia-tomcat-barebone&e=zip&v=LATEST
Downloading [====================] 100% 0.0s
info Starting download from: https://nexus.magnolia-cms.com/service/local/artifact/maven/content?r=magnolia.enterprise.releases&g=info.magnolia.eebundle&a=magnolia-enterprise-pro-webapp&e=war&v=5.6.1
Downloading [====================] 100% 0.0s
info Extracting...
info magnolia-tomcat-barebone-1.0/apache-tomcat-8.5.5/ to C:\5.6.1\apache-tomcat
info C:\5.6.1\C:\5.6.1\downloads\magnolia-enterprise-pro-webapp-5.6.1.war to C:\5.6.1\apache-tomcat\webapps\magnoliaAuthor
info Extraction completed
ERR! Error: ENOENT: no such file or directory, scandir 'C:\5.6.1\apache-tomcat\bin'

 

If I manually create the bin folder and run the command again, I then encounter the following error:

 

C:\5.6.1>mgnl jumpstart -m 5.6.1
info Using configuration at C:\Users\Daniel\AppData\Roaming\npm\node_modules@magnolia\cli\lib\config\mgnl-cli.json
info Using prototypes at C:\Users\Daniel\AppData\Roaming\npm\node_modules@magnolia\cli\lib\config\mgnl-cli-prototypes
? What Magnolia would you like to install? magnolia-enterprise-pro-webapp
? Username:
? Password:
info No path option provided. Will use the default light-modules in the current directory
info C:\5.6.1\downloads\magnolia-tomcat-barebone-1.0.zip already exists. It won't be downloaded again.
info C:\5.6.1\downloads\magnolia-enterprise-pro-webapp-5.6.1.war already exists. It won't be downloaded again.
info C:\5.6.1\apache-tomcat already exists. We won't extract it again.
info Extracting...
info magnolia-tomcat-barebone-1.0/apache-tomcat-8.5.5/ to C:\5.6.1\apache-tomcat
info C:\5.6.1\C:\5.6.1\downloads\magnolia-enterprise-pro-webapp-5.6.1.war to C:\5.6.1\apache-tomcat\webapps\magnoliaAuthor
info Extraction completed
info Replacing Magnolia properties to prepare it for light development...
ERR! ENOENT: no such file or directory, stat 'C:\5.6.1\apache-tomcat\webapps\magnoliaAuthor\WEB-INF\config\default\magnolia.properties'
ERR! Error: ENOENT: no such file or directory, stat 'C:\5.6.1\apache-tomcat\webapps\magnoliaAuthor\WEB-INF\config\default\magnolia.properties'
ERR!
ERR!
ERR! mgnl: 3.0.0 node: v8.11.1 os: win32
ERR! please open an issue including this log on https://jira.magnolia-cms.com/browse/NPMCLI

 

Hoping you can help, many thanks in advance for your support.

Daniel



 Comments   
Comment by Daniel O'Brien [ 30/Apr/18 ]

Many apologies - I believe I may have logged this support request in the wrong place.I have since logged this in the correct location as https://jira.magnolia-cms.com/browse/SUPPORT-8633.

Therefore this request (NPMCLI-180) can be closed.

Many thanks

Daniel

Generated at Mon Feb 12 04:47:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.