Topic: mdb-cli init failed

itay pro asked 4 years ago


mdb cli init failed.

C:\My Source\Misc>mdb login
? Enter your MDB username XXX
? Enter your MDB password ********************
┌─────────┬─────────────┬────────────────────┐
│ (index) │   Status    │      Message       │
├─────────┼─────────────┼────────────────────┤
│    0    │ 'logged in' │ 'Login successful' │
└─────────┴─────────────┴────────────────────┘

C:\My Source\Misc\>mdb init
? Choose project to initialize angular-ui-kit
Initializing...
[====================================================================================================] 0.0 s


? Missing package.json file. Create? Yes
{ Error: spawn C:\WINDOWS\system32\cmd.exe ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
    at onErrorNT (internal/child_process.js:415:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn C:\\WINDOWS\\system32\\cmd.exe',
  path: 'C:\\WINDOWS\\system32\\cmd.exe',
  spawnargs: [ '/d', '/s', '/c', '"npm init --yes"' ] }

Furthermore. it looks like the project created using old ver 7.2.0 and not ver 8

How can I create a project for ver 8 ?


Yorkey181 free answered 4 years ago


I'm having the exact same problem... I wanted to install and test this out before purchasing a pro upgrade, but this sounds like it won't be possible to actually use it for another couple of weeks if I do?

Is there any other option to install this and try it out? There seems to be a lot of issues here and being able to install and use it seems like one that should have been sorted a long time back?

Am I missing something?


Sebastian Kaczmarek staff commented 4 years ago

I am not really sure what would you like to test out before purchasing a pro upgrade. MDB CLI is still in beta so I have to ask you for patience. If you want to try MDB Pro, then you should try our Snippets tool: https://mdbootstrap.com/snippets/ (currently, only jQuery and Vue supported). If you are thinking of MDB CLI Pro - there's no such thing. Do you have any other questions?


Sebastian Kaczmarek staff answered 4 years ago


Sorry for your inconveniences, it should be fixed in the nearest release


itay pro commented 4 years ago

Do you have a date ?


Sebastian Kaczmarek staff commented 4 years ago

It should be released before the end of July


itay pro commented 4 years ago

Any news regarding ver 8 support ?


Sebastian Kaczmarek staff commented 4 years ago

The work is in progress. As I said, it should be released before the end of July


itay pro commented 4 years ago

July ended 17 days ago


Sebastian Kaczmarek staff commented 4 years ago

Oh, sorry for the mistake. The OP has reported two issues at the same time in one post and I got confused. The "end of July" response was about the "mdb cli init failed" issue - and it's been already resolved. The other case, version 8 support, is planned for the future releases so I have to ask you for patience.


itay pro commented 4 years ago

Do you have a date for ver 8 support ?


Sebastian Kaczmarek staff commented 4 years ago

I don't like to say that, but I cannot give you any strict deadline for that. We have a ton of other features to add and fixes to make, also in other projects. Sorry about that. I'll get back to you as soon as it'll be available


Xeevis pro answered 4 years ago


Same here, also the installed version is 4.6.1 while newest is 4.8.5.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.0.0
  • Device: NA
  • Browser: NA
  • OS: NA
  • Provided sample code: No
  • Provided link: No