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

npm package env does not work anymore #14

Open
Swerner1975 opened this issue Mar 29, 2022 · 0 comments
Open

npm package env does not work anymore #14

Swerner1975 opened this issue Mar 29, 2022 · 0 comments

Comments

@Swerner1975
Copy link

It seem to be, that the env package does not work anymore.
If you start the with "npm start", I get a error in the console, that env is not found or missspelled.

You may be able to replace it with the package cross-env. With this package it works properly again.

My package.json looks now so:

{
"name": "ltijs-demo",
"version": "1.0.0",
"description": "Ltijs demo server",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"start": "cross-env DEBUG=provider:* node index.js"
},
"keywords": [
"lti",
"ims",
"ltijs",
"1.3",
"imslti"
],
"author": "cvmcosta",
"license": "MIT",
"dependencies": {
"dotenv": "^8.2.0",
"express": "^4.17.1",
"cross-env": "^7.0.3",
"ltijs": "^5.6.5"
}
}

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

1 participant