Closed regan-sarwas closed 7 years ago
after npm install, grunt fails:
npm install
grunt
$ grunt Running "jshint:nls-en" (jshint) task >> 6 files lint free. Running "jshint:nls-all" (jshint) task >> 124 files lint free. Running "clean:deploy" (clean) task Running "clean:jsapioptim" (clean) task Running "clean:fontello" (clean) task Running "mkdir:all" (mkdir) task Creating "deploy/app"...OK Running "requirejs:builder" (requirejs) task >> Error: ENOENT: no such file or directory, open >> '/Users/regan/wwwroot/StoryMaps/shortlist-storytelling-template-js/src/lib-ap >> p//medium-editor/dist/js/medium-editor.js' >> In module tree: >> storymaps/tpl/BuildConfigBuilder >> storymaps/tpl/builder/BuilderView >> storymaps/tpl/builder/DetailPanelBuilder >> storymaps/tpl/builder/textEditor/MediumEditorWrapper Warning: RequireJS failed. Use --force to continue. Aborted due to warnings.
File src/app/storymaps/tpl/builder/textEditor/MediumEditorWrapper.js requires src/lib-app//medium-editor/dist/js/medium-editor.js which is not provided. Folder src/lib-app//medium-editor has only a version.txt file
src/lib-app//medium-editor/dist/js/medium-editor.js
version.txt
I was able to download and install the medium-editor, but it should be included in the repo.
If medium-editor/dist is in your local files, it is not part of the git repo because dist/ is in the python section of your .gitignore file.
medium-editor/dist
dist/
after
npm install
,grunt
fails:File src/app/storymaps/tpl/builder/textEditor/MediumEditorWrapper.js requires
src/lib-app//medium-editor/dist/js/medium-editor.js
which is not provided. Folder src/lib-app//medium-editor has only aversion.txt
fileI was able to download and install the medium-editor, but it should be included in the repo.
If
medium-editor/dist
is in your local files, it is not part of the git repo becausedist/
is in the python section of your .gitignore file.