Skip to content
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

pnpm build:npm #57

Open
revolunet opened this issue Apr 13, 2023 · 0 comments
Open

pnpm build:npm #57

revolunet opened this issue Apr 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@revolunet
Copy link
Member

revolunet commented Apr 13, 2023

Fresh install with node@18 and pnpm@8, then pnpm build:npm on branch beta throws this :

@socialgouv/e2esdk-devtools:build:npm: > tsup
@socialgouv/e2esdk-devtools:build:npm: 
@socialgouv/e2esdk-devtools:build:npm: CLI Building entry: src/index.tsx
@socialgouv/e2esdk-devtools:build:npm: CLI Using tsconfig: tsconfig.json
@socialgouv/e2esdk-devtools:build:npm: CLI tsup v6.7.0
@socialgouv/e2esdk-devtools:build:npm: CLI Using tsup config: /Users/julienb/projects/mas/e2esdk2/packages/devtools/package.json
@socialgouv/e2esdk-devtools:build:npm: CLI Target: esnext
@socialgouv/e2esdk-devtools:build:npm: DTS Build start
@socialgouv/e2esdk-devtools:build:npm: failed to load config from /Users/julienb/projects/mas/e2esdk2/packages/devtools/vite.config.ts
@socialgouv/e2esdk-devtools:build:npm: error during build:
@socialgouv/e2esdk-devtools:build:npm: Error: TLS configuration is required in a local development environment.
@socialgouv/e2esdk-devtools:build:npm: 
@socialgouv/e2esdk-devtools:build:npm:   -> See docs/docs/contributing/development-environment.md to get started.
@socialgouv/e2esdk-devtools:build:npm: 
@socialgouv/e2esdk-devtools:build:npm:     at loadTlsCertificates (file:///Users/julienb/projects/mas/e2esdk2/packages/devtools/vite.config.ts.timestamp-1681419014463.mjs:32:13)
@socialgouv/e2esdk-devtools:build:npm:     at file:///Users/julienb/projects/mas/e2esdk2/packages/devtools/vite.config.ts.timestamp-1681419014463.mjs:42:13
@socialgouv/e2esdk-devtools:build:npm:     at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
@socialgouv/e2esdk-devtools:build:npm:  ELIFECYCLE  Command failed with exit code 1.
@socialgouv/e2esdk-devtools:build:npm:  ELIFECYCLE  Command failed.
@socialgouv/e2esdk-devtools:build:npm: ERROR: "build:npm:bundle" exited with 1.
@socialgouv/e2esdk-devtools:build:npm:  ELIFECYCLE  Command failed with exit code 1.
@socialgouv/e2esdk-devtools:build:npm: ERROR: command finished with error: command (/Users/julienb/projects/mas/e2esdk2/packages/devtools) pnpm run build:npm exited (1)
command (/Users/julienb/projects/mas/e2esdk2/packages/devtools) pnpm run build:npm exited (1)

 
 ERROR  run failed: command  exited (1)
 ELIFECYCLE  Command failed with exit code 1.

@revolunet revolunet added the bug Something isn't working label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant