Aeproject init not working

Just installed globally v1.01 this morning. When trying ‘aeproject init’ getting the following:

C:\Users\myusename\aeternity\to-do-contract>aeproject init
C:\Users\myusename\AppData\Roaming\npm\node_modules\aeproject\aeproject-init\init.js:1
Error: Cannot find module ‘prompts’
Require stack:

  • C:\Users\myusename\AppData\Roaming\npm\node_modules\aeproject\aeproject-init\init.js
  • C:\Users\myusename\AppData\Roaming\npm\node_modules\aeproject\commands.js
  • C:\Users\myusename\AppData\Roaming\npm\node_modules\aeproject\aeproject-cli.js
    at Object. (C:\Users\myusename\AppData\Roaming\npm\node_modules\aeproject\aeproject-init\init.js:29:17)
    at Generator.next ()

There is no ‘prompts.js’ or prompts folder in the \node_modules\aeproject\aeproject-init folder.

l:24 in aeproject-init - ‘const prompts = require(‘prompts’);’

Thanks!

1 Like

@martingrigorov.chain will be able to help you

1 Like

We saw the issue, that’s why we haven’t promoted the new release yet. Working on a fix will be available really soon. Sorry for the inconvenience.

Best,
Martin

2 Likes

No inconvenience. I unknowingly pulled the most recent. Thanks for all your hard work.

@rwfresh New version of aeproject is released 1.0.2, it should work as expected now.

1 Like