Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: p is not a function #17

Closed
nicolad opened this issue Mar 21, 2023 · 6 comments
Closed

TypeError: p is not a function #17

nicolad opened this issue Mar 21, 2023 · 6 comments

Comments

@nicolad
Copy link

nicolad commented Mar 21, 2023

image

@wottpal
Copy link
Member

wottpal commented Mar 28, 2023

Can you give a bit more context, @nicolad? Would be happy to solve this :) Never experienced it on my own.

@nicolad
Copy link
Author

nicolad commented Mar 29, 2023

Hey @wottpal, don't remember now, it was last week 😅
when I will be able to reproduce, will open with more details.

@nicolad nicolad closed this as completed Mar 29, 2023
@melitus
Copy link

melitus commented Mar 6, 2024

I experienced the same problem trying to run deploy smart contract to aleph testnet

@wottpal
Copy link
Member

wottpal commented Mar 10, 2024

Hey @melitus, would love to help. Are you able to provide more info?

@wottpal wottpal reopened this Mar 10, 2024
@wottpal
Copy link
Member

wottpal commented Apr 9, 2024

Closing this until more info is provided.

@wottpal wottpal closed this as completed Apr 9, 2024
@pcfaktor
Copy link

pcfaktor commented Sep 18, 2024

Hi @wottpal !
I get this error when trying to add a custom contract. Tried with flipper and incrementer from ink-examples. Doing everything from the Custom Contacts section. Contracts are built normally. Greeter deploys fine. But when running my deploy_flipper I get:

> pnpm run script deploy_flipper


> @inkathon/[email protected] script /home/pcfaktor/Projects/substrate/inkathon/contracts
> f() { tsx ./scripts/$1; }; f "$@" "deploy_flipper"

Initialized API on Development (0.41.0-120504a771e)
Initialized Account: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY (1,152,920.4837 Unit)

/home/pcfaktor/Projects/substrate/inkathon/node_modules/.pnpm/@[email protected]_@[email protected]_@polkadot+util@12._qn5wyinnt4bedqajjav3juyxfq/node_modules/@scio-labs/use-inkathon/src/helpers/unwrapResult.ts:29
}
^


TypeError: P is not a function
    at unwrappedResult (/home/pcfaktor/Projects/substrate/inkathon/node_modules/.pnpm/@[email protected]_@[email protected]_@polkadot+util@12._qn5wyinnt4bedqajjav3juyxfq/node_modules/@scio-labs/use-inkathon/src/helpers/unwrapResult.ts:29:1)
    at Generator.next (<anonymous>)
    at file:///home/pcfaktor/Projects/substrate/inkathon/node_modules/.pnpm/@[email protected]_@[email protected]_@polkadot+util@12._qn5wyinnt4bedqajjav3juyxfq/node_modules/@scio-labs/use-inkathon/dist/chunk-3AQ3E45C.js:1:629
    at new Promise (<anonymous>)
    at t (file:///home/pcfaktor/Projects/substrate/inkathon/node_modules/.pnpm/@[email protected]_@[email protected]_@polkadot+util@12._qn5wyinnt4bedqajjav3juyxfq/node_modules/@scio-labs/use-inkathon/dist/chunk-3AQ3E45C.js:1:445)
    at unwrappedResult (/home/pcfaktor/Projects/substrate/inkathon/node_modules/.pnpm/@[email protected]_@[email protected]_@polkadot+util@12._qn5wyinnt4bedqajjav3juyxfq/node_modules/@scio-labs/use-inkathon/src/helpers/unwrapResult.ts:29:1)
    at new Promise (<anonymous>)
    at unwrappedResult (/home/pcfaktor/Projects/substrate/inkathon/node_modules/.pnpm/@[email protected]_@[email protected]_@polkadot+util@12._qn5wyinnt4bedqajjav3juyxfq/node_modules/@scio-labs/use-inkathon/src/helpers/unwrapResult.ts:29:1)
    at Generator.next (<anonymous>)
    at file:///home/pcfaktor/Projects/substrate/inkathon/node_modules/.pnpm/@[email protected]_@[email protected]_@polkadot+util@12._qn5wyinnt4bedqajjav3juyxfq/node_modules/@scio-labs/use-inkathon/dist/chunk-3AQ3E45C.js:1:629

Node.js v18.17.0
 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

4 participants