Skip to content

Instantly share code, notes, and snippets.

@Kombustor
Last active July 12, 2019 13:10
Show Gist options
  • Save Kombustor/69c4c27a3c515ecd014de89aa9574890 to your computer and use it in GitHub Desktop.
Save Kombustor/69c4c27a3c515ecd014de89aa9574890 to your computer and use it in GitHub Desktop.
now-cli-bug-demo
user@server:/workspaces/now-cli-bug-demo/api# cd api/
user@server:/workspaces/now-cli-bug-demo/api# ncc build dist/main.js -o out/
ncc: Version 0.20.4
ncc: Compiling file index.js
3275kB out/index.js
3275kB [4953ms] - ncc 0.20.4
user@server:/workspaces/now-cli-bug-demo/api# node out/index.js
[Nest] 1459 - 07/12/2019, 1:06 PM [NestFactory] Starting Nest application...
(node:1459) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[Nest] 1459 - 07/12/2019, 1:06 PM [InstanceLoader] AppModule dependencies initialized +12ms
[Nest] 1459 - 07/12/2019, 1:06 PM [RoutesResolver] AppController {/}: +251ms
[Nest] 1459 - 07/12/2019, 1:06 PM [RouterExplorer] Mapped {/, GET} route +2ms
[Nest] 1459 - 07/12/2019, 1:06 PM [NestApplication] Nest application successfully started +2ms
root@b00991fba9e0:/workspaces/now-cli-bug-demo# npm run dev
.
.
.
> Now CLI 15.7.0 dev (beta) — https://zeit.co/feedback/dev
> Ready! Available at http://localhost:3000
> GET /
> Building @now/node:api/dist/main.js
downloading user files...
installing dependencies for user's code...
missing `engines` in `package.json`, using default range: 8.10.x
installing to /workspaces/now-cli-bug-demo/api/dist
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
audited 432 packages in 0.947s
found 0 vulnerabilities
running user script...
compiling entrypoint with ncc...
ncc: Version 0.18.5
ncc: Compiling file index.js
ncc: Module directory "/workspaces/now-cli-bug-demo/api/node_modules/@nestjs/core" attempted to require "@nestjs/microservices" but could not be resolved, assuming external.
ncc: Module directory "/workspaces/now-cli-bug-demo/api/node_modules/@nestjs/core" attempted to require "@nestjs/microservices" but could not be resolved, assuming external.
ncc: Module directory "/workspaces/now-cli-bug-demo/api/node_modules/@nestjs/common/pipes" attempted to require "class-transformer" but could not be resolved, assuming external.
ncc: Module directory "/workspaces/now-cli-bug-demo/api/node_modules/@nestjs/common/serializer" attempted to require "class-transformer" but could not be resolved, assuming external.
ncc: Module directory "/workspaces/now-cli-bug-demo/api/node_modules/@nestjs/common/pipes" attempted to require "class-validator" but could not be resolved, assuming external.
ncc: Module directory "/workspaces/now-cli-bug-demo/api/node_modules/@nestjs/common/cache" attempted to require "cache-manager" but could not be resolved, assuming external.
> Built @now/node:api/dist/main.js [7s]
[Nest] 1754 - 07/12/2019, 1:09 PM [NestFactory] Starting Nest application...
(node:1754) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[Nest] 1754 - 07/12/2019, 1:09 PM [InstanceLoader] AppModule dependencies initialized +17ms
[Nest] 1754 - 07/12/2019, 1:09 PM [PackageLoader] The "swagger-ui-express" package is missing. Please, make sure to install this library ($ npm install swagger-ui-express) to take advantage of SwaggerModule. +6ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment