我正在尝试在我的 debian 10 vps 中运行此命令forever start npm start,但我在终端中收到此错误,
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: npm
(node:23858) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:23858) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
error: Cannot start forever
error: …Run Code Online (Sandbox Code Playgroud) 我正在开发一个 android 应用程序,我想检测我的互联网连接何时可用,而不是使用这个 ionic 插件,cordova-plugin-network-information但是当我ionic cordova plugin add cordova-plugin-network-information在命令提示符中运行这个命令时,我收到了这个错误
Unexpected token in JSON at position 0
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd plugin add cordova-plugin-network-information exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
Run Code Online (Sandbox Code Playgroud)
即使我添加了--verbose它,我仍然遇到同样的错误,我使用的是 Windows 10,请问我该如何解决这个问题
我正在构建一个带有 a=ionic 的移动应用程序,我希望能够从上传的视频中播放 blob 文件,但我在控制台中得到了这个
unsafe:blob:http://localhost:8100/3d42df5b-d852-4cac-83d8-af0c6d514b04 net::ERR_UNKNOWN_URL_SCHEME
Run Code Online (Sandbox Code Playgroud)
这是我的代码
<input type="file"accept="video/*" #fileInput name="proPics" (change)="onSelectedFile($event)">
preview(files) {
var URL = window.URL || window.webkitURL;
this.vidURL = URL.createObjectURL(files)
}
onSelectedFile(event){
this.selectedFile = <File>event.target.files[0]
this.preview(this.selectedFile)
}
Run Code Online (Sandbox Code Playgroud)
当我尝试上传视频文件时,我在控制台中得到了该文件,我需要您的帮助,我做错了什么