小编Hen*_*adi的帖子

Heroku 部署资产预编译在 Rails 6 上失败

我需要帮助。当尝试将我的应用程序上传到heroku时,我收到此错误,有人知道为什么吗?

\n

此链接上的完整错误https://pastebin.com/GZCziNpM

\n
remote:          821 |       (node::addon_register_func) (regfunc),                          \\\nremote:              |                                           ^\nremote:        /app/.node-gyp/16.13.1/include/node/node.h:855:3: note: in expansion of macro \xe2\x80\x98NODE_MODULE_X\xe2\x80\x99\nremote:          855 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)\nremote:              |   ^~~~~~~~~~~~~\nremote:        ../src/binding.cpp:358:1: note: in expansion of macro \xe2\x80\x98NODE_MODULE\xe2\x80\x99\nremote:          358 | NODE_MODULE(binding, RegisterModule);\nremote:              | ^~~~~~~~~~~\nremote:        make: *** [binding.target.mk:133: Release/obj.target/binding/src/binding.o] Error 1\nremote:        make: Leaving directory \'/tmp/build_6edbe6b2/node_modules/node-sass/build\'\nremote:        gyp ERR! build error \nremote:        gyp ERR! stack Error: `make` failed with exit code: 2\nremote:        gyp ERR! stack     at ChildProcess.onExit (/tmp/build_6edbe6b2/node_modules/node-gyp/lib/build.js:262:23)\nremote:        gyp ERR! stack     at ChildProcess.emit …
Run Code Online (Sandbox Code Playgroud)

ruby ruby-on-rails heroku

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

标签 统计

heroku ×1

ruby ×1

ruby-on-rails ×1