>yarn --version
3.3.1
The create analog produced package.json
{
"name": "math-blog",
"version": "0.0.0",
"private": true,
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"dev": "ng serve",
"ng": "ng",
"start": "yarn dev",
"build": "ng build",
"watch": "ng build --watch",
"test": "ng test"
},
"dependencies": {
"@analogjs/router": "latest",
"@angular/animations": "^15.0.0",
"@angular/common": "^15.0.0",
"@angular/compiler": "^15.0.0",
"@angular/core": "^15.0.0",
"@angular/forms": "^15.0.0",
"@angular/platform-browser": "^15.0.0",
"@angular/platform-browser-dynamic": "^15.0.0",
"@angular/platform-server": "^15.0.0",
"@angular/router": "^15.0.0",
"@nrwl/angular": "~15.4.0",
"rxjs": "~7.5.6",
"tslib": "^2.4.0",
"zone.js": "~0.11.8"
},
"devDependencies": {
"@analogjs/platform": "latest",
"@angular-devkit/build-angular": "^15.0.0",
"@angular/cli": "~15.0.0",
"@angular/compiler-cli": "^15.0.0",
"@nrwl/vite": "~15.4.0",
"jsdom": "^20.0.0",
"typescript": "~4.8.4",
"vite": "^4.0.3",
"vitest": "^0.25.8"
}
}
create-analog
Steps taken:
>yarn create analog
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 1s 656ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ [email protected]:1.2.8 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ [email protected]:0.2.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ [email protected]:1.7.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 1s 512ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0000: └ Completed in 0s 246ms
➤ YN0000: Done with warnings in 3s 470ms
√ Project name: ... math-blog
√ Select a template: » Analog
√ Select a variant: » angular-v15
Scaffolding project in C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog...
Initializing git repository:
Done. Now run:
cd math-blog
yarn
yarn dev
C:\Users\andrewa\Documents\ProofOfConceptApps\Analog>cd math-blog
C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog>yarn
➤ YN0000: ┌ Resolution step
...
➤ YN0007: │ @nrwl/[email protected]:15.4.8 must be built because it never has been before or the last one failed
➤ YN0007: │ @parcel/[email protected]:2.0.4 must be built because it never has been before or the last one failed
➤ YN0007: │ [email protected]:15.4.8 [bfcda] must be built because it never has been before or the last one failed
➤ YN0007: │ [email protected]:0.16.17 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 55s 246ms
➤ YN0000: Done with warnings in 3m 30s
C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog>yarn dev
An unhandled exception occurred: @nrwl/devkit tried to access nx (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
Required package: nx (via "nx\src\config\workspaces")
Required by: @nrwl/[email protected]:5f535d93846cb563fd76ccda0c8e9c4c0f4ae65fd65b67e1071d52620252e7028bd4ff64d631945a90f04d79632950f88ea0aef88a20aa4ce20360c0fe5e5772#npm:15.4.8 (via C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\__virtual__\@nrwl-devkit-virtual-cf17dc8818\0\cache\@nrwl-devkit-npm-15.4.8-59cfab5457-f3608afea4.zip\node_modules\@nrwl\devkit\)
Ancestor breaking the chain: @nrwl/[email protected]:15.4.8
Ancestor breaking the chain: @nrwl/[email protected]:a8d9e6096564135424f7ff4ca647b816c7475f40c168a21a5d4d3094a23788982748544871414198f0d5c88926a9f967ba65fae0fb7c20c538a3d26c619f5691#npm:15.4.8
Ancestor breaking the chain: @nrwl/[email protected]:15.4.8
Ancestor breaking the chain: @nrwl/[email protected]:15.4.8
Ancestor breaking the chain: @nrwl/[email protected]:30828e8809ad8cbd298dab4c0368240212227f1f00a71cbf4d39793b61bdafca4d3c5861c0c1fb5db6a07585c51ef473c4999c5cbc14d76e31cd65b16f5b257e#npm:15.4.8
Ancestor breaking the chain: @nrwl/[email protected]:39a480bd3819c573a45f778d75337b5867a0441b96a1f664d5f67719efd2c382536f0da031598f602b8f53717cb229b45b1b680588114f93124f0d7b28ce2265#npm:15.4.8
Ancestor breaking the chain: @nrwl/[email protected]:15.4.8
Require stack:
- C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\__virtual__\@nrwl-devkit-virtual-cf17dc8818\0\cache\@nrwl-devkit-npm-15.4.8-59cfab5457-f3608afea4.zip\node_modules\@nrwl\devkit\index.js
- C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\__virtual__\@nrwl-vite-virtual-3358586726\0\cache\@nrwl-vite-npm-15.4.8-269f1c768c-93812b4266.zip\node_modules\@nrwl\vite\src\executors\dev-server\compat.js
- C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\cache\@angular-devkit-architect-npm-0.1500.5-3f5d89fec1-81809e855d.zip\node_modules\@angular-devkit\architect\node\node-modules-architect-host.js
- C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\cache\@angular-devkit-architect-npm-0.1500.5-3f5d89fec1-81809e855d.zip\node_modules\@angular-devkit\architect\node\index.js
- C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\cache\@angular-cli-npm-15.0.5-6a9a070c08-a7bebe996b.zip\node_modules\@angular\cli\src\command-builder\architect-base-command-module.js
- C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\cache\@angular-cli-npm-15.0.5-6a9a070c08-a7bebe996b.zip\node_modules\@angular\cli\src\command-builder\architect-command-module.js
- C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\cache\@angular-cli-npm-15.0.5-6a9a070c08-a7bebe996b.zip\node_modules\@angular\cli\src\commands\build\cli.js
- C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\cache\@angular-cli-npm-15.0.5-6a9a070c08-a7bebe996b.zip\node_modules\@angular\cli\src\command-builder\command-runner.js
- C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\cache\@angular-cli-npm-15.0.5-6a9a070c08-a7bebe996b.zip\node_modules\@angular\cli\lib\cli\index.js
- C:\Users\andrewa\Documents\ProofOfConceptApps\Analog\math-blog\.yarn\cache\@angular-cli-npm-15.0.5-6a9a070c08-a7bebe996b.zip\node_modules\@angular\cli\lib\init.js
See "C:\Users\andrewa\AppData\Local\Temp\ng-YpYWz8\angular-errors.log" for further details.
Error, as above
An unhandled exception occurred: @nrwl/devkit tried to access nx (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
### Other information
_No response_
### I would be willing to submit a PR to fix this issue
- [ ] Yes
- [X] No
Maybe related to #83 and should be filed as new feature request to support Yarn Berry / Yarn 2?
Owner Name | analogjs |
Repo Name | analog |
Full Name | analogjs/analog |
Language | TypeScript |
Created Date | 2022-07-06 |
Updated Date | 2023-03-28 |
Star Count | 885 |
Watcher Count | 18 |
Fork Count | 67 |
Issue Count | 33 |
Issue Title | Created Date | Updated Date |
---|