简体   繁体   English

quill.js找不到模块webpack.config.js

[英]quill.js Cannot find module webpack.config.js

For the local development of quill, cloned the source from quill develop branch and followed the following steps, 对于羽毛笔的本地开发,请从羽毛笔开发分支中克隆源,然后执行以下步骤:

  1. npm install npm安装
  2. gem install foreman jekyll kramdown rouge jekyll-sitemap jekyll-redirect-from jekyll-feed 宝石安装工头jekyll kramdown rouge jekyll-sitemap jekyll-redirect-from jekyll-feed
  3. npm run build npm运行构建

While running npm run build getting error as, npm build failed in, webpack --config _develop/webpack.config.js; 在运行npm时,运行生成错误,因为npm生成失败,webpack --config _develop / webpack.config.js; rm dist/quill.core dist/quill.bubble dist/quill.snow; rm dist / quill.core dist / quill.bubble dist / quill.snow;

Error Cannot find module 'F:\\quill_develop\\webpack.config.js' 错误找不到模块'F:\\ quill_develop \\ webpack.config.js'

I'm following the local development instructions on Ubuntu 16.04 with Quill 1.0.6. 我正在遵循带有Quill 1.0.6的Ubuntu 16.04上的本地开发说明

I'm not getting the above error. 我没有收到上述错误。

Maybe it's npm specific issue on Windows? 也许这是Windows上特定于npm的问题? What version of node.js and npm are you using? 您使用的是哪个版本的node.js和npm?

sudo apt-get install git ruby ruby-dev
sudo gem install foreman jekyll kramdown rouge jekyll-sitemap jekyll-redirect-from jekyll-feed
git clone https://github.com/quilljs/quill
cd quill
npm install
npm run build

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM