Closed gavinr closed 7 years ago
@gavinr Thanks for raising the issue, this is due to a release of ts-loader
and the fact that the version of cli-build-webpack
currently used in the template for create-app
isn't pinned to a working ts-loader
version.
To work around the issue you can install the previous version of ts-loader
using npm i ts-loader@2.3.1
until we have released a new version of create-app
(that we are working on doing now).
The PR with the changes to pin the build dependencies is here: https://github.com/dojo/cli-build-webpack/pull/182
We have just released a patch for latest and beta1 version tags, so hopefully this should now work if you re-install the dojo/cli
and try create another app.
Running the following worked. Thanks for the quick response @agubler!
npm uninstall -g @dojo/cli
npm install -g @dojo/cli
Bug
I think this is a bug, but maybe just something about my environment. When I create a new dojo2 app using
dojo create --name XYZ
and then try to build (dojo build
) I get an error:Full Workflow
Expected behavior:
There should be no error an the example app should be built.
Actual behavior:
Error shown in terminal.