We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
仅新建项目,运行npm run dev:wechat
就会有
ERROR in ./node_modules/@megalo/vhtml-plugin/index.js Module not found: Error: Can't resolve 'octoParse' in '/home/lujian/wechatproj/genchain.wechat.todo/node_modules/@megalo/vhtml-plugin' @ ./node_modules/@megalo/vhtml-plugin/index.js 3:16-36 @ ./src/app.js
错误提示。
The text was updated successfully, but these errors were encountered:
这种问题在任何项目都是很常见的。 凡是遇到 Module not found: Error: Can't resolve 'xxx' in xxx 的问题,请先自行排查 npm 或 yarn 各个依赖项的安装是否成功。
可以通过 npm install --force 或者 yarn --force 执行重新安装试试能否成功。 或者删除 yarn.lock 或 package-lock.json 文件后执行重新安装。 通常能解决大部分的问题。
Sorry, something went wrong.
手动定位到出错的文件里: ./node_modules/@megalo/vhtml-plugin/index.js 将 const octoParse = require('octoParse').default 修改成 const octoParse = require('octoparse').default 就可以解决了。
./node_modules/@megalo/vhtml-plugin/index.js
const octoParse = require('octoParse').default
const octoParse = require('octoparse').default
请更新一下插件,最新发布修复了这些问题
@megalo/vhtml-plugin@0.1.1
octoparse@0.2.1
No branches or pull requests
仅新建项目,运行npm run dev:wechat
就会有
ERROR in ./node_modules/@megalo/vhtml-plugin/index.js
Module not found: Error: Can't resolve 'octoParse' in '/home/lujian/wechatproj/genchain.wechat.todo/node_modules/@megalo/vhtml-plugin'
@ ./node_modules/@megalo/vhtml-plugin/index.js 3:16-36
@ ./src/app.js
错误提示。
The text was updated successfully, but these errors were encountered: