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

gulp failed, missing some dependency modules #30

Closed
momoko8443 opened this issue May 8, 2018 · 2 comments
Closed

gulp failed, missing some dependency modules #30

momoko8443 opened this issue May 8, 2018 · 2 comments

Comments

@momoko8443
Copy link

Hi guys,
Finished 'npm install' then execute 'gulp', some exceptions throw as below
[20:59:53] Using gulpfile ~/Workspace/blockchain_area/neb.js/gulpfile.js
[20:59:53] Starting 'documentation'...
[20:59:53] FATAL: Unable to load template: Cannot find module 'moment'

[20:59:53] JSDoc returned with error code: 1
[20:59:53] 'documentation' errored after 715 ms

[21:02:41] FATAL: Unable to load template: Cannot find module 'sanitize-html'

[21:02:41] JSDoc returned with error code: 1
[21:02:41] 'documentation' errored after 1.09 s

After running 'npm install moment sanitize-html --save-dev' it works, I think you should append these two dependencies to the package.json

@bibibong
Copy link
Contributor

@momoko8443 Hey bro! Both of the two are transitive dependencies, you can see them in package-lock.json. Maybe it's a bug in NPM, try to upgrade it!

@ChengOrangeJu
Copy link
Contributor

Issues closed. If anyone else find similar issue, feel free to leave a comment and we'll reopen it. Thanks

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

3 participants