pnpm ship command error #1858
Unanswered
angela-yan
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This is because the build script injects environment variables to esbuild's |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I tried to follow your instruction to build the app and had some error when I run 'pnpm ship' to for the electron app.
System: Win10
Source code: Download zip file into system
Error:
X [ERROR] The define key "process.env.IntelliJ IDEA Community Edition" contains invalid identifier "IntelliJ IDEA Community Edition"
X [ERROR] The define key "process.env.IntelliJ IDEA Community Edition" contains invalid identifier "IntelliJ IDEA Community Edition"
ELIFECYCLE Command failed with exit code 1.
ELIFECYCLE Command failed with exit code 1.
C:\Work\Projects\Collab\flat-main\desktop\main-app:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL [email protected] ship:
pnpm build && node ./scripts/pack auto
Exit status 1
ELIFECYCLE Command failed with exit code 1.
Beta Was this translation helpful? Give feedback.
All reactions