-
-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ni and nci fail with version 0.22.2 #224
Comments
same here |
I confirm the issue, and the workaround (pinning the version). ReproductionHere are a simple package.json + Dockerfile for reproduction if it can help: {
"name": "repro",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "echo \"Hello\""
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^1.7.4"
}
} FROM node:20.16-alpine
WORKDIR /project
COPY . /project
RUN npm install -g @antfu/ni
# RUN npm install -g @antfu/ni@0.22.1
RUN nci --frozen
ENTRYPOINT ["nr"]
CMD [ "start" ] Error output
|
same |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running
nci
orni
with version 0.22.2 installed globally on any project (yarn or npm based), the command does nothing and exit quickly without output.This failed in our github actions with a message Process completed with exit code 1 but without more informations.
When reverting to 0.22.1 with
npm install -g @antfu/ni@0.22.1
, there is no issue.Is there a verbose mode or something llike that to get more informations from these commands ?
Reproduction
Any project with a valid package.json seems enough to reproduce
System Info
Used Package Manager
npm
Validations
Contributions
The text was updated successfully, but these errors were encountered: