Comments (6)
However, it was not my intention that this only runs with new / recent Node.js versions. I will adjust the ts transpiler settings.
from nestjs-unleash.
Hm, locally I was running node 14 where in Docker I had node 12. After changing to node14 in docker file it's working.
from nestjs-unleash.
@pmb0 I'm having this issue too (running locally. node version v14.16.0. nest version v7.6.7).
Any idea what is wrong ?
from nestjs-unleash.
Hi @nllahat , the Nullish coalescing operator (??) needs Node.js ^14.0.0. are you sure you use v14?
from nestjs-unleash.
@pmb0 sorry. my mistake. I ran it with node 13.4.
from nestjs-unleash.
Olá, estou com o mesmo problema.
app_1 | /home/node/app/node_modules/rimraf/dist/cjs/src/ignore-enoent.js:15
app_1 | if (er?.code !== 'ENOENT') {
app_1 | ^
app_1 |
app_1 | SyntaxError: Unexpected token '.'
app_1 | at Module._compile (internal/modules/cjs/loader.js:895:18)
app_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
app_1 | at Module.load (internal/modules/cjs/loader.js:815:32)
app_1 | at Function.Module._load (internal/modules/cjs/loader.js:727:14)
app_1 | at Module.require (internal/modules/cjs/loader.js:852:19)
app_1 | at require (internal/modules/cjs/helpers.js:74:18)
app_1 | at Object.<anonymous> (/home/node/app/node_modules/rimraf/dist/cjs/src/rimraf-posix.js:14:28)
app_1 | at Module._compile (internal/modules/cjs/loader.js:959:30)
app_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
app_1 | at Module.load (internal/modules/cjs/loader.js:815:32)
app_1 | npm ERR! code ELIFECYCLE
app_1 | npm ERR! errno 1
app_1 | npm ERR! [email protected] start:dev: `nest start --watch`
app_1 | npm ERR! Exit status 1
app_1 | npm ERR!
app_1 | npm ERR! Failed at the [email protected] start:dev script.
app_1 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
app_1 |
app_1 | npm ERR! A complete log of this run can be found in:
app_1 | npm ERR! /home/node/.npm/_logs/2023-02-13T14_25_17_922Z-debug.log
nest-api_app_1 exited with code 1
-
Atualmente estou com o node v18.13.0
-
meu Dockerfile:
FROM node:18.14-alpine3.16
RUN apk add --no-cache bash
RUN npm install -g @nestjs/[email protected]
USER node
WORKDIR /home/node/app
- docker-compose.yaml:
version: '3'
services:
app:
build: .
entrypoint: ./.docker/entrypoint.sh
ports:
- 3000:3000
volumes:
- .:/home/node/app
from nestjs-unleash.
Related Issues (20)
- Idea: Deactivate request debug logging HOT 1
- Is UnleashStrategiesModule part of the relevant providers/imports within UnleashModule? HOT 1
- Passing context to isEnabled HOT 2
- Support nestjs-proxy strategies HOT 1
- Variant Support HOT 1
- Metrics not working HOT 3
- imports not being used by library HOT 1
- Is this project dead? HOT 1
- Make it clearer in the doc how to setup feature flag HOT 1
- Update peers to nest 9 HOT 2
- Add option to disable debug
- UnleashService doesn't evaluate constrains
- @nestjs/axios incompatibility
- UnleashService doesn't validate context values
- error TS1110: Type expected HOT 1
- The version of @nestjs/axios has reached 2.0.0 HOT 2
- [BUG] Conflict with WebSocketGateway
- Allow to disable registration HOT 2
- Document already implemented strategy HOT 1
- Allow custom getUserId function HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestjs-unleash.