Comments (8)
This should be fixed in @nrwl/schematics
0.0.7 (here the commit 0414e04).
If you update @nrwl/schematics
and @nrwl/nx
to 0.0.7, the issue should be resolved.
from nx.
Same for ng g lib a-lib
:
$ ng g lib a-lib
update .angular-cli.json (1485 bytes)
No matching files. Patterns tried: '{apps,libs}/**/*.ts' !**/node_modules/** !./node_modules/**
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] format: `prettier --single-quote --print-width 120 --write '{apps,libs}/**/*.ts'`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] format script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! ~\npm-cache\_logs\2017-10-11T10_50_00_822Z-debug.log
from nx.
But nevertheless, output is written to apps/an-app
and libs/a-lib
.
from nx.
Having similar issues when using ng generate app|etc
in Windows 10 after yarn add @nrwl/schematics
. My errors involved 'xargs' not being recognized. As mentioned, the expected files were written.
from nx.
Could you provide a repro?
from nx.
Hi Viktor @vsavkin,
here is the repository: https://github.com/dherges/nx-sandbox
It has been set up with the sandbox script (see above) on a Windows 7 64bit machine.
from nx.
Just posted an issue that a deeper look might be related: #960
My nx schematics are version 7.1.1
from nx.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
from nx.
Related Issues (20)
- `expo-build-properties` doesn't set up Gradle properties and iOS doesn't build the app
- #21428 removed `devDependencies` from package.json HOT 1
- Vite Config TypeError on `defineConfig` regarding `cacheDir` with test config
- Shared buildable library code is included in each remote app bundle HOT 1
- `affected` command documentation references a removed command
- One package in my workspace doesn't have the usual implicit dependency on the `default` named input
- Lint check is broken after using @nx/eslint:convert-to-flat-config HOT 1
- `nx release`: internal `getLatestGitTagForPattern` behaviour breaking change / not aligned with `currentVersionResolver` config
- nx-cloud complete-ci-run doesn't close agents
- NX release is not correctly bumping dependant projects when using conventional commits HOT 1
- Function runTaskInForkedProcess hides error from user
- Linting fails with spurious TypeScript type-checker error after upgrade to Nx 19.1.0 ... 19.3.1
- lint task not being inferred by Nx 19.3 HOT 3
- dev server keeps running after e2e is finished HOT 1
- @nx/esbuild:esbuild asset copy ignores input files if they are ignored by the root .gitignore file
- NX Console V18.22.0 removed Generate & Run Target HOT 3
- GeneratePackgageJson missing package HOT 2
- npx create-nx-workspace@latest (v19.3.0) fails for a vue monorepo HOT 2
- Expo produces sdk 50 which is outdated
- Overriding executor in nx.json works differently from overriding other fields
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 nx.