We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using sdk from peak-network after installing the sdk from npm @peaq-network/sdk
npm install @peaq-network/sdk
does not work. The npm package concerned is
@peaq-network/sdk": "^0.5.1"
Either using
import { Sdk } from "@peaq-network/sdk";
if package.json is configured with
type:"module",
or if not, using
require("@peaq-network/types/package.json"); // @peaq-network/types is a peer dependency. const sdk = require("@peaq-network/sdk")
Only importing the Sdk either way causes a compilation error in the npm module @peaq-network/types/ :
Error: Cannot find module '.../node_modules/@peaq-network/types/src/index.js'. Please verify that the package.json has a valid "main" entry
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using sdk from peak-network after installing the sdk from npm @peaq-network/sdk
does not work.
The npm package concerned is
@peaq-network/sdk": "^0.5.1"
Either using
if package.json is configured with
or if not, using
Only importing the Sdk either way causes a compilation error in the npm module @peaq-network/types/ :
The text was updated successfully, but these errors were encountered: