Git Product home page Git Product logo

Comments (6)

jmdobry avatar jmdobry commented on July 24, 2024

Can you post your actual package.json file? Where did this logging output come from? Did it come from the Logging tab in the Cloud Console?

from nodejs-docs-samples.

otymartin avatar otymartin commented on July 24, 2024

Package.json

{
  "name": "appengine-parse-server",
  "description": "Parse-server sample for Google App Engine",
  "version": "0.0.1",
  "private": true,
  "license": "Apache Version 2.0",
  "author": "Google Inc.",
  "engines": {
    "node": "~4.3"
  },
  "scripts": {
    "start": "node server.js",
    "monitor": "nodemon server.js",
    "deploy": "gcloud preview app deploy"
  },
  "dependencies": {
    "express": "^4.13.4",
    "parse-server": "^2.2.1"
  }
}

gloud preview app deploy WARN

[email protected]: wanted: {"node":">=4.3"} (current: {"node":"4.2.3","npm":"2.14.7"})`

npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'owner',
1 verbose cli   'ls',
1 verbose cli   'appengine-parse-server' ]
2 info using [email protected]
3 info using [email protected]
4 silly mapToRegistry name appengine-parse-server
5 silly mapToRegistry using default registry
6 silly mapToRegistry registry https://registry.npmjs.org/
7 silly mapToRegistry uri https://registry.npmjs.org/appengine-parse-server
8 verbose request uri https://registry.npmjs.org/appengine-parse-server
9 verbose request no auth needed
10 info attempt registry request try #1 at 1:43:20 PM
11 verbose request id 32cb6b902afad2cb
12 http request GET https://registry.npmjs.org/appengine-parse-server
13 http 404 https://registry.npmjs.org/appengine-parse-server
14 verbose headers { 'content-type': 'application/json',
14 verbose headers   'cache-control': 'max-age=0',
14 verbose headers   'content-length': '2',
14 verbose headers   'accept-ranges': 'bytes',
14 verbose headers   date: 'Wed, 23 Mar 2016 17:43:31 GMT',
14 verbose headers   via: '1.1 varnish',
14 verbose headers   age: '0',
14 verbose headers   connection: 'keep-alive',
14 verbose headers   'x-served-by': 'cache-ord1748-ORD',
14 verbose headers   'x-cache': 'MISS',
14 verbose headers   'x-cache-hits': '0',
14 verbose headers   'x-timer': 'S1458755011.026303,VS0,VE151' }
15 silly get cb [ 404,
15 silly get   { 'content-type': 'application/json',
15 silly get     'cache-control': 'max-age=0',
15 silly get     'content-length': '2',
15 silly get     'accept-ranges': 'bytes',
15 silly get     date: 'Wed, 23 Mar 2016 17:43:31 GMT',
15 silly get     via: '1.1 varnish',
15 silly get     age: '0',
15 silly get     connection: 'keep-alive',
15 silly get     'x-served-by': 'cache-ord1748-ORD',
15 silly get     'x-cache': 'MISS',
15 silly get     'x-cache-hits': '0',
15 silly get     'x-timer': 'S1458755011.026303,VS0,VE151' } ]
16 error owner ls Couldn't get owner data appengine-parse-server
17 verbose stack Error: Registry returned 404 for GET on https://registry.npmjs.org/appengine-parse-server
17 verbose stack     at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12)
17 verbose stack     at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:242:14)
17 verbose stack     at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14)
17 verbose stack     at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:198:22)
17 verbose stack     at emitTwo (events.js:87:13)
17 verbose stack     at Request.emit (events.js:172:7)
17 verbose stack     at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1082:10)
17 verbose stack     at emitOne (events.js:82:20)
17 verbose stack     at Request.emit (events.js:169:7)
17 verbose stack     at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1009:12)
18 verbose statusCode 404
19 verbose pkgid appengine-parse-server
20 verbose cwd /Users/otymartin/Documents/dev/bars-server
21 error Darwin 15.3.0
22 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "owner" "ls" "appengine-parse-server"
23 error node v4.3.1
24 error npm  v2.14.12
25 error code E404
26 error 404 Registry returned 404 for GET on https://registry.npmjs.org/appengine-parse-server
26 error 404
26 error 404 'appengine-parse-server' is not in the npm registry.
26 error 404 You should bug the author to publish it (or use the name yourself!)
26 error 404
26 error 404 Note that you can also install from a
26 error 404 tarball, folder, http url, or git url.
27 verbose exit [ 1, true ]

from nodejs-docs-samples.

skbhati199 avatar skbhati199 commented on July 24, 2024

npm-debug.log

from nodejs-docs-samples.

skbhati199 avatar skbhati199 commented on July 24, 2024

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Users\Devendra\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'deploy' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predeploy', 'deploy', 'postdeploy' ]
5 info lifecycle [email protected]predeploy: [email protected]
6 silly lifecycle [email protected]
predeploy: no script for predeploy, continuing
7 info lifecycle [email protected]deploy: [email protected]
8 verbose lifecycle [email protected]
deploy: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]deploy: PATH: C:\Users\Devendra\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;D:\angularhack\nodejs-docs-samples\appengine\express\node_modules.bin;C:\Program Files\nodejs;C:\Users\Devendra\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\Intel\iCLS Client;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Users\Devendra\AppData\Roaming\npm;
10 verbose lifecycle [email protected]
deploy: CWD: D:\angularhack\nodejs-docs-samples\appengine\express
11 silly lifecycle [email protected]deploy: Args: [ '/d /s /c', 'gcloud preview app deploy' ]
12 silly lifecycle [email protected]
deploy: Returned: code: 1 signal: null
13 info lifecycle [email protected]~deploy: Failed to exec deploy script
14 verbose stack Error: [email protected] deploy: gcloud preview app deploy
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (C:\Users\Devendra\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:245:16)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at EventEmitter.emit (events.js:172:7)
14 verbose stack at ChildProcess. (C:\Users\Devendra\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:24:14)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at ChildProcess.emit (events.js:172:7)
14 verbose stack at maybeClose (internal/child_process.js:827:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid [email protected]
16 verbose cwd D:\angularhack\nodejs-docs-samples\appengine\express
17 error Windows_NT 6.1.7600
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Users\Devendra\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "deploy"
19 error node v4.4.4
20 error npm v3.9.0
21 error code ELIFECYCLE
22 error [email protected] deploy: gcloud preview app deploy
22 error Exit status 1
23 error Failed at the [email protected] deploy script 'gcloud preview app deploy'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the appengine-express package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error gcloud preview app deploy
23 error You can get information on how to open an issue for this project with:
23 error npm bugs appengine-express
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls appengine-express
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

from nodejs-docs-samples.

JustinBeckwith avatar JustinBeckwith commented on July 24, 2024

I recognize this error. This looks like it may be an old Cloud SDK. Can you run this?

gcloud components update

And then:

gcloud --version?

from nodejs-docs-samples.

ace-n avatar ace-n commented on July 24, 2024

Closing; @otymartin please reopen if this is still a problem.

from nodejs-docs-samples.

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.