You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this command fails when run in a clone of the full repo (using preview.2 since preview.3 was not published at the time of issue creation):
$ npm install @azure/[email protected]
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "@azure/storage-blob" under a package
npm ERR! also called "@azure/storage-blob". Did you name your project the same
npm ERR! as the dependency you're installing?
The text was updated successfully, but these errors were encountered:
@HarshaNalluru: I don't think the issue is related to preview.2 vs preview.3. I think the root cause is npm will not allow the install of @azure/storage-blob under the sdk/storage/storage-blob/samples folder. It would work in a different folder not under sdk/storage/storage-blob.
Thanks, Mike. I guess I didn't read the whole message.
This can be avoided by having a dummy package.json in the samples folder or by adding "npm init -y" step in the samples/readme before npm install @azure/[email protected] step.
The Storage samples README instructs users to run the following command:
However, this command fails when run in a clone of the full repo (using
preview.2
sincepreview.3
was not published at the time of issue creation):The text was updated successfully, but these errors were encountered: