-
Notifications
You must be signed in to change notification settings - Fork 13
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 repo missing #3
Comments
@Ondros22 did you find a way to import? |
It looks like github has a npm registry you have to login to and then install npm login --registry=https://npm.pkg.github.com --scope=@scalio I found it under then click on the learn more link .. which talks about how to login to the github npm registry. |
Thanks! I remember trying that way, I think it gave me some problems on
nest build (can't remember exactly), I think I'm gonna try again.
Anyway, if you still have problems, you may try this script I made
"postinstall": "cd node_modules/@scalio/nest-couchdb && [ ! -f index.d.ts ]
&& npm run build && (rm * || true) && mv dist/* ."
It's hacky but works for me.
El dom., 16 ago. 2020 a las 7:19, Dahmane Seghier (<notifications@github.com>)
escribió:
… Hi, I have an issue while installing.
I could not install package via npm i @scalio/nest-couchdb it ended up
with error 404
Not Found - GET ***@***.***%2fnest-couchdb - Not
found ***@***.******@***.***' is not in the npm registry.
Alternatively tried download it from git via npm -> this worked partially
packege was installed but when I try import { Entity, CouchDbEntity } from
***@***.***/nest-couchdb"; it ended with error: Cannot find module
***@***.***/nest-couchdb'
I have also installed the package directly from github and i had the same
issue when importing the package.
This worked for me (added 'src' to import path)
import { CouchDbEntity } from ***@***.***/nest-couchdb/src';
hope it will work for you also!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFP7LPUSB4A4FA3JD5CSVLLSA66DRANCNFSM4LRZX3OQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I have an issue while installing.
I could not install package via npm i @scalio/nest-couchdb it ended up with error 404
Not Found - GET https://registry.npmjs.org/@scalio%2fnest-couchdb - Not found '@scalio/nest-couchdb@latest' is not in the npm registry.
Alternatively tried download it from git via npm -> this worked partially packege was installed but when I try import { Entity, CouchDbEntity } from "@scalio/nest-couchdb"; it ended with error: Cannot find module '@scalio/nest-couchdb'
The text was updated successfully, but these errors were encountered: