Environment
-
Version:
cli version: 0.7.0
core version: 0.7.0
build version: 0.7.0
serve version: 0.7.0
-
OS: macOS
What's wrong?
When running vulcan catalog after installing the @vulcan-sql/catalog-server package to 0.7.0. Facing the issue for ERR_REQUIRE_ESM error when running the require('wrap-ansi'), like the below screenshot:

The reason is that wrap-ansi install the latest version like the above is 8.1.0 after running the yarn why wrap-ansi

What's the correct behavior?
The correct be should be normal and show Ready on http://localhost:4200
Reproducing steps
@vulcan-sql/catalog-server package to 0.7.0 in your project
vulcan catalog
Solution
The solution is to make the @vulcan-sql/catalog-server install the wrap-ansi at 7.0.0.
The current workaround
The workaround from @andreashimin shared.
- Remove the
node_modules
- Add the below code at
package.json in your project
{
...
"resolutions": {
"wrap-ansi": "7.0.0"
}
}
- Run
yarn or npm to install again.
Environment
Version:
OS: macOS
What's wrong?
When running
vulcan catalogafter installing the@vulcan-sql/catalog-serverpackage to0.7.0. Facing the issue forERR_REQUIRE_ESMerror when running therequire('wrap-ansi'), like the below screenshot:The reason is that
wrap-ansiinstall the latest version like the above is8.1.0after running theyarn why wrap-ansiWhat's the correct behavior?
The correct be should be normal and show
Ready on http://localhost:4200Reproducing steps
@vulcan-sql/catalog-serverpackage to0.7.0in your projectvulcan catalogSolution
The solution is to make the
@vulcan-sql/catalog-serverinstall thewrap-ansiat7.0.0.The current workaround
The workaround from @andreashimin shared.
node_modulespackage.jsonin your project{ ... "resolutions": { "wrap-ansi": "7.0.0" } }yarnornpmto install again.