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

cannot compile js / missing dependencies #11

Open
ghost opened this issue Feb 16, 2021 · 1 comment
Open

cannot compile js / missing dependencies #11

ghost opened this issue Feb 16, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 16, 2021

Hi guys,

Hope you are all well !

I tried to install this module following the README's instructions but I have the following error:

$ yarn encore dev
yarn run v1.22.5
warning package.json: No license field
$ /homeprestashop/shared/www/modules/doctrine/node_modules/.bin/encore dev
Running webpack ...

DEPRECATION Either the Encore.enableSingleRuntimeChunk() or Encore.disableSingleRuntimeChunk() method should be called.
DEPRECATION The recommended setting is Encore.enableSingleRuntimeChunk().
DEPRECATION After calling Encore.enableSingleRuntimeChunk(), a new "runtime.js" will be output and should be included on your page before any other script tags for Encore files.
 ERROR  Failed to compile with 2 errors                                                                                                                                                           5:36:27 AM

These dependencies were not found:

* @app/utils/reset_search in /home/prestashop/shared/www/admin1234/themes/new-theme/js/components/grid/extension/filters-reset-extension.js
* @app/utils/table-sorting in /home/prestashop/shared/www/admin1234/themes/new-theme/js/components/grid/extension/sorting-extension.js

To install them, you can run: npm install --save @app/utils/reset_search @app/utils/table-sorting
Entrypoint admin/demo/index = admin/demo/index.js
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Is there a way to update the repository for sorting it out ?

Cheers,
Luc Michalski

@ghost
Copy link
Author

ghost commented Feb 16, 2021

I managed to install the module without the js asset but I have 2 more errors :
Screenshot 2021-02-16 at 06 05 41

Screenshot 2021-02-16 at 06 05 33

Any idead how to sort it out too ?

Thanks for any insights or inputs on those issues :-)

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

No branches or pull requests

0 participants