Skip to content
New issue

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

Build errors (Cannot find module '/out/src/browser.js' ) #18

Open
senpl opened this issue Nov 29, 2018 · 2 comments
Open

Build errors (Cannot find module '/out/src/browser.js' ) #18

senpl opened this issue Nov 29, 2018 · 2 comments

Comments

@senpl
Copy link

senpl commented Nov 29, 2018

steps to reproduce
clone repo
yarn install
I get that error(build docs would also be nice):
cp -r src/static/ out/src/static
./node_modules/.bin/coffee ./scripts/compileLessCss.coffee
./node_modules/.bin/browserify ./out/src/browser.js > ./out/src/browser.all.js
Error: Cannot find module '/home/m/chrome-vs-code/out/src/browser.js' from '/home/m/chrome-vs-code'
at /home/m/chrome-vs-code/node_modules/browser-resolve/node_modules/resolve/lib/async.js:55:21
at load (/home/m/chrome-vs-code/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
at onex (/home/m/chrome-vs-code/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
at /home/m/chrome-vs-code/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:166:21)
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 1

@FabianLauer
Copy link
Owner

FabianLauer commented Nov 29, 2018

OK, no idea if yarn will work here (it should, I know, I know). You could try npm install instead, maybe that'll do.

If you find a way around this please share. Feel free to open a PR, too.

@senpl
Copy link
Author

senpl commented Nov 29, 2018

npm install not worked for me too, but with less clear error output. This is why I like simple instruction how it is build, at least on creator machine (because other could know when they do something not as expected).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants