Curso de Deploy con Now.sh

Clases del Curso de Deploy con Now.sh

Instruido por:
Sergio Xalambrí
Sergio Xalambrí
Básico
1 hora de contenido
Curso de Deploy con Now.sh

Curso de Deploy con Now.sh

Progreso del curso:0/20contenidos(0%)

Contenido del Curso
Tutoriales de estudiantes
Preguntas de estudiantes

Progreso del curso:0/20contenidos(0%)

Introducción al Cursos de Deploy con Now.sh

Material Thumbnail

Componentes de una aplicación

05:02 min

Material Thumbnail

Opciones para hacer Deploy

09:50 min

Material Thumbnail

Aplicaciones monolíticas vs microservicios

09:36 min

Material Thumbnail

Instalación de Now.sh

02:05 min

Aplicaciones Estáticas

Material Thumbnail

Deploy con GitHub Pages

02:07 min

Material Thumbnail

Deploy con Surge.sh

02:52 min

Material Thumbnail

Deploy con Now.sh

02:14 min

Tipos de Deploy

Material Thumbnail

Estructura del proyecto

02:02 min

Material Thumbnail

Deploy de aplicaciones Node.js

04:22 min

Material Thumbnail

Deploy de contenedores de Docker

05:02 min

Configuraciones

Material Thumbnail

Configuración de secrets y variables de entorno

09:29 min

Material Thumbnail

Ver el código fuente de tu aplicación

02:08 min

Material Thumbnail

Definir aliases para tus deploy

02:30 min

Material Thumbnail

Usar un dominio personalizado

04:00 min

Material Thumbnail

Componer microservicios

04:37 min

Conclusiones

Material Thumbnail

Conclusión del proyecto

01:54 min

Material Thumbnail

Conclusiones del curso

02:39 min

Contenido Bonus

Material Thumbnail

Deploy en Now.sh desde GitHub

01:36 min

Retos y Desafíos

Material Thumbnail

Combinar muchos servicios

00:32 min

Material Thumbnail

Usar un servicio diferente

00:40 min

nuevosmás votadossin responder
DANIEL GONZALEZ MARIN
DANIEL GONZALEZ MARIN
Estudiante

¿donde están las diapositivas de este curso? ¿ por que nadie responde las dudas de los ejercicios? esta muy desactualizado no se pueden realizar algunas practicas

2
Johny Jiménez
Johny Jiménez
Estudiante

Pregunta para los developers:
Qué diferencia hay entre SOAP y Microservicios?

1
tzalejo
tzalejo
Estudiante

Buenas, consulta si tengo una aplicación basica que quiero deploy de forma local (las tecnologías que uso son angular y laravel) que me recomiendan??
Desde ya muchas gracias.

1
Luis Fernando Valderrama Gastiaburu
Luis Fernando Valderrama Gastiaburu
Estudiante

Hola, podrias explicar como es posible ahora, hacer despliegue con docker, en la version actual de now no es posible especificar el type en el now.json, he ejecutado el comando desde la terminal, se llega a subir el proyecto.

deploy now api.png

Pero no se compila docker y la informacion que muestra la ruta, es de los archivos de proyecto

2
Luis Fernando Valderrama Gastiaburu
Luis Fernando Valderrama Gastiaburu
Estudiante

Hola, acabo de ejecutar comando now desde la terminal, pero hay un problema, en la parte de sources, si me muestra la información del proyecto:

deploy now bff.png

Pero no carga ninguna vista en la ruta, todavia no he configurado las variables de entorno, pero me aparece el siguiente log en la instacion de paquetes:
23:47:45.605 Retrieving list of deployment files…
23:47:45.745 Downloading 11 deployment files…
23:47:47.740 Installing build runtime…
23:47:48.247 Build runtime installed: 507.399ms
23:47:48.622 Looking up build cache…
23:47:48.655 Build cache not found
23:47:49.043 WARNING: your application is being deployed in @now/next’s legacy mode. http://err.sh/zeit/now/now-next-legacy-mode
23:47:49.043 Installing dependencies…
23:47:49.207 yarn install v1.22.0
23:47:49.225 info No lockfile found.
23:47:49.230 [1/4] Resolving packages…
23:47:49.418 warning react > fbjs > [email protected]: [email protected]❤️ is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of [email protected]
23:47:50.053 warning next > @babel/runtime-corejs2 > [email protected]: [email protected]❤️ is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of [email protected]
23:47:50.498 warning next > babel-loader > m[email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
23:47:50.498 warning next > mkdirp-then > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
23:47:50.498 warning next > recursive-copy > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
23:47:50.498 warning next > webpack > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
23:47:50.639 warning next > terser-webpack-plugin > cacache > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
23:47:50.639 warning next > webpack > terser-webpack-plugin > cacache > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
23:47:50.937 warning next > styled-jsx > babel-types > babel-runtime > [email protected]: [email protected]❤️ is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of [email protected]
23:47:50.940 warning next > terser-webpack-plugin > cacache > move-concurrently > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
23:47:51.249 warning next > terser-webpack-plugin > cacache > move-concurrently > copy-concurrently > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
23:47:51.500 warning next > webpack > watchpack > chokidar > fsevents > node-pre-gyp > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
23:47:51.544 warning next > webpack > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
23:47:51.557 warning next > webpack > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
23:47:51.615 warning next > webpack > watchpack > chokidar > fsevents > node-pre-gyp > tar > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
23:47:52.050 [2/4] Fetching packages…
23:47:53.652 warning [email protected]: Invalid bin field for “terser-webpack-plugin”.
23:47:59.224 info [email protected]: The platform “linux” is incompatible with this module.
23:47:59.225 info “[email protected]” is an optional dependency and failed compatibility check. Excluding it from installation.
23:47:59.225 [3/4] Linking dependencies…
23:47:59.227 warning " > [email protected]" has incorrect peer dependency “[email protected]^16.0.0”.
23:47:59.227 warning " > [email protected]" has incorrect peer dependency “[email protected]^16.0.0”.
23:47:59.227 warning " > [email protected]" has incorrect peer dependency “[email protected]^16.0.0”.
23:47:59.227 warning " > [email protected]" has incorrect peer dependency “[email protected]^16.0.0”.
23:47:59.227 warning “next > [email protected]” has incorrect peer dependency “[email protected]^16.0.0”.
23:47:59.227 warning “next > [email protected]” has incorrect peer dependency “[email protected]^16.0.0”.
23:47:59.231 warning " > [email protected]" has unmet peer dependency “[email protected]^2.0.0 || ^3.0.0”.
23:47:59.231 warning “react-apollo > [email protected]” has incorrect peer dependency “[email protected]^16.13.1”.
23:48:01.940 [4/4] Building fresh packages…
23:48:02.180 success Saved lockfile.
23:48:02.183 Done in 12.98s.
23:48:02.205 Running "yarn run now-build"
23:48:02.465 yarn run v1.22.0
23:48:02.486 $ NODE_OPTIONS=–max_old_space_size=3000 next build --lambdas
23:48:03.194 [4:48:03 AM] Compiling client
23:48:09.261 [4:48:09 AM] Compiled client in 6s
23:48:09.275 [4:48:09 AM] Compiling server
23:48:11.858 [4:48:11 AM] Compiled server in 3s
23:48:11.859 ModuleBuildError: Module build failed (from ./node_modules/next/dist/build/webpack/loaders/next-babel-loader.js):
23:48:11.860 Error: .plugins[0][1] must be an object, false, or undefined
23:48:11.860 at assertPluginItem (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:244:15)
23:48:11.860 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:30
23:48:11.860 at Array.forEach (<anonymous>)
23:48:11.860 at assertPluginList (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:9)
23:48:11.860 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:107:5
23:48:11.860 at Array.forEach (<anonymous>)
23:48:11.860 at validateNested (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:83:21)
23:48:11.860 at validate (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:74:10)
23:48:11.860 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:169:34
23:48:11.860 at cachedFunction (/zeit/2c4776d1/node_modules/@babel/core/lib/config/caching.js:33:19)
23:48:11.860 at buildRootChain (/zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:118:36)
23:48:11.860 at loadPrivatePartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:85:55)
23:48:11.860 at Object.loadPartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:110:18)
23:48:11.861 at Object.<anonymous> (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:105:26)
23:48:11.861 at Generator.next (<anonymous>)
23:48:11.861 at step (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:3:221)
23:48:11.861 at /zeit/2c4776d1/node_modules/webpack/lib/NormalModule.js:286:20
23:48:11.861 at /zeit/2c4776d1/node_modules/loader-runner/lib/LoaderRunner.js:367:11
23:48:11.861 at /zeit/2c4776d1/node_modules/loader-runner/lib/LoaderRunner.js:233:18
23:48:11.861 at context.callback (/zeit/2c4776d1/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
23:48:11.861 at /zeit/2c4776d1/node_modules/babel-loader/lib/index.js:45:103 {
23:48:11.861 details: undefined,
23:48:11.861 missing: undefined,
23:48:11.861 origin: MultiModule {
23:48:11.861 dependencies: [ [SingleEntryDependency] ],
23:48:11.861 blocks: [],
23:48:11.861 variables: [],
23:48:11.861 type: ‘javascript/dynamic’,
23:48:11.861 context: ‘/zeit/2c4776d1’,
23:48:11.861 debugId: 1001,
23:48:11.861 hash: ‘32665d98ac300346d373c6b2cfed07d4’,
23:48:11.861 renderedHash: ‘32665d98ac300346d373’,
23:48:11.861 resolveOptions: {},
23:48:11.861 factoryMeta: {},
23:48:11.861 warnings: [],
23:48:11.861 errors: [],
23:48:11.861 buildMeta: { providedExports: true },
23:48:11.861 buildInfo: {},
23:48:11.861 reasons: [ [ModuleReason] ],
23:48:11.862 _chunks: SortableSet [Set] {
23:48:11.862 [Chunk],
23:48:11.862 _sortFn: [Function: sortById],
23:48:11.862 _lastActiveSortFn: null,
23:48:11.862 _cache: undefined,
23:48:11.862 _cacheOrderIndependent: undefined
23:48:11.862 },
23:48:11.862 id: 1,
23:48:11.862 index: 368,
23:48:11.862 index2: 369,
23:48:11.862 depth: 0,
23:48:11.862 issuer: null,
23:48:11.862 profile: undefined,
23:48:11.862 prefetched: false,
23:48:11.862 built: true,
23:48:11.862 used: true,
23:48:11.862 usedExports: true,
23:48:11.862 optimizationBailout: [
23:48:11.862 'ModuleConcatenation bailout: Module is not an ECMAScript module’
23:48:11.862 ],
23:48:11.862 _rewriteChunkInReasons: undefined,
23:48:11.862 useSourceMap: false,
23:48:11.862 _source: null,
23:48:11.862 name: ‘static/kJe2q0ENbbgdHUl3Q6vfV/pages/index.js’,
23:48:11.862 _identifier: 'multi ./pages/index.js’
23:48:11.862 },
23:48:11.862 dependencies: [
23:48:11.862 SingleEntryDependency {
23:48:11.862 module: [NormalModule],
23:48:11.862 weak: false,
23:48:11.862 optional: false,
23:48:11.862 loc: [Object],
23:48:11.862 request: ‘./pages/index.js’,
23:48:11.863 userRequest: './pages/index.js’
23:48:11.863 }
23:48:11.863 ],
23:48:11.863 module: NormalModule {
23:48:11.863 dependencies: [],
23:48:11.863 blocks: [],
23:48:11.863 variables: [],
23:48:11.863 type: ‘javascript/auto’,
23:48:11.863 context: ‘/zeit/2c4776d1/pages’,
23:48:11.863 debugId: 1004,
23:48:11.863 hash: ‘d55c4cfc16ed12b3a42c838ab506333a’,
23:48:11.863 renderedHash: ‘d55c4cfc16ed12b3a42c’,
23:48:11.863 resolveOptions: {},
23:48:11.863 factoryMeta: {},
23:48:11.863 warnings: [],
23:48:11.863 errors: [ [Circular] ],
23:48:11.863 buildMeta: { providedExports: true },
23:48:11.863 buildInfo: {
23:48:11.863 cacheable: true,
23:48:11.863 fileDependencies: [Set],
23:48:11.863 contextDependencies: Set {}
23:48:11.863 },
23:48:11.863 reasons: [ [ModuleReason] ],
23:48:11.863 _chunks: SortableSet [Set] {
23:48:11.863 [Chunk],
23:48:11.863 _sortFn: [Function: sortById],
23:48:11.863 _lastActiveSortFn: null,
23:48:11.863 _cache: undefined,
23:48:11.863 _cacheOrderIndependent: undefined
23:48:11.863 },
23:48:11.863 id: ‘RNiq’,
23:48:11.863 index: 369,
23:48:11.863 index2: 368,
23:48:11.863 depth: 1,
23:48:11.863 issuer: MultiModule {
23:48:11.864 dependencies: [Array],
23:48:11.864 blocks: [],
23:48:11.864 variables: [],
23:48:11.864 type: ‘javascript/dynamic’,
23:48:11.864 context: ‘/zeit/2c4776d1’,
23:48:11.864 debugId: 1001,
23:48:11.864 hash: ‘32665d98ac300346d373c6b2cfed07d4’,
23:48:11.864 renderedHash: ‘32665d98ac300346d373’,
23:48:11.864 resolveOptions: {},
23:48:11.864 factoryMeta: {},
23:48:11.864 warnings: [],
23:48:11.864 errors: [],
23:48:11.864 buildMeta: [Object],
23:48:11.864 buildInfo: {},
23:48:11.864 reasons: [Array],
23:48:11.864 _chunks: [SortableSet [Set]],
23:48:11.864 id: 1,
23:48:11.864 index: 368,
23:48:11.864 index2: 369,
23:48:11.864 depth: 0,
23:48:11.864 issuer: null,
23:48:11.864 profile: undefined,
23:48:11.864 prefetched: false,
23:48:11.864 built: true,
23:48:11.864 used: true,
23:48:11.864 usedExports: true,
23:48:11.864 optimizationBailout: [Array],
23:48:11.864 _rewriteChunkInReasons: undefined,
23:48:11.864 useSourceMap: false,
23:48:11.864 _source: null,
23:48:11.864 name: ‘static/kJe2q0ENbbgdHUl3Q6vfV/pages/index.js’,
23:48:11.864 _identifier: 'multi ./pages/index.js’
23:48:11.864 },
23:48:11.864 profile: undefined,
23:48:11.864 prefetched: false,
23:48:11.864 built: true,
23:48:11.864 used: true,
23:48:11.865 usedExports: true,
23:48:11.865 optimizationBailout: [
23:48:11.865 'ModuleConcatenation bailout: Module is not an ECMAScript module’
23:48:11.865 ],
23:48:11.865 _rewriteChunkInReasons: undefined,
23:48:11.865 useSourceMap: false,
23:48:11.865 _source: RawSource {
23:48:11.865 _value: 'throw new Error(“Module build failed (from ./node_modules/next/dist/build/webpack/loaders/next-babel-loader.js):\nError: .plugins[0][1] must be an object, false, or undefined\n at assertPluginItem (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:244:15)\n at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:30\n at Array.forEach (<anonymous>)\n at assertPluginList (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:9)\n at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:107:5\n at Array.forEach (<anonymous>)\n at validateNested (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:83:21)\n at validate (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:74:10)\n at /zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:169:34\n at cachedFunction (/zeit/2c4776d1/node_modules/@babel/core/lib/config/caching.js:33:19)\n at buildRootChain (/zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:118:36)\n at loadPrivatePartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:85:55)\n at Object.loadPartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:110:18)\n at Object.<anonymous> (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:105:26)\n at Generator.next (<anonymous>)\n at step (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:3:221)”);'
23:48:11.865 },
23:48:11.865 request: ‘/zeit/2c4776d1/node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref–4!/zeit/2c4776d1/pages/index.js’,
23:48:11.865 userRequest: ‘/zeit/2c4776d1/pages/index.js’,
23:48:11.865 rawRequest: ‘./pages/index.js’,
23:48:11.865 binary: false,
23:48:11.865 parser: Parser {
23:48:11.865 _pluginCompat: [SyncBailHook],
23:48:11.865 hooks: [Object],
23:48:11.865 options: {},
23:48:11.865 sourceType: ‘auto’,
23:48:11.865 scope: undefined,
23:48:11.865 state: undefined,
23:48:11.865 comments: undefined
23:48:11.865 },
23:48:11.865 generator: JavascriptGenerator {},
23:48:11.865 resource: ‘/zeit/2c4776d1/pages/index.js’,
23:48:11.865 matchResource: undefined,
23:48:11.865 loaders: [ [Object] ],
23:48:11.865 error: [Circular],
23:48:11.865 _buildHash: ‘83da9c284981479f365238ef9c178ccc’,
23:48:11.865 buildTimestamp: 1585630083227,
23:48:11.865 _cachedSources: Map { ‘javascript’ => [Object] },
23:48:11.865 lineToLine: false,
23:48:11.865 _lastSuccessfulBuildMeta: {},
23:48:11.865 _ast: null
23:48:11.865 },
23:48:11.865 name: ‘ModuleBuildError’,
23:48:11.865 error: Error: .plugins[0][1] must be an object, false, or undefined
23:48:11.866 at assertPluginItem (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:244:15)
23:48:11.866 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:30
23:48:11.866 at Array.forEach (<anonymous>)
23:48:11.866 at assertPluginList (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:9)
23:48:11.866 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:107:5
23:48:11.866 at Array.forEach (<anonymous>)
23:48:11.866 at validateNested (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:83:21)
23:48:11.866 at validate (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:74:10)
23:48:11.866 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:169:34
23:48:11.866 at cachedFunction (/zeit/2c4776d1/node_modules/@babel/core/lib/config/caching.js:33:19)
23:48:11.866 at buildRootChain (/zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:118:36)
23:48:11.866 at loadPrivatePartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:85:55)
23:48:11.866 at Object.loadPartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:110:18)
23:48:11.866 at Object.<anonymous> (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:105:26)
23:48:11.866 at Generator.next (<anonymous>)
23:48:11.866 at step (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:3:221)
23:48:11.866 } ModuleBuildError: Module build failed (from ./node_modules/next/dist/build/webpack/loaders/next-babel-loader.js):
23:48:11.866 Error: .plugins[0][1] must be an object, false, or undefined
23:48:11.866 at assertPluginItem (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:244:15)
23:48:11.866 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:30
23:48:11.866 at Array.forEach (<anonymous>)
23:48:11.866 at assertPluginList (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:9)
23:48:11.866 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:107:5
23:48:11.866 at Array.forEach (<anonymous>)
23:48:11.866 at validateNested (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:83:21)
23:48:11.866 at validate (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:74:10)
23:48:11.866 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:169:34
23:48:11.866 at cachedFunction (/zeit/2c4776d1/node_modules/@babel/core/lib/config/caching.js:33:19)
23:48:11.866 at buildRootChain (/zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:118:36)
23:48:11.866 at loadPrivatePartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:85:55)
23:48:11.866 at Object.loadPartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:110:18)
23:48:11.866 at Object.<anonymous> (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:105:26)
23:48:11.866 at Generator.next (<anonymous>)
23:48:11.866 at step (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:3:221)
23:48:11.866 at /zeit/2c4776d1/node_modules/webpack/lib/NormalModule.js:286:20
23:48:11.866 at /zeit/2c4776d1/node_modules/loader-runner/lib/LoaderRunner.js:367:11
23:48:11.866 at /zeit/2c4776d1/node_modules/loader-runner/lib/LoaderRunner.js:233:18
23:48:11.866 at context.callback (/zeit/2c4776d1/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
23:48:11.866 at /zeit/2c4776d1/node_modules/babel-loader/lib/index.js:45:103 {
23:48:11.867 details: undefined,
23:48:11.867 missing: undefined,
23:48:11.867 origin: MultiModule {
23:48:11.867 dependencies: [ [SingleEntryDependency] ],
23:48:11.867 blocks: [],
23:48:11.867 variables: [],
23:48:11.867 type: ‘javascript/dynamic’,
23:48:11.867 context: ‘/zeit/2c4776d1’,
23:48:11.867 debugId: 2106,
23:48:11.867 hash: ‘cfac6a02e410d3f7ed228b4e14757ddd’,
23:48:11.867 renderedHash: ‘cfac6a02e410d3f7ed22’,
23:48:11.867 resolveOptions: {},
23:48:11.867 factoryMeta: {},
23:48:11.867 warnings: [],
23:48:11.867 errors: [],
23:48:11.867 buildMeta: { providedExports: true },
23:48:11.867 buildInfo: {},
23:48:11.867 reasons: [ [ModuleReason] ],
23:48:11.867 _chunks: SortableSet [Set] {
23:48:11.867 [Chunk],
23:48:11.867 _sortFn: [Function: sortById],
23:48:11.867 _lastActiveSortFn: null,
23:48:11.867 _cache: undefined,
23:48:11.867 _cacheOrderIndependent: undefined
23:48:11.867 },
23:48:11.867 id: 0,
23:48:11.867 index: 0,
23:48:11.867 index2: 1,
23:48:11.867 depth: 0,
23:48:11.867 issuer: null,
23:48:11.867 profile: undefined,
23:48:11.867 prefetched: false,
23:48:11.867 built: true,
23:48:11.867 used: true,
23:48:11.867 usedExports: true,
23:48:11.867 optimizationBailout: [
23:48:11.868 'ModuleConcatenation bailout: Module is not an ECMAScript module’
23:48:11.868 ],
23:48:11.868 _rewriteChunkInReasons: undefined,
23:48:11.868 useSourceMap: false,
23:48:11.868 _source: null,
23:48:11.868 name: ‘static/kJe2q0ENbbgdHUl3Q6vfV/pages/index.js’,
23:48:11.868 _identifier: 'multi ./pages/index.js’
23:48:11.868 },
23:48:11.868 dependencies: [
23:48:11.868 SingleEntryDependency {
23:48:11.868 module: [NormalModule],
23:48:11.868 weak: false,
23:48:11.868 optional: false,
23:48:11.868 loc: [Object],
23:48:11.868 request: ‘./pages/index.js’,
23:48:11.868 userRequest: './pages/index.js’
23:48:11.868 }
23:48:11.868 ],
23:48:11.868 module: NormalModule {
23:48:11.868 dependencies: [],
23:48:11.868 blocks: [],
23:48:11.868 variables: [],
23:48:11.868 type: ‘javascript/auto’,
23:48:11.868 context: ‘/zeit/2c4776d1/pages’,
23:48:11.868 debugId: 2110,
23:48:11.868 hash: ‘d55c4cfc16ed12b3a42c838ab506333a’,
23:48:11.868 renderedHash: ‘d55c4cfc16ed12b3a42c’,
23:48:11.868 resolveOptions: {},
23:48:11.868 factoryMeta: {},
23:48:11.868 warnings: [],
23:48:11.868 errors: [ [Circular] ],
23:48:11.868 buildMeta: { providedExports: true },
23:48:11.868 buildInfo: {
23:48:11.868 cacheable: true,
23:48:11.868 fileDependencies: [Set],
23:48:11.868 contextDependencies: Set {}
23:48:11.868 },
23:48:11.868 reasons: [ [ModuleReason] ],
23:48:11.869 _chunks: SortableSet [Set] {
23:48:11.869 [Chunk],
23:48:11.869 _sortFn: [Function: sortById],
23:48:11.869 _lastActiveSortFn: null,
23:48:11.869 _cache: undefined,
23:48:11.869 _cacheOrderIndependent: undefined
23:48:11.869 },
23:48:11.869 id: ‘RNiq’,
23:48:11.869 index: 1,
23:48:11.869 index2: 0,
23:48:11.869 depth: 1,
23:48:11.869 issuer: MultiModule {
23:48:11.869 dependencies: [Array],
23:48:11.869 blocks: [],
23:48:11.870 variables: [],
23:48:11.870 type: ‘javascript/dynamic’,
23:48:11.870 context: ‘/zeit/2c4776d1’,
23:48:11.870 debugId: 2106,
23:48:11.870 hash: ‘cfac6a02e410d3f7ed228b4e14757ddd’,
23:48:11.870 renderedHash: ‘cfac6a02e410d3f7ed22’,
23:48:11.870 resolveOptions: {},
23:48:11.870 factoryMeta: {},
23:48:11.870 warnings: [],
23:48:11.870 errors: [],
23:48:11.870 buildMeta: [Object],
23:48:11.870 buildInfo: {},
23:48:11.870 reasons: [Array],
23:48:11.870 _chunks: [SortableSet [Set]],
23:48:11.870 id: 0,
23:48:11.870 index: 0,
23:48:11.870 index2: 1,
23:48:11.870 depth: 0,
23:48:11.870 issuer: null,
23:48:11.870 profile: undefined,
23:48:11.870 prefetched: false,
23:48:11.870 built: true,
23:48:11.870 used: true,
23:48:11.870 usedExports: true,
23:48:11.870 optimizationBailout: [Array],
23:48:11.870 _rewriteChunkInReasons: undefined,
23:48:11.871 useSourceMap: false,
23:48:11.871 _source: null,
23:48:11.871 name: ‘static/kJe2q0ENbbgdHUl3Q6vfV/pages/index.js’,
23:48:11.871 _identifier: 'multi ./pages/index.js’
23:48:11.871 },
23:48:11.871 profile: undefined,
23:48:11.871 prefetched: false,
23:48:11.871 built: true,
23:48:11.871 used: true,
23:48:11.871 usedExports: true,
23:48:11.871 optimizationBailout: [
23:48:11.871 'ModuleConcatenation bailout: Module is not an ECMAScript module’
23:48:11.871 ],
23:48:11.871 _rewriteChunkInReasons: undefined,
23:48:11.871 useSourceMap: false,
23:48:11.871 _source: RawSource {
23:48:11.871 _value: 'throw new Error(“Module build failed (from ./node_modules/next/dist/build/webpack/loaders/next-babel-loader.js):\nError: .plugins[0][1] must be an object, false, or undefined\n at assertPluginItem (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:244:15)\n at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:30\n at Array.forEach (<anonymous>)\n at assertPluginList (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:9)\n at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:107:5\n at Array.forEach (<anonymous>)\n at validateNested (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:83:21)\n at validate (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:74:10)\n at /zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:169:34\n at cachedFunction (/zeit/2c4776d1/node_modules/@babel/core/lib/config/caching.js:33:19)\n at buildRootChain (/zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:118:36)\n at loadPrivatePartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:85:55)\n at Object.loadPartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:110:18)\n at Object.<anonymous> (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:105:26)\n at Generator.next (<anonymous>)\n at step (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:3:221)”);'
23:48:11.871 },
23:48:11.871 request: ‘/zeit/2c4776d1/node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref–4!/zeit/2c4776d1/pages/index.js’,
23:48:11.871 userRequest: ‘/zeit/2c4776d1/pages/index.js’,
23:48:11.871 rawRequest: ‘./pages/index.js’,
23:48:11.871 binary: false,
23:48:11.871 parser: Parser {
23:48:11.871 _pluginCompat: [SyncBailHook],
23:48:11.871 hooks: [Object],
23:48:11.871 options: {},
23:48:11.871 sourceType: ‘auto’,
23:48:11.871 scope: undefined,
23:48:11.871 state: undefined,
23:48:11.871 comments: undefined
23:48:11.871 },
23:48:11.871 generator: JavascriptGenerator {},
23:48:11.871 resource: ‘/zeit/2c4776d1/pages/index.js’,
23:48:11.871 matchResource: undefined,
23:48:11.871 loaders: [ [Object] ],
23:48:11.871 error: [Circular],
23:48:11.871 _buildHash: ‘83da9c284981479f365238ef9c178ccc’,
23:48:11.871 buildTimestamp: 1585630089287,
23:48:11.871 _cachedSources: Map { ‘javascript’ => [Object] },
23:48:11.871 lineToLine: false,
23:48:11.872 _lastSuccessfulBuildMeta: {},
23:48:11.872 _ast: null
23:48:11.872 },
23:48:11.872 name: ‘ModuleBuildError’,
23:48:11.872 error: Error: .plugins[0][1] must be an object, false, or undefined
23:48:11.872 at assertPluginItem (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:244:15)
23:48:11.872 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:30
23:48:11.872 at Array.forEach (<anonymous>)
23:48:11.872 at assertPluginList (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/option-assertions.js:222:9)
23:48:11.872 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:107:5
23:48:11.872 at Array.forEach (<anonymous>)
23:48:11.872 at validateNested (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:83:21)
23:48:11.872 at validate (/zeit/2c4776d1/node_modules/@babel/core/lib/config/validation/options.js:74:10)
23:48:11.872 at /zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:169:34
23:48:11.872 at cachedFunction (/zeit/2c4776d1/node_modules/@babel/core/lib/config/caching.js:33:19)
23:48:11.872 at buildRootChain (/zeit/2c4776d1/node_modules/@babel/core/lib/config/config-chain.js:118:36)
23:48:11.872 at loadPrivatePartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:85:55)
23:48:11.872 at Object.loadPartialConfig (/zeit/2c4776d1/node_modules/@babel/core/lib/config/partial.js:110:18)
23:48:11.872 at Object.<anonymous> (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:105:26)
23:48:11.872 at Generator.next (<anonymous>)
23:48:11.872 at step (/zeit/2c4776d1/node_modules/babel-loader/lib/index.js:3:221)
23:48:11.872 }
23:48:11.873 > Build error occured
23:48:11.873 Error: > Build failed because of webpack errors
23:48:11.873 at Object.build [as default] (/zeit/2c4776d1/node_modules/next/dist/build/index.js:42:15)
23:48:11.873 at runMicrotasks (<anonymous>)
23:48:11.873 at processTicksAndRejections (internal/process/task_queues.js:94:5)
23:48:11.884 error Command failed with exit code 1.
23:48:11.884 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
23:48:11.898 Error: Exited with 1
23:48:11.898 at ChildProcess.<anonymous> (/zeit/60d2972f44a2442d/.build-utils/node_modules/@now/build-utils/dist/index.js:31349:24)
23:48:11.898 at ChildProcess.emit (events.js:223:5)
23:48:11.898 at ChildProcess.EventEmitter.emit (domain.js:475:20)
23:48:11.898 at maybeClose (internal/child_process.js:1021:16)
23:48:11.898 at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
23:48:12.198 worker exited with code 20 and signal null
23:48:13.500 Done with “package.json”

1
Fernando Eladio Alvarez Noya
Fernando Eladio Alvarez Noya
Estudiante

Hola luego de ejecutar now en el directorio api al ir a la url solo me muestra los archivos pero nada ejecutandose!
Que me falto hacer o que hice mal? Es el now 2.0

1
Francisco Martin Nacimiento
Francisco Martin Nacimiento
Estudiante

Mi pregunta es la siguiente, con esas variables de entorno de que definen en el now.json, lo que hacen es mapear esas variables al comando de docker run en la plataforma de now.sh? Si es así, podría decir que con un docker-compose.yml no seria necesario definir estas variables en now.json, pero no se como gestionaría los secrets desde el docker-compose.yml

0
Oswaldo Peralta
Oswaldo Peralta
Estudiante

Estimados, este curso de Now.sh està bastante desactualizado por lo que me ha resultado dificil hacer el deployment. (aun no lo consigo).

Dicho esto, me gustarìa saber si alguno de ustedes puede realizar el deployment en los mismo tèrminos en que lo hace el profesor en este curso, y compartir instrucciones paso a paso para que pueda lograrlo en mi computador.

Muchas gracias.

3
Alejandro Robleto
Alejandro Robleto
Estudiante

me arroja este error The property type is not allowed in now.json when using Now 2.0 – please remove it.

1
Alejandro Robleto
Alejandro Robleto
Estudiante

alguien me podria ayudar a resover el punto de la version 2,0 de now cuando trato de hacer el deploy no me deja porque me indica que el
The property type is not allowed in now.json when using Now 2.0 – please remove it. 😦

0