Code Monkey home page Code Monkey logo

Comments (7)

steve-movi avatar steve-movi commented on August 15, 2024 1

Thank you for your response.
I did a manual npm install and all it's fine now.
But I'm a little bit worrying about reliability of mobile services in Azure

from azure-storage-node.

slepox avatar slepox commented on August 15, 2024

@kkapgm, 0.4.2 is released recently but we weren't aware of any issue to use 0.4.1, and simply try your code it worked well. Just to confirm, did you run "npm install" in the working directory to get the module?

from azure-storage-node.

kkapgm avatar kkapgm commented on August 15, 2024

@slepox , thanks, like I said, this very code was working fine till yesterday. I don't remember doing npm install, this is in my azure mobile service custom API code (which I manage via git in Webstorm), so I don't think I need to npm install azure-storage there, I assume including it in my azure mobile service's package.json takes care of that...
its working when you try, and no one else seem to have reported, looks like maybe mine is a one-off case, but I am clueless what to do...

from azure-storage-node.

veena-udayabhanu avatar veena-udayabhanu commented on August 15, 2024

Were you able to resolve this issue? If not, can you please check where exactly the azure-storage module is installed on your machine? Did you use any special option when you installed it?

from azure-storage-node.

kkapgm avatar kkapgm commented on August 15, 2024

yes, I got it working by doing a manual npm install 'azure-storage' to my mobile service.

I didn't try the 'manual npm install' earlier because, as I remember reading, if I just include the npm module I want to use in my mobile service's ''package.json' , azure mobile service on the server installs it and restarts, and I don't need to install myself manually. And thats what has been happening when my code was working till last week. Also the other node modules e.g tracer, lodash, that I have in my package.json, work fine with no manual npm install.

from azure-storage-node.

steve-movi avatar steve-movi commented on August 15, 2024

I've exactly the same issue!

I do have azure-storage included in my package.json -
"dependencies": {"azure-storage": "*"}

I put the "*" to get always the lastest version but it seems not working well.

My mobile application is not working due to that problem!

from azure-storage-node.

yaxia avatar yaxia commented on August 15, 2024

This is an issue caused by the old version of npm on the Mobile Service backend (npm/npm#4849). The fix will go live on Mobile Service soon. Before that, we suggest to use the following workaround:
At the root of the source repo, you'll find a .deployment file that has:

[config]
command = ..\ZumoDeploy.cmd

Change it to

[config]
command = deploy.cmd

And create a deploy.cmd next to it containing:

set NPM_JS_PATH=%ProgramFiles(x86)%\npm\1.4.9\node_modules\npm\bin\npm-cli.js
..\ZumoDeploy.cmd

Then commit both .deployment and deploy.cmd and push.

from azure-storage-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.