Node.js npm在安装Sass期间收到警告

Node.js npm在安装Sass期间收到警告,node.js,npm,sass,Node.js,Npm,Sass,使用npm后,在cmd中安装sass 然后显示这些错误 npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\me\package.json' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING

使用
npm后,在cmd中安装sass
然后显示这些错误

npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\me\package.json'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\me\package.json'
npm WARN me No description
npm WARN me No repository field.
npm WARN me No README data
npm WARN me No license field.
+ sass@1.32.8
added 15 packages from 18 contributors and audited 16 packages in 3.402s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities

我不知道如何解决这些错误

这些只是关于您正在安装的软件包的npm警告,在您的情况下,您不必担心它们,除非有什么不起作用。如果愿意,可以通过运行以下命令忽略它们:

npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\me\package.json'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\me\package.json'
npm WARN me No description
npm WARN me No repository field.
npm WARN me No README data
npm WARN me No license field.
+ sass@1.32.8
added 15 packages from 18 contributors and audited 16 packages in 3.402s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm install sass --silent

谢谢。但当出现这些警告时,会阻止将sass实时编译为css(我使用
--watch
)。