LyteFM commented on issue #264:
URL: https://github.com/apache/couchdb-nano/issues/264#issuecomment-973957664


   In case this helps anyone:
   
   - In a library that _directly_ uses `nano 9.0.5` and Typescript, I don't 
have any issues - all tests run through. According to the `package-lock.json`, 
it resolves as:
   
   ```
       "nano": {
         "version": "9.0.5",
         "resolved": "https://registry.npmjs.org/nano/-/nano-9.0.5.tgz";,
         "integrity": 
"sha512-fEAhwAdXh4hDDnC8cYJtW6D8ivOmpvFAqT90+zEuQREpRkzA/mJPcI4EKv15JUdajaqiLTXNoKK6PaRF+/06DQ==",
         "requires": {
           "@types/tough-cookie": "^4.0.0",
           "axios": "^0.21.1",
           "axios-cookiejar-support": "^1.0.1",
           "qs": "^6.9.4",
           "tough-cookie": "^4.0.0"
         },
         "dependencies": {
           "qs": {
             "version": "6.10.1",
             "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz";,
             "integrity": 
"sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==",
             "requires": {
               "side-channel": "^1.0.4"
             }
           }
         }
   ```
   
   But when I use that package in a different javascript project, I get the 
following warning during the installation:
   
   ```
   npm WARN axios-cookiejar-support@1.0.1 requires a peer of 
tough-cookie@>=2.3.3 but none is installed. You must install peer dependencies 
yourself.
   ```
   
   And I get an error _„Cannot find module 'tough-cookie'”_. After installing 
`tough-cookie` in that project, everything works fine.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to