Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.
This repository was archived by the owner on May 2, 2025. It is now read-only.

The "npm run linea" not working. #28

@shikhar360

Description

@shikhar360

Hey guys,

In the 5th point of README.md.
After we are asked to start the development blockchain.
We had 2 options :

  • npm run dev (this command is giving no issues).
  • npm run linea
    Getting these issues while running "npm run linea" command.

Screenshot 2023-06-08 at 3 29 54 PM

I tried to solve these with changing the rpc url from https:// to wss:// and adding some timeout in the /packages/form-XChange/truffle-config.js file as stated in this stackoverflow answer

Screenshot 2023-06-08 at 3 33 08 PM

but still after doing all that getting this error

Screenshot 2023-06-08 at 3 40 12 PM

Note : I have checked my metamask. I have more than enough linea (0.5 linea eth) to deploy this contract.

Have also added the dotenv file in the packages/form-XChange directory with the MNEMONIC as 12 word phrase as well as my private keys. (you guys have forgot to mention this as well in your README.MD file) 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions