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

[td-tools] - 'webpack' is not recognized as an internal or external command #1257

Open
danielpeintner opened this issue Mar 22, 2024 · 1 comment
Labels
td-tools Issues with axillary tools for node-wot

Comments

@danielpeintner
Copy link
Member

Recently I noticed the following issue when running
npm run build in the /packages/td-tools/ folder

> tsc -b && webpack

'webpack' is not recognized as an internal or external command,
operable program or batch file.

Running npm run build in the root folder does not cause any issue. Is it a local issue on my machine (which I doubt) or is there anything that has been changed I am not aware of!?

@danielpeintner danielpeintner added the td-tools Issues with axillary tools for node-wot label Mar 22, 2024
@relu91
Copy link
Member

relu91 commented Mar 22, 2024

Running npm run build in the root folder does not cause any issue. Is it a local issue on my machine (which I doubt) or is there anything that has been changed I am not aware of!?

Correct, this is due to we now building the whole project using tsc and we are not iterating on the packages list like before (i.e., we are not calling npm run build inside the td-tools folder anymore). this is another reason why we have to call npm run build -w packages/browser-bundle manually in the root build script. Anyhow, as mentioned in #387 (comment) I hope to migrate soon to esbuild then webpack would not be needed anymore in td-tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
td-tools Issues with axillary tools for node-wot
Projects
None yet
Development

No branches or pull requests

2 participants