Code Monkey home page Code Monkey logo

Comments (5)

yuya-oc avatar yuya-oc commented on July 21, 2024

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.

etcy avatar etcy commented on July 21, 2024

I'm running blacklab linux guest on a win 7 host.
I had previously built mattermost-electron v1.01 with no problems or warnings.

  1. Version info
    npm -v
    3.3.12
    node -v
    v5.4.0
    uname -r
    3.19.0-43-generic
  2. 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
Critical dependencies:
359:21-48 the request of a dependency is an expression
@ ./src/
/yargs/lib/parser.js 359:21-48

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
Module not found: Error: Cannot resolve module 'utf-8-validate' in /home/edward/electron-mattermost/src/node_modules/ws/lib
@ ./src/
/ws/lib/Validation.js 10:19-44

WARNING in ./src//ws/lib/BufferUtil.js
Module not found: Error: Cannot resolve module 'bufferutil' in /home/edward/electron-mattermost/src/node_modules/ws/lib
@ ./src/
/ws/lib/BufferUtil.js 10:19-40

WARNING in ./src//spawn-sync/lib/spawn-sync.js
Module not found: Error: Cannot resolve module 'try-thread-sleep' in /home/edward/electron-mattermost/src/node_modules/spawn-sync/lib
@ ./src/
/spawn-sync/lib/spawn-sync.js 10:10-37
[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.

yuya-oc avatar yuya-oc commented on July 21, 2024

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.

etcy avatar etcy commented on July 21, 2024

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.

yuya-oc avatar yuya-oc commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.