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

Fatal error on startup #5

Open
ghost opened this issue Nov 27, 2017 · 13 comments
Open

Fatal error on startup #5

ghost opened this issue Nov 27, 2017 · 13 comments

Comments

@ghost
Copy link

ghost commented Nov 27, 2017

stacks-cli version: 0.1.42

node version: 8.9.1 32bits

steps to reproduce: simply run stacks-cli after installing it with npm i -g stacks-cli

error:

/usr/local/lib/node_modules/stacks-cli/bin/cli.js:16
const wappalyzer = require('wappalyzer')(options);

TypeError: Class constructor Driver cannot be invoked without 'new'
    at Object.<anonymous> (/usr/local/lib/node_modules/stacks-cli/bin/cli.js:16:41)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Function.Module.runMain (module.js:676:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

installed versions of dependencies:

npm ls --depth=0
[email protected] /usr/local/lib/node_modules/stacks-cli
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

mitigation: if I downgrade to wappalyzer 5.1.6 it works.

@karli2000
Copy link

Same error with node 9.2.0 x64 on Windows 10

@kodekracker
Copy link

same error with node v7.10.0 on Ubuntu Linux 16.04

@sbmthakur
Copy link

I faced the same issue with node v8.7.0. The suggested mitigation worked for me. Seems like this is a compatibility issue with [email protected].

@midgethoen
Copy link

midgethoen commented Nov 27, 2017

same for for me:

➜  ~ stacks-cli
/usr/local/lib/node_modules/stacks-cli/bin/cli.js:16
const wappalyzer = require('wappalyzer')(options);
                                        ^

TypeError: Class constructor Driver cannot be invoked without 'new'
    at Object.<anonymous> (/usr/local/lib/node_modules/stacks-cli/bin/cli.js:16:41)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Function.Module.runMain (module.js:676:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3
➜  ~ node -v
v8.9.1

@gchokov
Copy link

gchokov commented Nov 27, 2017

Same here.

@fr0stxm
Copy link

fr0stxm commented Nov 27, 2017

Same here running on Mac OS 10.12.6

➜ node -v
v7.8.0

@uniacid
Copy link

uniacid commented Nov 27, 2017

Same here on OSX 10.13.1 / Node v8.9.1

@LaurensN
Copy link

Same for OSX 10.12.6 / Node v7.5.0

@zezic
Copy link

zezic commented Nov 27, 2017

Same on Ubuntu 16.04 / Node v8.2.1

@drpgdigital
Copy link

Same for OSX 10.12.16 / Node v8.9.1

@karli2000
Copy link

I think by now we know it is not related to any Node version or OS :)
As @sbmthakur said, it looks like it is [email protected]

@WeiChiaChang
Copy link
Owner

WeiChiaChang commented Nov 27, 2017

Hello all, thanks for all of your time and patience at first 🙏,
just like @sbmthakur and @karli2000 said, it seems have some conflict with [email protected] this version, so I just downgraded it to @5.1.6 and released [email protected] already.

Actually I didn't expect this side project can receive such a huge attentions, so if there's still some potential issues, Pull Request or opening a new issue always welcome, and I will try to figure it out in my spare time, thanks everybody again.

@LaurensN
Copy link

Nice work @WeiChiaChang, fixed over here 👍

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