Hello,
I installed yarn and node js (all newest versions, including webpack and webpack-cli) and tried to run npm run create-bundle:
It hangs on: Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!wwwroot/view-resources/Views/TenantRegistration/SelectEdition.css: Entrypoint undefined = extract-text-webpack-plugin-output-filename [./node_modules/css-loader/dist/cjs.js!./wwwroot/view-resources/Views/TenantRegistration/SelectEdition.css] 8.26 KiB {0} [built] factory:4666ms building:32776ms = 37442ms + 1 hidden module
When I tried to run I am getting following error: HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure
I have version 7.0.0.
Previous version 6.x with gulp was working properly.
What can I try?
Best regards,
3 Answer(s)
-
0
Hi @ncvitanovic
We have moved back to Gulp because of some problems of WebPack, you can do that as well https://github.com/aspnetzero/aspnet-zero-core/commit/84342d45991cc23611fc347b9a51bea0ae9a4de1.
You just need to copy latest version of gulpfile.js to your project and make necessary changes in package.json. If you still face problems after that, please let us know.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hello,
Now I am getting problems with gulp as well. I change it and in packages.json:
I installed gulp and gulp-less but problems are again:
internal/modules/cjs/loader.js:638 throw err; ^
Error: Cannot find module 'gulp-less' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (O:\HRID\SOFTWARE\HRIDNDT\src\HRIDNDT.Web.Mvc\gulpfile.js:6:12) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
hi ncvitanovic You can download the Zero demo project to compare the code.
You can try to delete the node_modules directory and re-execute yarn.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)