-
Notifications
You must be signed in to change notification settings - Fork 8
Doesn't work with Webpack 4 #61
Comments
I will update related repositories within the next few days, I really was so busy this week to add the new feature, however if you are a .Net developer, may I ask you to check it with AureliaToolbelt.AspNetCore spa template? dotnet new aut |
Ok, with AureliaToolbelt.AspNetCore version 1.0.1-beta and .NET Core 2.1 issue 1 is gone but issue 2 still exists: |
May I ask you to use version 1 ? |
Tested with 1.0.0, the results are the same as with 1.0.1-beta. |
The WebPack starter still uses Also as a side note, I tried the webpack 4 starter kit couple weeks ago and also coudn't get it to run. However when I installed Hope that helps |
Thanks for your support, anyway, the problem you mentioned is a known issue 🙈 😄 for our library and its due totally to this line. As @ghiscoding said, it pertains to how CSS loaders work, that's not a blocking issue though, and the library works seamlessly 🤞 . I should remove the above-mentioned line and release a new package. Hence, I need more time to create some repositories from scratch with the @ghiscoding 's suggestions. |
Hi, I have updated aurelia-toolbelt to v1.2.1 and respectively the dotnet template ( |
I probably won't have time to try this out until next weekend. But so far I can say that from the entire set of component, I am not able to make the |
I tested again the modal sample in |
@shahabganji C:\aut-webpack4-starter-kit\node_modules\webpack-cli\bin\config-yargs.js:89
describe: optionsSchema.definitions.output.properties.path.description,
^
TypeError: Cannot read property 'properties' of undefined
at module.exports (C:\aut-webpack4-starter-kit\node_modules\webpack-cli\bin\config-yargs.js:89:48)
at Object.<anonymous> (C:\aut-webpack4-starter-kit\node_modules\webpack-dev-server\bin\webpack-dev-server.js:84:40)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
at startup (internal/bootstrap/node.js:201:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)
The script called "webpack.server" which runs "webpack-dev-server -d --devtool '#source-map' --inline --env.server" failed with
exit code 1 https://github.com/kentcdodds/nps/blob/v5.9.3/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
The script called "webpack" which runs "nps webpack.server" failed with exit code 1 https://github.com/kentcdodds/nps/blob/v5.9.3/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
The script called "default" which runs "nps webpack" failed with exit code 1 https://github.com/kentcdodds/nps/blob/v5.9.3/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! aut-starter-kit-webpack@0.1.0 start: `nps`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the aut-starter-kit-webpack@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. I didn't try the other repo since I don't think that I have .Net Core installed anymore |
I always use |
I tried a few things and still can't run it. I just got recent EDIT EDIT 2 |
Thanks for your patience and support, let's keep our fingers crossed 🤞 |
I downloaded the aut-webpack4-starter-kit and upgraded aurelia-toolbelt to version 1.1.1. As a result, now application throws few errors.
Uncaught TypeError: Cannot read property 'get' of undefined
ataurelia-toolbelt/src/decorators/inject-css.ts
Line 13 in 3df963a
Unhandled rejection Error: Unable to find module with ID: aurelia-toolbelt/external-resources/css/toastr.css
If I limit the plugin registration to specific component (like
.plugin(PLATFORM.moduleName("aurelia-toolbelt/components/bootstrap/dropdown"))
), then it starts to complain about missing html files, for exampleUnhandled rejection Error: Unable to find module with ID: aurelia-toolbelt/components/bootstrap/dropdown/abt-dropdown.html
The text was updated successfully, but these errors were encountered: