Skip to content
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

Got error while running npm start #1

Closed
xcatliu opened this issue Apr 20, 2016 · 1 comment
Closed

Got error while running npm start #1

xcatliu opened this issue Apr 20, 2016 · 1 comment

Comments

@xcatliu
Copy link
Owner

xcatliu commented Apr 20, 2016

ERROR Process failed: layout/_scripts/bootstrap/.gitkeep
TypeError: Cannot read property 'compile' of undefined
    at View._precompile (/media/sf_Share/blog/node_modules/hexo/lib/theme/view.js:104:22)
    at View (/media/sf_Share/blog/node_modules/hexo/lib/theme/view.js:13:8)
    at new Theme._View.View (/media/sf_Share/blog/node_modules/hexo/lib/theme/index.js:37
:10)
    at Theme.setView (/media/sf_Share/blog/node_modules/hexo/lib/theme/index.js:71:20)
    at /media/sf_Share/blog/node_modules/hexo/lib/theme/processors/view.js:14:14
    at tryCatcher (/media/sf_Share/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/media/sf_Share/blog/node_modules/bluebird/js/r
elease/promise.js:502:31)
    at Promise._settlePromise (/media/sf_Share/blog/node_modules/bluebird/js/release/prom
ise.js:559:18)
    at Promise._settlePromise0 (/media/sf_Share/blog/node_modules/bluebird/js/release/pro
mise.js:604:10)
    at Promise._settlePromises (/media/sf_Share/blog/node_modules/bluebird/js/release/pro
mise.js:683:18)
    at Promise._fulfill (/media/sf_Share/blog/node_modules/bluebird/js/release/promise.js
:628:18)
    at Promise._resolveCallback (/media/sf_Share/blog/node_modules/bluebird/js/release/pr
omise.js:423:57)
    at Promise._settlePromiseFromHandler (/media/sf_Share/blog/node_modules/bluebird/js/r
elease/promise.js:514:17)
    at Promise._settlePromise (/media/sf_Share/blog/node_modules/bluebird/js/release/prom
ise.js:559:18)
    at Promise._settlePromise0 (/media/sf_Share/blog/node_modules/bluebird/js/release/pro
mise.js:604:10)
    at Promise._settlePromises (/media/sf_Share/blog/node_modules/bluebird/js/release/pro
mise.js:683:18)
    at Promise._fulfill (/media/sf_Share/blog/node_modules/bluebird/js/release/promise.js
:628:18)
    at /media/sf_Share/blog/node_modules/bluebird/js/release/nodeback.js:42:21
    at /media/sf_Share/blog/node_modules/graceful-fs/graceful-fs.js:78:16
    at tryToString (fs.js:414:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)
@xcatliu xcatliu closed this as completed Sep 25, 2017
@xcatliu
Copy link
Owner Author

xcatliu commented Sep 25, 2017

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant