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

build error: Missing "./dist/types/cli" specifier in "generator-jhipster" package #24976

Closed
juliencauwet opened this issue Jan 26, 2024 · 0 comments

Comments

@juliencauwet
Copy link

Overview of the issue

I'm encountering an issue while running the npm run webapp:build command in my Jhipster project. The error message is as follows:

ruby
Copy code

[commonjs--resolver] Missing "./dist/types/cli" specifier in "generator-jhipster" package
error during build:
Error: Missing "./dist/types/cli" specifier in "generator-jhipster" package
    at e (file:///path/to/your/project/node_modules/vite/dist/node/chunks/dep-wTaJK0Jt.js:21912:25) 
    at n (file:///path/to/your/project/node_modules/vite/dist/node/chunks/dep-wTaJK0Jt.js:21912:627)
    at o (file:///path/to/your/project/node_modules/vite/dist/node/chunks/dep-wTaJK0Jt.js:21912:1297)
    at resolveExportsOrImports (file:///path/to/your/project/node_modules/vite/dist/node/chunks/dep-wTaJK0Jt.js:29165:20)
    at resolveDeepImport (file:///path/to/your/project/node_modules/vite/dist/node/chunks/dep-wTaJK0Jt.js:29184:31)
    at tryNodeResolve (file:///path/to/your/project/node_modules/vite/dist/node/chunks/dep-wTaJK0Jt.js:28909:20)
    at Object.resolveId (file:///path/to/your/project/node_modules/vite/dist/node/chunks/dep-wTaJK0Jt.js:28665:28)
    at file:///path/to/your/project/node_modules/rollup/dist/es/shared/node-entry.js:18692:40       
    at async PluginDriver.hookFirstAndGetPlugin (file:///path/to/your/project/node_modules/rollup/dist/es/shared/node-entry.js:18592:28)
    at async resolveId (file:///path/to/your/project/node_modules/rollup/dist/es/s
Motivation for or Use Case

It makes my build fail

JHipster Version(s)

8.1.0

JHipster configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants