赞
踩
在NativeScript上下载了未修改的Angular示例,将其解压缩,然后在app目录中运行:
tns preview
我得到以下输出和错误:
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm ERR! code E404 npm ERR! 404 Not Found - GET https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129 npm ERR! 404 npm ERR! 404 'pubnub@https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129' 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 'kinvey-nativescript-sdk' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\matth\AppData\Roaming\npm-cache\_logs\2020-08-08T17_04_58_821Z-debug.log Command npm.cmd failed with exit code 1
到目前为止,我找到了一种方法!
尝试在package.json(“kinvey-nativescript-sdk”: “5.0.0”)中将kinvey-nativescript-sdk的版本更改为5.0.0。
到目前为止看起来还不错,暂时还没有偶然发现任何其他问题。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。