Expand my Community achievements bar.

SOLVED

App initialization fails

Avatar

Level 2

I've been following the instructions to initialize a hello world Firefly app using the Adobe I/O CLI and running into a problem.

 

I believe the app initialization is failing when trying to install the npm packages.

The result is that the npm packages are not installed and so it's not possible to run the app locally.

 

Following the instructions on Github I encounter the problem at section 4.1 step 6.

It cannot find the package `@react-types/typography` on the npm registry.

Screenshot 2020-06-17 at 18.52.00.png

 It shows a bunch of errors and then says `App initialization finished!` but when I check the folder, there is no `node_modules` folder created.

 

Then I try to run `aio app run` and it fails with the following error:

Screenshot 2020-06-17 at 18.57.01.png

 You can see that it failed to find the package `@adobe/aio-sdk` which is in the list of dependencies in package.json and hasn't been installed.

 

Installing it manually throws errors saying it can't find other packages like 

`cloudevents-sdk` and `uuid` which are also on the list of dependencies.
 
Running `npm install` on it's own throws the error with `@react-types/typography again` and aborts the install.
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Ok, engineering patched the issue up.  Please update Adobe I/O CLI to the latest and try to do init again.  Let us know if this does not fix the issue for you. 

npm i -g @adobe/aio-cli

 

View solution in original post

4 Replies

Avatar

Employee
Reported the issue to core developers. When they post a fix I will let you know.

Avatar

Employee
Engineer is working on a fix. Let you know after we test the fix. Sorry for the miss on that one.

Avatar

Correct answer by
Employee

Ok, engineering patched the issue up.  Please update Adobe I/O CLI to the latest and try to do init again.  Let us know if this does not fix the issue for you. 

npm i -g @adobe/aio-cli

 

Avatar

Level 2
Thank you for a quick resolution, this has fixed my issue. I have another issue which I'll raise separately.