Closed wstidolph closed 3 years ago
Oops - I didn't run nx generate @nstudio/xplat:init --platforms web,ionic
... maybe that explains this?
@wstidolph possible - most of the app generators will implicitly generate the supporting architecture if needed so something may have occurred there. We can check.
Well, that didn't fix it; should I move the error stack below to being a new issue or is it legit related to the 'missing webpack' issue root cause?
▒▓ ~/dev ▓▒░ npx create-nx-workspace@latest ░▒▓ ✔ │ base Py │ at 10:34:50 ▓▒░
✔ Workspace name (e.g., org name) · xptest
✔ What to create in the new workspace · empty
✔ Use Nx Cloud? (It's free and doesn't require registration.) · No
> NX Nx is creating your workspace.
To make sure the command works reliably in all environments, and that the preset is applied correctly,
Nx will run "npm install" several times. Please wait.
...
> NX SUCCESS Nx has successfully created the workspace.
░▒▓ ~/dev ▓▒░ npm install --save-dev @nstudio/xplat ░▒▓ ✔ │ took 39s │ base Py │ at 10:35:37 ▓▒░
added 252 packages, and audited 253 packages in 16s
nx generate @nstudio/xplat:init --platforms web,ionic
✔ Do you prefer to use a frontend framework? · angular
✔ Please input a 2-3 character prefix to use with xplat generators: · ss
Note to VS Code users: no development mode set. xplat could not find any VS Code settings in the standard location: /var/local/Code/User/settings.json It's possible you don't have a user settings.json yet. If so, open VS Code User settings and save any kind of setting to have it created.
✔ Packages installed successfully.
✔ Packages installed successfully.
Note to VS Code users: no development mode set. xplat could not find any VS Code settings in the standard location: /var/local/Code/User/settings.json It's possible you don't have a user settings.json yet. If so, open VS Code User settings and save any kind of setting to have it created.
⠼ Installing packages (npm)...npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: xptest@0.0.0
npm ERR! Found: jasmine-core@3.6.0
npm ERR! node_modules/jasmine-core
npm ERR! dev jasmine-core@"~3.6.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer jasmine-core@">=3.7.1" from karma-jasmine-html-reporter@1.6.0
npm ERR! node_modules/karma-jasmine-html-reporter
npm ERR! dev karma-jasmine-html-reporter@"^1.5.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/wstidolph/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/wstidolph/.npm/_logs/2021-05-07T17_43_15_789Z-debug.log
✖ Package install failed, see above.
UnsuccessfulWorkflowExecution [Error]: Workflow did not execute successfully.
at ChildProcess.<anonymous> (/home/wstidolph/dev/xptest/node_modules/@angular-devkit/schematics/tasks/package-manager/executor.js:109:31)
at ChildProcess.emit (node:events:329:20)
at maybeClose (node:internal/child_process:1055:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
The generator workflow failed. See above.
Fixed in 12.4.1
Following Getting Started for Ionic app results in cannot find module 'webpack'
nx run ionic-sample:serve
———————————————————————————————————————————————
Failed tasks:
Using Win 10 / WLS 2 / Ubuntu 20.10 / node v15.2.1 / npm 7.6.2