我想按照從Github安裝響應CMS的安裝說明。迴應6安裝錯誤與angular2-jwt.js
我正在使用gulp將文件複製到公用文件夾。
https://respondcms.com/documentation/installation-from-github,它是在步驟2中
第三個命令這是我打字gulp
到我的終端後,越來越短的誤差。我目前從diamond/app文件夾調用這個命令。 (鑽石是我的迴應別名)
Error: File not found with singular glob: /home/userMasked/public_html/diamond/app/node_modules/angular2-jwt/angular2-jwt.js
在努力提供更多的細節下面我從我輸入命令的地方,我停止點提供的所有終端的數據。
[email protected] [~/public_html/diamond/app]# gulp
[17:56:08] Using gulpfile ~/public_html/diamond/app/gulpfile.js
[17:56:08] Starting 'default'...
[17:56:08] Starting 'copy-libs'...
[17:56:12] Finished 'copy-libs' after 3.9 s
[17:56:12] Starting 'copy-folders'...
[17:56:12] Finished 'copy-folders' after 17 ms
[17:56:12] Starting 'copy-files'...
[17:56:12] 'copy-files' errored after 2.33 ms
[17:56:12] Error: File not found with singular glob: /home/userMasked/public_html/diamond/app/node_modules/angular2-jwt/angular2-jwt.js
at Glob.<anonymous> (/home/userMasked/public_html/diamond/app/node_modules/glob-stream/index.js:41:11)
at Glob.g (events.js:291:16)
at emitOne (events.js:96:13)
at Glob.emit (events.js:188:7)
at Glob._finish (/home/userMasked/public_html/diamond/app/node_modules/glob/glob.js:172:8)
at done (/home/userMasked/public_html/diamond/app/node_modules/glob/glob.js:159:12)
at Glob._processSimple2 (/home/userMasked/public_html/diamond/app/node_modules/glob/glob.js:652:12)
at /home/userMasked/public_html/diamond/app/node_modules/glob/glob.js:640:10
at Glob._stat2 (/home/userMasked/public_html/diamond/app/node_modules/glob/glob.js:736:12)
at lstatcb_ (/home/userMasked/public_html/diamond/app/node_modules/glob/glob.js:728:12)
at RES (/home/userMasked/public_html/diamond/app/node_modules/inflight/inflight.js:23:14)
at f (/home/userMasked/public_html/diamond/app/node_modules/once/once.js:25:25)
at FSReqWrap.oncomplete (fs.js:123:15)
[17:56:12] 'default' errored after 3.93 s
[email protected] [~/public_html/diamond/app]#
UPDATE
經過進一步檢驗,似乎angular2-jwt/angular2-jwt.js
甚至沒有加載node_modules
文件夾內。所以我的問題是,響應CMS是否需要該模塊,或者是我可以忽略的東西,只需更改gulpfile.js
文件以不包含它?
如果它仍然是需要的東西,我該如何去把它添加到node_modules文件夾?