Comments (5)
I have markupped logs to read.
Did npm install
finished correctly? This error indicates npm run build
also fails. It's executed in npm install
.
Please tell me your environment:
- OS
- Node.js and npm version
from desktop.
I'm running blacklab linux guest on a win 7 host.
I had previously built mattermost-electron v1.01 with no problems or warnings.
- Version info
npm -v
3.3.12
node -v
v5.4.0
uname -r
3.19.0-43-generic - Npm install gave similiar warnings as my original post:
edward@edward-VirtualBox:~/electron-mattermost$ npm install
npm WARN install Couldn't install optional dependency: Unsupported
[email protected] install /home/edward/electron-mattermost
cd src && npm install
npm WARN EPACKAGEJSON [email protected] No repository field.
[email protected] postinstall /home/edward/electron-mattermost
npm run build[email protected] build /home/edward/electron-mattermost
gulp build
[10:51:12] Using gulpfile ~/electron-mattermost/gulpfile.js
[10:51:12] Starting 'sync-meta'...
[10:51:12] Finished 'sync-meta' after 8.29 ms
[10:51:12] Starting 'webpack:main'...
[10:51:13] Starting 'webpack:browser'...
[10:51:13] Starting 'webpack:webview'...
[10:51:13] Starting 'copy:resources'...
[10:51:13] Starting 'copy:html/css'...
[10:51:13] Starting 'copy:modules'...
[10:51:13] Version: webpack 1.12.13
Asset Size Chunks Chunk Names
mattermost.js 6.93 kB 0 [emitted] mattermost
[10:51:14] Finished 'copy:resources' after 1.38 s
[10:51:14] Finished 'webpack:webview' after 1.55 s
[10:51:14] Finished 'copy:html/css' after 1.59 s
[10:51:17] Version: webpack 1.12.13
Asset Size Chunks Chunk Names
main.js 757 kB 0 [emitted] main
WARNING in ./src/main.js
Critical dependencies:
117:21-46 the request of a dependency is an expression
@ ./src/main.js 117:21-46
WARNING in ./src ^./.$
Module not found: Error: a dependency to an entry point is not allowed
@ ./src ^./.$
WARNING in ./src ^./.$
Module not found: Error: a dependency to an entry point is not allowed
@ ./src ^./.$
WARNING in ./src//yargs/lib/parser.js/yargs/lib/parser.js 359:21-48
Critical dependencies:
359:21-48 the request of a dependency is an expression
@ ./src/
WARNING in ./src/browser/css/jp_fonts.css
Module parse failed: /home/edward/electron-mattermost/src/browser/css/jp_fonts.css Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
| @font-face {
| font-family: sans-serif;
| src: local('Meiryo UI');
@ ./src ^./.*$
WARNING in ./src/browser/index.html
Module parse failed: /home/edward/electron-mattermost/src/browser/index.html Line 1: Unexpected token <
You may need an appropriate loader to handle this file type.
|
|
|
@ ./src ^./.*$
WARNING in ./src/browser/index.jsx
Module parse failed: /home/edward/electron-mattermost/src/browser/index.jsx Line 131: Unexpected token <
You may need an appropriate loader to handle this file type.
| if (this.props.teams.length > 1) {
| tabs_row = (
|
| <TabBar id="tabBar" teams={ this.props.teams } unreadCounts={ this.state.unreadCounts } mentionCounts={ this.state.mentionCounts } unreadAtActive={ this.state.unreadAtActive } mentionAtActiveCounts={ this.state.mentionAtActiveCounts }
| activeKey={ this.state.key } onSelect={ this.handleSelect }>
@ ./src ^./.*$
WARNING in ./src/browser/settings.html
Module parse failed: /home/edward/electron-mattermost/src/browser/settings.html Line 1: Unexpected token <
You may need an appropriate loader to handle this file type.
|
|
|
@ ./src ^./.*$
WARNING in ./src/browser/settings.jsx
Module parse failed: /home/edward/electron-mattermost/src/browser/settings.jsx Line 65: Unexpected token <
You may need an appropriate loader to handle this file type.
| render: function() {
| var teams_row = (
|
| <Col md={ 12 }>
|
Teams
@ ./src ^./.*$
WARNING in ./src/resources/appicon.png
Module parse failed: /home/edward/electron-mattermost/src/resources/appicon.png Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./src ^./.*$
WARNING in ./src/resources/tray.png
Module parse failed: /home/edward/electron-mattermost/src/resources/tray.png Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./src ^./.*$
WARNING in ./src//ws/lib/Validation.js/ws/lib/Validation.js 10:19-44
Module not found: Error: Cannot resolve module 'utf-8-validate' in /home/edward/electron-mattermost/src/node_modules/ws/lib
@ ./src/
WARNING in ./src//ws/lib/BufferUtil.js/ws/lib/BufferUtil.js 10:19-40
Module not found: Error: Cannot resolve module 'bufferutil' in /home/edward/electron-mattermost/src/node_modules/ws/lib
@ ./src/
WARNING in ./src//spawn-sync/lib/spawn-sync.js/spawn-sync/lib/spawn-sync.js 10:10-37
Module not found: Error: Cannot resolve module 'try-thread-sleep' in /home/edward/electron-mattermost/src/node_modules/spawn-sync/lib
@ ./src/
[10:51:17] Finished 'webpack:main' after 4.74 s
[10:51:17] Version: webpack 1.12.13
Asset Size Chunks Chunk Names
index.js 1.18 MB 0 [emitted] index
settings.js 1.17 MB 1 [emitted] settings
[10:51:17] Finished 'webpack:browser' after 4.27 s
[10:51:17] Starting 'webpack'...
[10:51:17] Finished 'webpack' after 10 μs
[10:51:17] Finished 'copy:modules' after 4.27 s
[10:51:17] Starting 'copy'...
[10:51:17] Finished 'copy' after 3.11 μs
[10:51:17] Starting 'build'...
[10:51:17] Finished 'build' after 3.13 ms
npm WARN EPACKAGEJSON [email protected] No repository field.
*sorry... could you teach me how to markup the logs to read properly... copy n paste from the txt files directly screws up the view
from desktop.
Currently, npm run build
shows warning, but no problem. Besides I tried with ubuntu 14.04 64bit, node 5.4.0, npm 3.3.12. npm run package:windows
succeeded (not tested app behavior).
In the second log, it seems npm run build
succeeded because Finished 'build' after 3.13 ms
appeared. Please try npm run package:windows
? Compiled packages will be created in release/
directory.
btw, this page is nice to understand Markdown. I had used following syntax.
some codes
from desktop.
Tks for the reply. I tried to build on a linuxmint 17.3 earlier, still getting the warnings.
Just wondering... Do you get the same warnings when you built on Ubuntu 14.04 64bit?
from desktop.
Yes. You can see build logs in CircleCI. In future, these warning should be fixed.
Please reopen this when you need.
from desktop.
Related Issues (20)
- Since I upgraded to 5.7.0 on my desktop, I only get a black screen HOT 15
- [Bug]: The title and taskbar doesn't match browser anymore HOT 2
- [Bug]: handleGetDesktopSources Blocked on wrong webContentsId HOT 4
- [Bug]: Mattermost apt repository GPG signing key is expired (today) HOT 11
- [Bug]: Missing notifications on Ubuntu 23 HOT 5
- [Bug]: Random Certificate Error HOT 3
- [Bug]: Linux desktop client keeps creating autostart file for Electron HOT 8
- Under Wayland, Mattermost should not draw extra window decorations if the compositor encourages client-side decorations
- [Bug]: linux x64 (non-arm) AppImage is missing (mattermost-desktop-5.8.0-linux-x86_64.AppImage) HOT 4
- [Bug]: Part of app window is showing on second monitor HOT 7
- [Bug]: No Sound alert and notification popup on Windows 10/Server 2016 v1607 (pre-creators update) HOT 6
- [Crash]: Ubuntu 24.04 LTS - Core dump exit-code 133 HOT 7
- [Bug]: Notification banners and sound are not played on macOS when FocusStatus permission is denied HOT 2
- [Bug]: Windows top bar (including 3 icons to minimize/increase size and close buttons) is showing css instead HOT 2
- [Bug]: Mattermost window keeps resizing each time after relaunch HOT 1
- [Bug]: Some download links are down for v5.8.1 HOT 2
- [bug]:Jitsi Meet does not have microphone and camera permissions in embedded mode, but it works fine in Chrome/Safari. HOT 3
- [Bug]: Layout issues when running under wayland
- [Bug]: Desktop App can reside off-screen HOT 1
- [Bug]: Window can not be moved after startup HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desktop.