-
Notifications
You must be signed in to change notification settings - Fork 921
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
Add .npmrc file in bit playground #8571
Comments
hi, if you use private packages there are three options for you:
|
After I tried to use Also, after I tried to export the component I got:
|
the component can still be private, this is only related to building the component in an environment that has access to your private packages. the command will not mark the component as public. this is defined only in the scope settings. as for the error you are getting, please run |
Thank you so much for your answers @itaymendel ! |
Description
Hi,
![Screenshot 2024-02-25 at 10 25 12](https://private-user-images.githubusercontent.com/33631519/307577076-1bd7455d-3836-4622-9465-60eb658434f6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwOTkwNTYsIm5iZiI6MTcyMDA5ODc1NiwicGF0aCI6Ii8zMzYzMTUxOS8zMDc1NzcwNzYtMWJkNzQ1NWQtMzgzNi00NjIyLTk0NjUtNjBlYjY1ODQzNGY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDEzMTIzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc4NjY0MzhhYmUzZGU3N2ExNzA4ODc1ZDA3MmJjZmY4MTYxNTcxZmNmNDJiNDBhMGM0NTFmMWYwYjRhMGFhZDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.v_qtSITdt9uu0FrlCF6LDH-KOL-_RkVqh-zipFD7xR0)
![Screenshot 2024-02-25 at 10 29 00](https://private-user-images.githubusercontent.com/33631519/307577245-5fd5562a-0263-4322-abfa-cfdc8ae9f3e2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwOTkwNTYsIm5iZiI6MTcyMDA5ODc1NiwicGF0aCI6Ii8zMzYzMTUxOS8zMDc1NzcyNDUtNWZkNTU2MmEtMDI2My00MzIyLWFiZmEtY2ZkYzhhZTlmM2UyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDEzMTIzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg0ZTZjMThmZmI2YTA3NzBmNDQ1YjkwNDk2M2Q4Y2Q1NTYyOTQ1YjEzYmNlNDhiNDdiZmQ1ZWQxMWVlNjhiMTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ERf8r5q6T_QHCpeKt-D07P588m5-8Fgrbdld01HjtC0)
I tried to install a private npm package in a bit project with react. Locally, it worked because I added a .npmrc file on the project root, but when I tried to export the componets, I got 404 not found error for that private package in bit ripple CI because it is not in bit and it needs an auth token to install.
The error :
Project structure:
Is there a way to do it? I checked the documentation and I could not find something related.
Thank you,
Andreea
Specifications
Context and additional information
The text was updated successfully, but these errors were encountered: