Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

App initialization fails

joshb45495208
Level 2
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.
1 Accepted Solution
dr_venture
Correct answer by
Employee
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
dr_venture
Employee
Employee
Reported the issue to core developers. When they post a fix I will let you know.
dr_venture
Employee
Employee
Engineer is working on a fix. Let you know after we test the fix. Sorry for the miss on that one.
dr_venture
Correct answer by
Employee
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

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