[NPMCLI-181] Problem using jumpstart on Windows Created: 30/Apr/18  Updated: 31/May/18  Resolved: 18/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: Richard Gange Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7 or 10
Node JS v8.11.1


Issue Links:
duplicate
duplicates NPMCLI-182 CLI jumpstart fails - due to regressi... Closed
is duplicated by NPMCLI-180 mgnl jumpstart error: ENOENT: no such... 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   

Verified it works on Mac:

Richs-MacBook-Pro:5.6.1 rgange$ mgnl jumpstart -m 5.6.1
info Using configuration at /usr/local/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli.json
info Using prototypes at /usr/local/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli-prototypes
? What Magnolia would you like to install? magnolia-enterprise-pro-webapp
? Username: rgange
? Password: [hidden]
info No path option provided. Will use the default light-modules in the current directory
info /Users/rgange/Temp/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 /Users/rgange/Temp/5.6.1/apache-tomcat
info /Users/rgange/Temp/5.6.1/Users/rgange/Temp/5.6.1/downloads/magnolia-enterprise-pro-webapp-5.6.1.war to /Users/rgange/Temp/5.6.1/apache-tomcat/webapps/magnoliaAuthor
info Extraction completed
info Replacing Magnolia properties to prepare it for light development...
info Changing magnolia.properties at apache-tomcat/webapps/magnoliaAuthor/WEB-INF/config/default/magnolia.properties
info magnolia.develop=true
info magnolia.update.auto=true
info magnolia.resources.dir=${magnolia.home}/../../../light-modules
info Magnolia has been successfully setup for light development!
info You can now open a new terminal tab or window and start it up with the CLI command 'mgnl start'
info Magnolia will be ready after a few seconds at localhost:8080/magnoliaAuthor. Username and password is superuser

On Windows 10:

C:\Users\Magnolia>mgnl jumpstart -m 5.6.1
info Using configuration at C:\Users\Magnolia\AppData\Roaming\npm\node_modules\@magnolia\cli\lib\config\mgnl-cli.json
info Using prototypes at C:\Users\Magnolia\AppData\Roaming\npm\node_modules\@magnolia\cli\lib\config\mgnl-cli-prototypes
? What Magnolia would you like to install? magnolia-enterprise-pro-webapp
? Username: rgange
? Password: [hidden]
info No path option provided. Will use the default light-modules in the current directory
info C:/Users/Magnolia/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:\Users\Magnolia\apache-tomcat
info C:\Users\Magnolia\C:\Users\Magnolia\downloads\magnolia-enterprise-pro-webapp-5.6.1.war to C:\Users\Magnolia\apache-tomcat\webapps\magnoliaAuthor
info Extraction completed
ERR! Error: ENOENT: no such file or directory, scandir 'C:\Users\Magnolia\apache-tomcat\bin'

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