[英]Getting proxy error when using “gulp serve” when API returns 204 with no content
[英]Getting error when running gulp serve
所以,我正在努力建立一個我正在使用gulp的開發環境。
但是,安裝所有依賴項后,我收到此錯誤:
Hariss-MacBook-Pro:teacher haris$ gulp serve
[19:00:28] Using gulpfile ~/teacher/gulpfile.js
[19:00:28] Starting 'statics'...
[19:00:28] Finished 'statics' after 1.92 ms
[19:00:28] Starting 'jshint'...
[19:00:28] Starting 'clean-css'...
[19:00:28] Starting 'templates'...
[19:00:28] Server started on 3000 port
[19:00:28] Finished 'clean-css' after 12 ms
[19:00:28] Starting 'styles'...
[19:00:28] Finished 'templates' after 35 ms
[19:00:28] Finished 'jshint' after 336 ms
Assertion failed: (val->IsString()), function _NanGetExternalParts, file ../node_modules/nan/nan.h, line 1725.
Abort trap: 6
Hariss-MacBook-Pro:teacher haris$
我首先雖然這是特定的窗口的某種問題,所以我在我的Mac上嘗試了它,但發生了同樣的錯誤。
有誰知道這是什么,或者可以給我們暗示接下來做什么?
問候
當前版本的gulp-sass
有這個問題 。 如果您正在使用它,請降級到0.7.1版。 如果您有package.json
文件,請指定版本號:
"gulp-sass": "0.7.1"
然后運行npm install
。 如果你剛剛使用了沒有package.json
npm install
,那么執行以下命令:
npm install gulp-sass@0.7.1
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.