小编Gab*_*ada的帖子

bcrypt 导致 node_modules 崩溃

我目前正在使用打字稿构建一个反应本机应用程序,运行后 npm i bcrypt node_modules崩溃并显示以下错误:

ERROR in ./node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html 1:0 Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders <!doctype html> | <html> | <head>

我尝试将bcrypt其删除并重新安装,但仍然遇到该问题。我还尝试bcrypt从 中删除package.json,删除node_modules然后重新安装节点,并且有效,但是当安装bcrypt回来时,它给出了相同的错误。

任何想法?

bcrypt node.js typescript reactjs

5
推荐指数
1
解决办法
3992
查看次数

无法从 Google 用户个人资料获取图像

在我的 React Web 应用程序中,有时它不会从用户配置文件加载图像。我正在使用 React。\n它通常可以工作,但有时却不能。

\n

这是浏览器显示的错误:

\n
Failed to load resource: the server responded with a status of 403 ()\n
Run Code Online (Sandbox Code Playgroud)\n

在此输入图像描述

\n

这是我的代码:

\n

\r\n
\r\n
Failed to load resource: the server responded with a status of 403 ()\n
Run Code Online (Sandbox Code Playgroud)\r\n
\r\n
\r\n

\n

typescript reactjs

1
推荐指数
1
解决办法
1110
查看次数

标签 统计

reactjs ×2

typescript ×2

bcrypt ×1

node.js ×1