slowly install for pulsar

Published: (March 13, 2026 at 04:09 AM EDT)
1 min read
Source: Dev.to

Source: Dev.to

package.json scripts and dependencies

{
  "scripts": {
    "postinstall": "cd ./node_modules/.pnpm/pulsar-client@1.12.0/node_modules/pulsar-client && pnpm run install",
    "start": "cross-env NODE_ENV=development nodemon --watch app -e ts,tsx --exec ts-node --require tsconfig-paths/register --files app/index.ts",
    "beautify": "npx prettier --write \"**/*.{js,ts,json,html,scss,css}\""
  },
  "dependencies": {
    "pulsar-client": "1.12.0",
    "pulsar-flex": "^1.1.1"
  }
}

.npmrc configuration to improve installation speed

pulsar_binary_host_mirror=https://mirrors.huaweicloud.com/apache/pulsar/pulsar-client-node/
0 views
Back to Blog

Related posts

Read more »