Vueify / Browserify在标准configuration下抛出ENOENT
我的问题:
我试图按照以下步骤操作: https : //github.com/vuejs/vueify
但是当我尝试运行这个命令时:
browserify -t vueify -e src/main.js -o build/build.js
我收到此错误消息:
events.js:72 throw er; // Unhandled 'error' event ^ Error: ENOENT, open 'c:\Users\Justin\phonegap-projects\cc\build\build.js'
我的问题:
我怎样才能组织我的项目,使其与VueJS和Vueify一起工作? 或者我应该怎么做才能完成给定链接中的步骤?
笔记:
- 我从我的目录结构中运行这个命令(并且也尝试了node_modules,但是这对我来说并不合适)
- 在我做这个之前,我自己安装了VueJS(还有npm)
我的目录结构:
- hooks (part of Phonegap) - node_modules - platforms (part of Phonegap) - plugins (part of Phonegap) - www (Phonegap directory with the HTML/CSS/JS) - index.html - css - img - js (I guess I need the compiled file here) - res - spec - views - index.html - spec.html - [file] config.xml
只需要提一下,我现在收到的节点模块(以防万一我错过了某些东西):
- babel-plugin-transform-runtime - babel-preset-es2015 - babel-runtime - uniq - vue - vue-hot-reload-api - vueify - vueify-insert-css
在这种情况下, node
可能只是抱怨,没有生成build/
文件夹。 其余的应该没问题。