Skip to content

Npm install failed if opencollective is not installed #1052

@frontenddeveloping

Description

@frontenddeveloping

Expected Behavior

npm install works as usual

Current Behavior

npm install failed

Steps to Reproduce

  1. Add javascript-obfuscator to package.json
  2. Run npm i

Your Environment

  • Obfuscator version used: any, from 2.10 to latest
  • Node version used: 11.15

Stack trace

npm verb stack Error: javascript-obfuscator@2.19.1 postinstall: opencollective
npm verb stack spawn ENOENT

Fix

npm install -g opencollective fix the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions