Skip to content

Install error - Cannot read properties of undefined (reading 'kind') #2

@num13ru

Description

@num13ru

Issue Description

Package Installation and Execution

When attempting to install the angular-web3 package using the command ng add angular-web3, I encountered an error during the installation process.

Steps to Reproduce

  1. Create a new Angular app using the command ng new my-app.
  2. Navigate to the newly created app directory using cd my-app.
  3. Run the command ng add angular-web3 in the terminal.
  4. Choose to proceed with the installation when prompted.
  5. Select the option to install a demo app.
  6. Choose the "Hello World Contract" demo app.
  7. Receive the following error message:
ℹ Using package manager: npm
✔ Found compatible package version: angular-web3@0.0.6-beta2.
✔ Package information loaded.

The package angular-web3@0.0.6-beta2 will be installed and executed.
Would you like to proceed? Yes
✔ Packages successfully installed.
? Do you want to Install a Demo App Yes
? Which demoApp do you want to install Hello World Contract
HelloWorldContractModule
./1-hello-world-contract/hello-world-contract.module
Cannot read properties of undefined (reading 'kind')

Expected Behavior

I expected the installation and execution of the angular-web3 package to proceed without any errors. The demo app, "Hello World Contract," should have been successfully installed.

Actual Behavior

Instead, an error occurred during the installation process, preventing the successful installation of the demo app. The error message indicates that there was an issue reading properties of an undefined object.

Additional Information

  • Package manager used: npm
  • Package version: angular-web3@0.0.6-beta2
  • Angular CLI version: 15.2.8
  • Node version: 16.14.2
  • Package Manager version: npm 8.5.0
  • Operating System: darwin x64
  • Angular version: 15.2.9
  • Additional packages and versions:
@angular-devkit/architect       0.1502.8
@angular-devkit/build-angular   15.2.8
@angular-devkit/core            15.2.8
@angular-devkit/schematics      15.2.8
@angular/cli                    15.2.8
@schematics/angular             15.2.8
rxjs                            7.8.1
typescript                      4.9.5

Please let me know if any further information is required to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions