Desenvolvimento de apps – Como implantar uma API para o aplicativo de teste: Node.js avaliações

12821 avaliações

Mishal M. · Revisado há over 4 years

Mishal M. · Revisado há over 4 years

Ben S. · Revisado há over 4 years

Lea A. · Revisado há over 4 years

could not complete the lab student-03-24e52b587f33@endpoint-host:~$ curl -L https://npmjs.org/install.sh | sudo sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3755 100 3755 0 0 6043 0 --:--:-- --:--:-- --:--:-- 6043 fetching: https://registry.npmjs.org/npm/-/npm-7.24.1.tgz removing existing npm /tmp/npm.1181/package/lib/cli.js:2 module.exports = async (process) => { ^ SyntaxError: Unexpected token ( at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/tmp/npm.1181/package/bin/npm-cli.js:2:1) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) failed! student-03-24e52b587f33@endpoint-host:~$ second attemp -> To create another network interface you need to have a new network first.

John S. · Revisado há over 4 years

Mishal M. · Revisado há over 4 years

Sohini B. · Revisado há over 4 years

there was a problem with nodejs installation so couldn't complete the lab.

Tuuli S. · Revisado há over 4 years

The command curl -sL https://deb.nodesource.com/setup_12.x fails silently after recreating gce instance

Andreas G. · Revisado há over 4 years

Kaustubh D. · Revisado há over 4 years

Shashikant W. · Revisado há over 4 years

Mishal M. · Revisado há over 4 years

Mishal M. · Revisado há over 4 years

There's a mistake in the instructions: the vm boot disk should use Debian 10 rather than Debian 9. The commands that follow to install Node don't work with Debian 9. Also, what I didn't like too much about this lab is all the waiting for the various commands to complete.

Eric L. · Revisado há almost 5 years

could not complete the lab student-03-24e52b587f33@endpoint-host:~$ curl -L https://npmjs.org/install.sh | sudo sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3755 100 3755 0 0 6043 0 --:--:-- --:--:-- --:--:-- 6043 fetching: https://registry.npmjs.org/npm/-/npm-7.24.1.tgz removing existing npm /tmp/npm.1181/package/lib/cli.js:2 module.exports = async (process) => { ^ SyntaxError: Unexpected token ( at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/tmp/npm.1181/package/bin/npm-cli.js:2:1) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) failed! student-03-24e52b587f33@endpoint-host:~$

John S. · Revisado há almost 5 years

I followed the lab step by step but it doesn't work. I think the lab might be outdated for the latest version of gcloud

Kings O. · Revisado há almost 5 years

Kings O. · Revisado há almost 5 years

Eva R. · Revisado há almost 5 years

Contrary to the instruction given for the VM creation, choosing Debian 9 will cause the software installation to fail. Use Debian 10 (which was the automatically selected one by default as of writing) for the subsequent commands to go through successfully.

Veronica A. · Revisado há almost 5 years

Dzmitry K. · Revisado há almost 5 years

Pratheeba N. · Revisado há almost 5 years

Matt B. · Revisado há almost 5 years

Matt B. · Revisado há almost 5 years

Sonal Prakash D. · Revisado há almost 5 years

Susanne O. · Revisado há almost 5 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.