- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
一周前,我使用 nrwl/nx 生成了一个 Angular 项目,当时我可以生成库和组件并可以启动我的项目,但现在我收到以下错误:
spawn ENAMETOOLONG
每当我尝试运行现在运行 nx serve 的 npm run start 时,就会发生此错误。 ng serve 也不起作用。我可以运行 npm install 但无法启动我的应用程序。如果您需要我可以提供的任何其他信息,这是我的 package.json:
{
"name": "moniesta-admin",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"postinstall": "node ./decorate-angular-cli.js && ngcc --properties es2015 browser module main",
"start": "nx serve",
"build": "nx build",
"test": "nx test"
},
"private": true,
"dependencies": {
"@angular/animations": "~13.2.0",
"@angular/cdk": "^13.0.0",
"@angular/common": "~13.2.0",
"@angular/compiler": "~13.2.0",
"@angular/core": "~13.2.0",
"@angular/forms": "~13.2.0",
"@angular/localize": "~13.2.0",
"@angular/material": "^13.2.2",
"@angular/platform-browser": "~13.2.0",
"@angular/platform-browser-dynamic": "~13.2.0",
"@angular/router": "~13.2.0",
"@nebular/auth": "^9.0.1",
"@nebular/eva-icons": "^9.0.1",
"@nebular/theme": "^9.0.1",
"@ng-bootstrap/ng-bootstrap": "^11.0.0",
"@nrwl/angular": "13.8.1",
"bootstrap": "^5.1.3",
"eva-icons": "^1.1.3",
"rxjs": "~7.4.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.2.0",
"@angular-eslint/eslint-plugin": "~13.0.1",
"@angular-eslint/eslint-plugin-template": "~13.0.1",
"@angular-eslint/template-parser": "~13.0.1",
"@angular/cli": "~13.2.0",
"@angular/compiler-cli": "~13.2.0",
"@angular/language-service": "~13.2.0",
"@nrwl/cli": "13.8.1",
"@nrwl/cypress": "13.8.1",
"@nrwl/eslint-plugin-nx": "13.8.1",
"@nrwl/jest": "13.8.1",
"@nrwl/linter": "13.8.1",
"@nrwl/tao": "13.8.1",
"@nrwl/workspace": "13.8.1",
"@schematics/angular": "~13.2.0",
"@types/jest": "27.0.2",
"@types/node": "16.11.7",
"@typescript-eslint/eslint-plugin": "~5.10.0",
"@typescript-eslint/parser": "~5.10.0",
"cypress": "^9.1.0",
"eslint": "~8.7.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-cypress": "^2.10.3",
"jest": "27.2.3",
"jest-preset-angular": "11.0.0",
"prettier": "^2.5.1",
"ts-jest": "27.0.5",
"typescript": "~4.5.2"
}
}
编辑:
Log file with the error: C:\Users\Hasan\OneDrive\Desktop\Moniesta-Projects\Moniesta-Combinatioon\moniesta-management\moniesta-admin\node_modules\.cache\nx\d\daemon-error.log
Please file an issue at https://github.com/nrwl/nx
Nx Daemon is going to be disabled until you run "nx reset".
在守护进程日志中它只是说同样的错误:
NX spawn ENAMETOOLONG
最佳答案
当您有太多未提交的文件(根据我的经验,范围超过 700 个左右)时,通常会出现此错误。提交文件通常会解决问题。
关于javascript - 如何修复 spawn ENAMETOOLONG 错误 nrwl nx 工作区,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71185967/
https://nodejs.org/api/os.html说: ENAMETOOLONG Indicates that the filename is too long. 但是,如果我要提前阻止这种
我正在尝试使用const config = fs.readFileSync(configFilePath,'utf8'); 但它实际上返回了一个错误,如下所述: fs.js:663 return
我正在尝试通过 node 的请求模块获取我的 RSS 数据提要(xml 文件),如下所示: var fs = require('fs') , request = require('request'
我们正在使用 gulp-karma 插件为我们的测试和 PhantomJS 进行 gulp。我们在 Windows 上运行,PhantomJS 是一个 .exe 文件。我们的测试文件已经增长,现在我们
我需要你帮助我从 git 下载这个著名的 Angular JS 项目。 https://github.com/thaiat/famous-flickr 当我运行 gulp 浏览器同步时,我收到此 EN
一周前,我使用 nrwl/nx 生成了一个 Angular 项目,当时我可以生成库和组件并可以启动我的项目,但现在我收到以下错误: spawn ENAMETOOLONG 每当我尝试运行现在运行 nx
我正在尝试从 url 导入 CSV 文件,但我收到 Errno::ENAMETOOLONG: file name too long .我处理文件如下: require 'open-uri' url =
我在 Windows 10 上,我使用 node.js,我使用 node-jq@1.10.0(目前最新版本) 我想用 jq 从 JSON 中检索一些信息。所以我使用带有“json”作为选项参数的 jq
目标:用户上传到 S3,触发 Lambda 获取文件并发送给 Google Vision API 进行分析,返回结果。 根据this , google-cloud 需要 native 库,并且必须针对
在我们的大学项目中,进行了以下调用: sem_t *handle = sem_open("/6770::BitCompressedVector::allocate", 512, 420, 1); 正如
我是一名优秀的程序员,十分优秀!