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

Error: Cannot find module 'tslib' #772

Closed
maheshkumar2150 opened this issue Feb 21, 2021 · 2 comments · May be fixed by SoftwareBrothers/adminjs-expressjs#53
Closed

Error: Cannot find module 'tslib' #772

maheshkumar2150 opened this issue Feb 21, 2021 · 2 comments · May be fixed by SoftwareBrothers/adminjs-expressjs#53

Comments

@maheshkumar2150
Copy link

Do i have to install tslib separately?
It is windows 10

{
"name": "admin",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"start": "nodemon index.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@admin-bro/express": "^3.1.0",
"@admin-bro/mongoose": "^1.1.0",
"admin-bro": "^3.4.0",
"express": "^4.17.1",
"express-formidable": "^1.2.0",
"mongoose": "^5.11.17"
}
}

@darkmavis1980
Copy link

But this shouldn't happen, you either tell it in the documentation that you have to manually install this library, or you put it as a peerdependency.

@vikram-ray
Copy link

Still got the issue with "@adminjs/express"

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

Successfully merging a pull request may close this issue.

4 participants