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

Issues when building chrome debug extension #1402

Closed
dvm-Omydoo opened this issue Apr 12, 2023 · 5 comments
Closed

Issues when building chrome debug extension #1402

dvm-Omydoo opened this issue Apr 12, 2023 · 5 comments

Comments

@dvm-Omydoo
Copy link

Hi,
While trying to build the chrome devtool, I got this error:

tools/devtools/src/devtools_app/devtools_panel.js → dist/devtools/devtools_app/devtools_panel.js...
[!] Error: Could not resolve '../../assets/templates.js' from tools\devtools\src\devtools_app\devtools_panel.js

In the devtools_panel.js, line 5:
import { templates } from "../../assets/templates.js";

templates.js is not present in the assets forlder.

Have a great day

@Iucapad
Copy link

Iucapad commented Apr 13, 2023

Hello, thanks for opening this issue.
This looks to be an issue that we currently have when building the extension from a Windows computer. @juliusc2066 is working on a fix that should be available soon :)

@juliusc2066
Copy link
Contributor

It should be solved, please report if you have further problems :)

@sdegueldre
Copy link
Contributor

fixed in #1405

@dvm-Omydoo
Copy link
Author

Hello,
I'm still having the issue, the complete traceback (some messages in french):

**Le chemin d’accès spécifié est introuvable.
created dist/devtools/page_scripts/owl_devtools_global_hook.js in 66ms

tools/devtools/src/content.js → dist/devtools/content.js...
created dist/devtools/content.js in 376ms

tools/devtools/src/devtools_app/devtools.js → dist/devtools/devtools_app/devtools.js...
created dist/devtools/devtools_app/devtools.js in 37ms

tools/devtools/src/utils.js → dist/devtools/utils.js...
created dist/devtools/utils.js in 29ms

tools/devtools/src/devtools_app/devtools_panel.js → dist/devtools/devtools_app/devtools_panel.js...
[!] Error: Could not resolve '../../assets/templates.js' from tools\devtools\src\devtools_app\devtools_panel.js
Error: Could not resolve '../../assets/templates.js' from tools\devtools\src\devtools_app\devtools_panel.js
at error (C:\Users\samin\OneDrive\Documents\GitHub\owl\node_modules\rollup\dist\shared\rollup.js:158:30)
at ModuleLoader.handleResolveId (C:\Users\samin\OneDrive\Documents\GitHub\owl\node_modules\rollup\dist\shared\rollup.js:22263:24)
at C:\Users\samin\OneDrive\Documents\GitHub\owl\node_modules\rollup\dist\shared\rollup.js:22257:26**

@juliusc2066
Copy link
Contributor

Hello, we are sadly unable to reproduce your problem even on a windows machine. Maybe try to remove all your local files and reinstall the repo.

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

4 participants