kitajchuk / hobo

A very small, modular DOM utility for modern web apps.
MIT License
13 stars 2 forks source link

Error: Cannot resolve module `dist/hobo.build.js` during build. #7

Closed ghost closed 8 years ago

ghost commented 8 years ago

Getting a build error ever since upgrading to the latest version.

npm run build

> properjs-hobo@0.3.10 build /Users/j/Dropbox/projects/dev/personal/squarefront/node_modules/properjs-hobo
> node build.js

> [Hobo] Specify modules to custom build or just use hobo core.

> properjs-hobo@0.3.10 postbuild /Users/j/Dropbox/projects/dev/personal/squarefront/node_modules/properjs-hobo
> webpack dist/hobo.build.js dist/hobo.build.dist.js && ./node_modules/.bin/webpack hobo.js dist/hobo.dist.js && npm run min && npm run doc

Hash: 8f371a4d9917b1a128b6
Version: webpack 1.13.0
Time: 25ms

ERROR in Entry module not found: Error: Cannot resolve module 'dist/hobo.build.js' in /Users/j/Dropbox/projects/dev/personal/squarefront/node_modules/properjs-hobo
Hash: 24e8184aa5a87e571c83
Version: webpack 1.13.0
Time: 127ms
       Asset     Size  Chunks             Chunk Names
hobo.dist.js  26.8 kB       0  [emitted]  main
    + 11 hidden modules

> properjs-hobo@0.3.10 min /Users/j/Dropbox/projects/dev/personal/squarefront/node_modules/properjs-hobo
> uglifyjs dist/hobo.build.dist.js -c -m -o dist/hobo.build.dist.min.js && uglifyjs dist/hobo.dist.js -c -m -o dist/hobo.dist.min.js

ERROR: can't read file: dist/hobo.build.dist.js
ghost commented 8 years ago

I redownloaded it and everything works fine now!

ksummersill commented 8 years ago

What did you do to re download the dist/hobo.build.js?