We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hallo
I have used the npm install activedirectory i create a json as specified bellow { "name": "ldap", "version": "1.0.0", "main": "ldap.js", "scripts": { "test": "echo "Error: no test specified" && exit 1" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "activedirectory": "^0.7.2", "async": "^3.2.2", "bunyan": "^1.8.15", "ldapjs": "^2.3.1", "underscore": "^1.13.1" }, "devDependencies": {}, "description": "" }
Create a javascript file and use an import statement as follows
import ActiveDirectory from "package.json";
However import does not work.
Any ideas?
The text was updated successfully, but these errors were encountered:
You have to import from the npm package rather than the package.json, try this:
import ActiveDirectory from 'activedirectory';
Sorry, something went wrong.
No branches or pull requests
Hallo
I have used the npm install activedirectory i create a json as specified bellow
{
"name": "ldap",
"version": "1.0.0",
"main": "ldap.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"activedirectory": "^0.7.2",
"async": "^3.2.2",
"bunyan": "^1.8.15",
"ldapjs": "^2.3.1",
"underscore": "^1.13.1"
},
"devDependencies": {},
"description": ""
}
Create a javascript file and use an import statement as follows
import ActiveDirectory from "package.json";
However import does not work.
Any ideas?
The text was updated successfully, but these errors were encountered: