修复此链接中未找到的私有包的故障后。
我陷入了错误“font Awesome”库未找到。以下是错误消息详细信息:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@fortawesome%2fpro-regular-svg-icons - Not found
npm ERR! 404
npm ERR! 404 '@fortawesome/pro-regular-svg-icons@^5.15.2' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'data-qa-frontend'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, …
Run Code Online (Sandbox Code Playgroud) 当我运行该命令时,node-gyp rebuild
我收到以下错误:
gyp info it worked if it ends with ok
gyp info using node-gyp@7.1.2
gyp info using node@9.6.1 | linux | x64
gyp info find Python using Python version 3.8.5 found at "/usr/bin/python3"
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: ENOENT: no such file or directory, mkdir '/home/rando/.cache/node-gyp/9.6.1'
gyp ERR! System Linux 5.8.0-45-generic
gyp ERR! command "/home/rando/.nvm/versions/node/v9.6.1/bin/node" "/home/rando/.nvm/versions/node/v9.6.1/bin/node-gyp" "rebuild" "--python=/home/rando/.pyenv/versions/2.7.18/bin"
gyp ERR! cwd /home/rando/Desktop/git/master-node/node/browser_engines/src/browsers/webkit
gyp ERR! node …
Run Code Online (Sandbox Code Playgroud) 环境详细信息如下:
我有一个前端项目(react),我需要在其中创建 CI/CD 管道。由于在npm install
.
错误如下:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@org/package-name/-/package-name-0.1.24.tgz
npm ERR! 404
npm ERR! 404 '@org/package-name@^0.1.24' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'project-name'
npm ERR! 404
npm ERR! 404 Note that you can also install from a …
Run Code Online (Sandbox Code Playgroud) 我正在使用 linux Debian 9。我已经安装了 JDK 1.8。我使用的是maven版本3.6,springboot的版本是2.1。mongodb版本是3.6。
下面是我试图保存在 mongodb 中的 java 类的模型:
@org.springframework.data.mongodb.core.mapping.Document(collection = FileContentIndexQueue.ENTITY_COLLECTION_NAME)
@CompoundIndexes({
@CompoundIndex(name = "state_timestamp", def = "{'state' : 1, 'timestamp': -1}")
})
@QuerySupertype
public class FileContentIndexQueue extends AbstractEntityNoLock {
...
private ZonedDateTime timestamp;
public FileContentIndexQueue() {
}
public FileContentIndexQueue(String fileId, String parentId, String childType, String indexName) {
super();
this.fileId = fileId;
this.parentId = parentId;
this.childType = childType;
this.indexName = indexName;
this.state = IndexingState.TODO;
this.timestamp = ZonedDateTime.now();
}
...
public ZonedDateTime getTimestamp() {
return timestamp;
}
public …
Run Code Online (Sandbox Code Playgroud)