Comments (5)
Hi,
maybe it was a bit misundestanding, but you can use it with yarn or npm (this are 2 different package managers).
And you don't have to pull the code, if you don't want to change the tool itself. The tool can be used with npm alone, you installed the tool as a dependency in the tool.
The workflow for you would be something like:
- create a new folder
- npm init
- npm install a11y-sitechecker
- a11y-sitechecker https://www.test.at --config=config.json -T=1000
If this is not working, please provide more information: Where are you running it? Whats your workflow?
Thanks and have a nice day!
from a11y-sitechecker.
Hi, I have the same issue.
From Ubuntu 20.04 LTS I did the following from the readme:
$ npm install a11y-sitechecker | yarn add a11y-sitechecker
i got:
Command 'yarn' not found, but can be installed with:
apt install cmdtest
so I did
$ apt install cmdtest
I tried it again and got:
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'add'
npm WARN saveError ENOENT: no such file or directory, open '/root/a11y-sitechecker/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/a11y-sitechecker/package.json'
npm WARN a11y-sitechecker No description
npm WARN a11y-sitechecker No repository field.
npm WARN a11y-sitechecker No README data
npm WARN a11y-sitechecker No license field.
when I run it from the command line
$ a11y-sitechecker https://www.google.com
I got
a11y-sitechecker: command not found
When I run npm from the command line I got:
package name: (a11y-sitechecker) npm install a11y-sitechecker
Sorry, name can only contain URL-friendly characters.
I guess I am misunderstanding something. I am very curious to this tool. Thanks for helping in advance.
from a11y-sitechecker.
Maybe as a clarification
There are 2 different things: If you checkout the github code of this you can change the source code!
If you like to use the tool, you have to get your own npm repository (or you have an existing one) with npm init in an empty folder!
And then you can install it with npm install a11y-sitechecker!
Example from me:
Best regards
from a11y-sitechecker.
Hi,
maybe it was a bit misundestanding, but you can use it with yarn or npm (this are 2 different package managers).
And you don't have to pull the code, if you don't want to change the tool itself. The tool can be used with npm alone, you installed the tool as a dependency in the tool.
The workflow for you would be something like:
- create a new folder
- npm init
- npm install a11y-sitechecker
- a11y-sitechecker https://www.test.at --config=config.json -T=1000
If this is not working, please provide more information: Where are you running it? Whats your workflow?
Thanks and have a nice day!
Hi @forsti0506
Thanks for the reply.
I followed your steps but I still have the same issue:
MacBookPro:Dev $ mkdir a11y-cheker
MacBookPro:Dev $ cd a11y-cheker/
MacBookPro:a11y-cheker $ npm init
This utility will walk you through creating a package.json file.
It only covers the most common items and tries to guess sensible defaults.
See `npm help init` for definitive documentation on these fields
and exactly what they do.
Use `npm install <pkg>` afterwards to install a package and
save it as a dependency in the package.json file.
Press ^C at any time to quit.
package name: (a11y-cheker)
version: (1.0.0)
description:
entry point: (index.js)
test command: testinger
git repository: no
keywords: sds
author: Moez
license: (ISC)
About to write to /Users/Documents/Dev/a11y-cheker/package.json:
{
"name": "a11y-cheker",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "testinger"
},
"repository": {
"type": "git",
"url": "no"
},
"keywords": [
"sds"
],
"author": "Moez Hanzouti",
"license": "ISC"
}
Is this OK? (yes) y
MacBookPro:a11y-cheker $ npm install a11y-sitechecker
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
added 175 packages, and audited 176 packages in 13s
11 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
MacBookPro:a11y-cheker $ a11y-sitechecker https://www.yahoo.com —config=config.json -T=1000
-bash: a11y-sitechecker https://www.yahoo.com: No such file or directory
PS: I'm working on my local machine a Mac with Catalina 10.15.7.
Thanks for your help.
Cheers
from a11y-sitechecker.
Maybe it would be possible to call the script directly in your workspace root folder (in your case a11y-checker:
node node_modules/a11y-sitechecker/bin/a11y-sitechecker.js https://www.test.de --config=configohnedb.json --threshold=1000
Best regards
from a11y-sitechecker.
Related Issues (12)
- Readable format HOT 5
- DOMException: Failed to execute 'querySelector' on 'Document': '#1FDA5B64-3D65-493B-9C45-2B72F7A25B64' is not a valid selector. HOT 1
- Test unique-selector-function
- WAI EARL
- Error on load. HOT 1
- Request for a simple user guide for a novice user HOT 4
- keep getting the error module not found HOT 1
- devDependencies cannot be satisfied
- DOMException is thrown when a data attribute contains dots
- basic config file HOT 1
- The automated release is failing 🚨
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 a11y-sitechecker.