
adan_geno Hi every body,
check out this new platform wirtten in Angluar 9
Hey, can someone help me? I'm getting this error when installing angular-devkit, and I don't know what is wrong or where should I ask for help.
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-8.3.19.tgz
Hey, can someone help me? I'm getting this error when installing angular-devkit, and I don't know what is wrong or where should I ask for help.
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-8.3.19.tgz
Now I know that it's a problem with NPM
https://status.npmjs.org/
Hi, I'm getting this error
npx ng b --prod
10% building 0/1 modules 1 active multi /home/sylveryte/projects/codedfruit/10% building 1/2 modules 1 active multi /home/sylveryte/projects/codedfruit/10% building 2/3 modules 1 active multi 92% chunk asset optimization LicenseWebpackPluginAn unhandled exception occurred: EISDIR: illegal operation on a directory, read
See "/tmp/ng-EN5sl3/angular-errors.log" for further details.my angular cli is
❯ npx ng --version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 10.0.7
Node: 14.8.0
OS: linux x64
Angular: 10.0.12
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.1000.7
@angular-devkit/build-angular 0.1000.7
@angular-devkit/build-optimizer 0.1000.7
@angular-devkit/build-webpack 0.1000.7
@angular-devkit/core 10.0.7
@angular-devkit/schematics 10.0.7
@angular/cli 10.0.7
@ngtools/webpack 10.0.7
@schematics/angular 10.0.7
@schematics/update 0.1000.7
rxjs 6.5.5
typescript 3.9.7
webpack 4.43.0
scripts.e0fd47ba0735e8cd30f4.js:2,17286
button from PrimeNG and have imported it using import {ButtonModule} from 'primeng/button';, should the angular build be compiling everything even if its not used?
npm install
rm -rf node_modules
Remove-Item : A parameter cannot be found that matches parameter name 'rf'.
At line:1 char:4
+ rm -rf node_modules
+ ~~~
+ CategoryInfo : InvalidArgument: (:) [Remove-Item], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
rmdir /Q /S command in the cmd too.
rm -r node_modules I get an error related to the file. rm : Cannot remove item D:\software development\web dev\raf-website\node_modules\.xml2js\package.json: The file or
directory is corrupted and unreadable.
At line:1 char:1
+ rm -r node_modules
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (package.json:FileInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : RemoveFileSystemItemIOError,Microsoft.PowerShell.Commands.RemoveItemCommand
rm : Directory D:\software development\web dev\raf-website\node_modules\.xml2js cannot be removed because it is not
empty.
At line:1 char:1
+ rm -r node_modules
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (.xml2js:DirectoryInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
We're currently catching up on Angular versions. Having started at 5, I'm stuck going from 7 to 8.
I'm getting this error on lots of scss files: "ValidationError: Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema. options has an unknown property 'includePaths'."
Initially I had an stylePreprocessorOptions.includePaths in my angular.json, but removing it made no difference. I cannot find includePaths in any other file.
We are using storybook so we still have "node-sass": "^4.14.1" in the package.json, as storybook uses sass-loader which requires a peer of node-sass@^4.0.0
Updating was done by ng update @angular/cli@8 @angular/core@8 --force
I've tried some of the desperation options, such as deleting node_modules. I also wondered if there had been a problem updating angular.json, but ng update @angular/cli --from=7 --to=8 --migrateOnly=true did nothing. The angular.json file is uses "builder": "@angular-builders/custom-webpack:browser", due to tailwind.
Other ideas would be appreciated as Google has been of no assistance and I can't tell from the error messages what is even triggering the sass loader (@ multi ./src/main.ts?) so it's difficult to figure out what might be feeding sass-loader the invalid config.
I am having some trouble trying to go from angular-cli 10.0.3 => 10.1.0
From what I can tell it is trying to run the migration on my tsconfig.json which was already run and it cant find it
[error] Error: Could not read 'tsconfig.json'.
at new JSONFile (<repo>/node_modules/@schematics/angular/utility/json-file.js:22:19)
Has anyone else seen this?