New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CH10 美食分享範例Code無法順利執行( bcrypt 0.8.7 在win10上的問題 ) #37
Comments
@Crygar 您好,謝謝您的肯定,請問您的問題解決了嗎? |
@kdchang 您好,很抱歉這麼晚才回應。 我後來額外在系統上裝了MongoDB 3.2.10後,cmd -> mongod後可以監聽localhost:3000了,但DB無法連到localhost(shut down後mongod.lock有清空),所以預設的資料跟帳號密碼都沒有寫進去,只看得到view。 P.S bcrypt 0.8.7的問題我改用install bcryptjs解決。 |
謝謝你的幫助! 我也是使用bcryptjs才跳過windows編譯的錯誤 |
@chienfuchen32 很高興自己的經驗能對別人有所幫助 :) |
@Crygar 你好 我目前是使用Mongoose官方範例 於MongoDB建製作者的user collection才看的到完整的網站功能 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好,首先感謝您編輯了這麼一本好書,著實獲益良多。以下是我的問題:
我在執行ch10美食分享範例時,由於win10環境下執行npm install指令會有其中一項bcrypt 0.8.7無法安裝,即使照著nodejs/node-gyp的操作,依然無法解決問題。
由於一直無法解決bcrypt 0.8.7安裝問題索性尋找bcryptjs作為替代方案,在package.json刪除bcrypt 0.8.7並手動npm install bcryptjs後直接npm start,一樣沒解決問題,顯示訊息與bcrypt 0.8.7沒安裝完成時執行npm start的情況一模一樣。
請問我是不是漏了什麼步驟,亦或是我沒有找到對的解決方法,以至於導致範例code無法順利運行的情況呢?
The text was updated successfully, but these errors were encountered: