PavelVanecek / gulp-crx

Pack Chrome Extension in the pipeline.
31 stars 3 forks source link

Error: Cannot find module #11

Closed ihor-gevorkyan closed 7 years ago

ihor-gevorkyan commented 7 years ago

http://joxi.ru/eAOYo8wH4LZ40m

Also the variable of manifest was added at the top of gulpfile. const fs = require("fs"); let manifest = require('./dist/manifest.json'); The next task, after 'crx-pack', 'package' uses this variable also but works fine

PavelVanecek commented 7 years ago

Hi Igor, can you please provide some project or snippet to reproduce this? I will try to find the cause but it works fine on my machine.

ihor-gevorkyan commented 7 years ago

Hi, Pavel. Yes, you can see the test project here. Please, let me know when you`ll fix the problem. Thx

PavelVanecek commented 7 years ago

Your gulpfile was misconfigured - the package expects folder, you gave it file list.

ihor-gevorkyan commented 7 years ago

Thx, Pavel. Sorry to trouble you