Comments (2)
I went back to this after a while and I realized the error message was because of yarn's version.
There are several stable versions of yarn and the "dlx" command is a recent one.
So since I was using v1.22.19, it couldn't work.
$ yarn set version berry
➤ YN0000: Retrieving https://repo.yarnpkg.com/4.0.2/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: Saving the new release in .yarn/releases/yarn-4.0.2.cjs
➤ YN0000: Done in 2s 358ms
$ rm package.json
# this is required for the npx command to run
$ yarn --version
4.0.2
$ npx makes aurelia
makes v3.2.0 https://makes.js.org
[makes] Using remote skeleton github:aurelia/new
[makes] Fetching tarball https://codeload.github.com/aurelia/new/tar.gz/HEAD
#
###### xxx
######## xxxx #### _ _ _ ____
x ######## ######## / \ _ _ _ __ ___| (_) __ _ |___ \
x ###### ############# / _ \| | | | '__/ _ \ | |/ _` | __) |
xxxxx ## ############### / ___ \ |_| | | | __/ | | (_| | / __/
xxxxx ############### /_/ \_\__,_|_| \___|_|_|\__,_| |_____|
x ############### xxx
############## # xx
############## ###### https://aurelia.io
########## x ######## https://github.com/aurelia
##### xxxx ######## https://twitter.com/aureliaeffect
# x x ######
#
✔ Please name this new project: › test
✔ Would you like to use the default setup or customize your choices? › Custom Aurelia 2 Project
✔ What kind of Aurelia 2 project? › Application
✔ What Aurelia 2 release would you like to use? › Latest
✔ Which bundler would you like to use? › Parcel
✔ What transpiler would you like to use? › Babel
✔ Do you want to use Shadow DOM or CSS Module? › Use Shadow DOM
✔ What CSS preprocessor to use? › Plain CSS
✔ What unit testing framework to use? › Jasmine
✔ Do you want to setup e2e test? › No
✔ What kind of sample code do you want in this project? › Bare minimum
[makes] Project test has been created.
✔ Do you want to install npm dependencies now? › Yes, use yarn (node-modules)
➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @aurelia/parcel-transformer@npm:2.0.0-beta.8, @aurelia/router@npm:2.0.0-beta.8, @aurelia/testing@npm:2.0.0-beta.8, @babel/core@npm:7.23.5, @babel/eslint-parser@npm:7.23.3, and 745 more.
➤ YN0000: └ Completed in 13s 588ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 713 packages were added to the project (+ 406.17 MiB).
➤ YN0000: └ Completed in 1m 58s
➤ YN0000: ┌ Link step
➤ YN0007: │ electron@npm:16.2.8 must be built because it never has been before or the last one failed
➤ YN0007: │ msgpackr-extract@npm:3.0.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @swc/core@npm:1.3.100 [95076] must be built because it never has been before or the last one failed
➤ YN0007: │ lmdb@npm:2.8.5 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 21s 985ms
➤ YN0000: · Done in 2m 34s
Next time, you can try to create similar project in silent mode:
npx makes aurelia new-project-name -s parcel,shadow-dom,jasmine
Get Started
cd test
yarn start
So it works correctly, the refresh in browser happens as expected. which means I'll close this issue now.
from aurelia.
It seems building the same project with Babel instead of Parcel gives me the same error message:
error Command "dlx" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: yarn exit code: 1
at ChildProcess.<anonymous> (/home/www/test/node_modules/makes/dist/index.js:1:25653)
at ChildProcess.emit (node:events:513:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
But at least when changing my-app's source, the changes are showing in the browser.
from aurelia.
Related Issues (20)
- [refactor] remove define life cycle HOT 1
- Vite plugin for aurelia 1.x? HOT 4
- Router load attribute: broken when using id & parameters.bind HOT 7
- Injecting IHttpClient error after beta 11 update
- Router swallows DI errors HOT 7
- Restrict behavior of custom attribute single value binding and primary bindable HOT 8
- Tweak aurelia package reexports HOT 9
- Validation Package - Email validation HOT 7
- Replacing view factory containers
- Vite load issue. HOT 2
- Define `ts-jest` config under `globals` is deprecated HOT 2
- 2.0.0-beta.15 - using @inject is throwing errors HOT 3
- CSS modules support for Vite HOT 10
- [DEV:aurelia] Error: AUR0153: Element has already been registered HOT 8
- Variables getting removed from production bundle HOT 11
- [RFC] synchronous vs asynchronous binding system for Aurelia 2 HOT 9
- 2.0.0-beta.12 - Custom elements instances are now different HOT 10
- [feature request] ability to typecheck template
- RFC: Enhancements for Overriding Registrations in Aurelia DI Container HOT 5
- bindable decorator should not be giving a runtime error HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aurelia.