-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
npm run package: Cannot find module ../dist #411
Comments
What is inside of |
It's not any of my code. Looks like it's part of electron-react-boilerplate. ✗ ag '../dist'
app/app.html
11: link.href = '../dist/style.css';
22: script.src = (process.env.HOT) ? `http://localhost:${port}/dist/bundle.js` : '../dist/bundle.js';
README.md
93:<link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.css" />
94:<link rel="image/svg+xml" href="../node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.eot" />
webpack.config.development.js
20: publicPath: `http://localhost:${port}/dist/`
webpack.config.production.js
15: publicPath: '../dist/' |
|
Did the solutions end up helping? |
Yes it did! Thank you! |
Great! Which solution helped you? This repo has a lot of installation failures so it any kind of feedback is really helpful. Thanks! |
Clearing the cache did the trick. Maybe package also those commands into a "fixit" script? |
That would be a bit difficult. There are different solutions for each OS. Most of the installation issues are OS specific. |
Awesome @amilajack, I can confirm this worked for me as well. Thanks! |
I'm trying to package a new electron app I'm building and I'm getting the following error:
macOS Sierra
node: 3.10.7
npm: v6.6.0
npm-debug.log.txt
The text was updated successfully, but these errors were encountered: