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

needle v2.4.0 issue #12

Open
bestpika opened this issue Jun 28, 2019 · 2 comments
Open

needle v2.4.0 issue #12

bestpika opened this issue Jun 28, 2019 · 2 comments

Comments

@bestpika
Copy link

bestpika commented Jun 28, 2019

If use [email protected] will get the error.

Error: Invalid property for defaults:compressed
    at Function.module.exports.defaults (D:\tmp\n0use-api-heroku-nodejs\node_modules\needle\lib\needle.js:776:13)
    at Object.<anonymous> (D:\tmp\n0use-api-heroku-nodejs\node_modules\libxmljs-dom\lib\HttpRequest.js:5:8)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (D:\tmp\n0use-api-heroku-nodejs\node_modules\libxmljs-dom\lib\Window.js:8:22)

I try to change needle to v2.3.0 and work fine.

@bestpika
Copy link
Author

bestpika commented Jun 28, 2019

Use npm/pnpm install [email protected] and the bug will go.

@bestpika bestpika reopened this Jun 28, 2019
@james58899
Copy link

"needle": ">=0.9.2",

Maybe add <=2.3.0

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

No branches or pull requests

2 participants