Coder Social home page Coder Social logo

Comments (6)

felipe19930 avatar felipe19930 commented on August 20, 2024 1

I used yarn to install globally and got the same behavior, but I finally got it to work.

First make sure you have the output of yarn global bin in your PATH variable, e.g.:

$ export PATH="$(yarn global bin):$PATH"

Then install pown, globally:

$ yarn global add pown

Now to actually run pown:

$ POWN_ROOT="$(yarn global dir)/node_modules/@pown/whoarethey" pown whoarethey 1password

And of course you add that big-ass command as an alias in your ~/.bashrc / ~/.zshrc, etc.:

alias pown="POWN_ROOT=$(yarn global dir)/node_modules/@pown/whoarethey pown"

Not sure if there's an easier way to do this (I'm not familiar with NodeJS), but hey, works for meβ„’

from whoarethey.

pdparchitect avatar pdparchitect commented on August 20, 2024 1

I would recommend 11 for full compatability with all modules but this one should work in 10.

from whoarethey.

pdparchitect avatar pdparchitect commented on August 20, 2024

I will update the documentation. You will need to specify where the root of pown is.

POWN_ROOT=. ./node_modules/.bin/pown-cli whoarethey

from whoarethey.

Metroxe avatar Metroxe commented on August 20, 2024

this did not solve the issue. I tried to install globally as shown here. Still cannot get a response

image

Is it possibly my node version?

from whoarethey.

pdparchitect avatar pdparchitect commented on August 20, 2024

Perhaps it is not clear from the documentation but pown is made from several discrete parts. It is not really a framework like Metasploit. One part is the CLI. Another is the module system. We have some modules like this one as well. This allow for modules to be small and lean and reused as libraries without indirectly including the rest.

This makes it difficult to install commands like this one globally. You can install it locally or install pown globally or install it via pown globally. If you want to create a standalone version of this common you will need the CLI at the very least and do what you did above.

Alternatively you can make your own distributions. You can take any number of pown commonds and assamble them into a module like pown. Only the commands you depend on will be included. Imagine you want to build a pown distributed for web security, osint, etc.

from whoarethey.

Metroxe avatar Metroxe commented on August 20, 2024

I did fix my problem for the global and local installation. I was using node v8.11.4, when I switched to v10.15.3, everything worked via the instructions on the README

from whoarethey.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.