symfony webpack-encore 无法在 win7x64 中编译

symfony webpack-encore not compile in win7x64

"C:\Program Files (x86)\Yarn\bin\yarn.cmd" add sass-loader node-sass --dev yarn add v1.3.2 [1/4] Resolving packages... [2/4] Fetching packages... error fsevents@1.1.3: The platform "win32" is incompatible with this module. info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. error Found incompatible module Process finished with exit code 1 at 15:24:10. Execution time: 22 799 ms.

.......

这个错误的原因是什么?

问题出在 node_modules 目录中,这是解决方案:https://github.com/yarnpkg/yarn/issues/626

感谢您的帮助!

这个问题解决了,我先在我的项目中安装'webpack'。