You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created an Atomic code search page project using the CLI. The project was generated with @coveo/[email protected] and @coveo/[email protected].
After updating the package.json file to use @coveo/[email protected] and @coveo/[email protected] the project wouldn't build anymore raising many errors similar to this one:
[ ERROR ] TypeScript: ./node_modules/@coveo/headless/dist/definitions/features/commerce/context/cart/cart-selector.d.ts:39:44
Namespace
'"MY_SEARCH_PAGE_PROJECT/node_modules/reselect/es/index"'
has no exported member 'weakMapMemoize'.
L38: } & {
L39: argsMemoize: typeof import("reselect").weakMapMemoize;
L40: memoize: typeof import("reselect").weakMapMemoize;
To Reproduce
Steps to reproduce the behavior:
Run coveo ui:create:atomic
Update the package.json and set the latest versions of @coveo/atomic and @coveo/headless
Update the coveo.deploy.json file accordingly.
Run npm install
Run npm run build
See the errors in the command line console
Expected behavior
A clear and concise description of what you expected to happen.
Once package.json and coveo.deploy.json are updated and npm install is done, npm run build should build correctly.
Screenshots
n/a
Desktop (please complete the following information):
OS: Linux
OS version: Ubuntu 20.04
Browser n/a
Browser version: n/a
Version of the CLI 3.2.7
Local Node version: 20.18.1
Local NPM/Yarn version: 10.9.1
Additional context
I was able to fix the issue by applying the following changes to the generated project.
Describe the bug
I created an Atomic code search page project using the CLI. The project was generated with
@coveo/[email protected]
and@coveo/[email protected]
.After updating the
package.json
file to use@coveo/[email protected]
and@coveo/[email protected]
the project wouldn't build anymore raising many errors similar to this one:To Reproduce
Steps to reproduce the behavior:
coveo ui:create:atomic
package.json
and set the latest versions of@coveo/atomic
and@coveo/headless
coveo.deploy.json
file accordingly.npm install
npm run build
Expected behavior
A clear and concise description of what you expected to happen.
Once
package.json
andcoveo.deploy.json
are updated andnpm install
is done,npm run build
should build correctly.Screenshots
n/a
Desktop (please complete the following information):
Additional context
I was able to fix the issue by applying the following changes to the generated project.
package.json
, set:@coveo/atomic
to2.79.1
@coveo/headless
to2.80.6
@stencil/core
to4.20.0
stencil.config.ts
, replaceby
tsconfig.json
add"skipLibCheck": true
tocompilerOptions
The text was updated successfully, but these errors were encountered: