Comments (6)
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.
I would recommend 11 for full compatability with all modules but this one should work in 10.
from whoarethey.
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.
this did not solve the issue. I tried to install globally as shown here. Still cannot get a response
Is it possibly my node version?
from whoarethey.
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.
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)
- Unhandled Exception HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whoarethey.