Framework7: build failed

Created on 17 Jul 2017  Â·  2Comments  Â·  Source: framework7io/framework7

This is a (multiple allowed):

  • [x] bug
  • [ ] enhancement
  • [ ] feature-discussion (RFC)
  • Framework7 Version: 1.6.4.
  • Platform and Target: PLATFORM Mac osX TARGETING SUCH AS CORDOVA, IOS, ANDROID, ETC.
  • Live Link or JSFiddle/Codepen: PREFERABLY _(IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP)_. You can start from forking one of the templates: iOS JSFiddle/Codepen, Material JSFiddle/Codepen

What you did

EXPLAIN WHAT YOU DID, PREFERABLY WITH CODE EXAMPLES, HERE.
gulp build

Expected Behavior

EXPLAIN WHAT IS TO BE EXPECTED, HERE.

Actual Behavior

EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.
it is failed.

EricdeMacBook-Pro:Framework7-master eric$ gulp build
[21:47:43] Using gulpfile ~/proj/js/Framework7-master/gulpfile.js
[21:47:43] Starting 'scripts'...
[21:47:44] Starting 'styles-ios'...
[21:47:44] Starting 'styles-material'...
[21:47:44] Starting 'demo-app'...
[21:47:44] Finished 'demo-app' after 6.12 ms
[21:47:46] Finished 'styles-ios' after 2.54 s
[21:47:46] Finished 'styles-material' after 2.53 s

src/js/dom7/framework7.js
line 249 col 36 Strings must use singlequote.
line 249 col 77 Strings must use singlequote.
line 251 col 34 Strings must use singlequote.
line 251 col 69 Strings must use singlequote.
line 270 col 51 Strings must use singlequote.
line 275 col 50 Strings must use singlequote.
line 284 col 50 Strings must use singlequote.
line 469 col 34 Strings must use singlequote.
line 472 col 54 Strings must use singlequote.
line 475 col 50 Strings must use singlequote.
line 512 col 47 Strings must use singlequote.
line 537 col 53 Strings must use singlequote.
line 540 col 81 Strings must use singlequote.
line 547 col 51 Strings must use singlequote.
line 553 col 26 Strings must use singlequote.
line 553 col 46 Strings must use singlequote.
line 553 col 68 Strings must use singlequote.
line 553 col 88 Strings must use singlequote.
line 553 col 98 Strings must use singlequote.
line 553 col 120 Strings must use singlequote.
line 652 col 98 Expected an assignment or function call and instead saw an expression.
line 655 col 128 Expected an assignment or function call and instead saw an expression.
line 680 col 29 If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 687 col 29 If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 694 col 29 If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 919 col 47 Strings must use singlequote.
line 1007 col 33 Strings must use singlequote.
line 1050 col 22 If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 1139 col 22 If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 1701 col 13 If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 1879 col 13 If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 1972 col 22 Strings must use singlequote.
line 1993 col 29 Strings must use singlequote.
line 2068 col 45 Strings must use singlequote.
line 2072 col 52 Strings must use singlequote.
line 2103 col 58 Strings must use singlequote.
line 2103 col 106 Strings must use singlequote.
line 2127 col 24 Strings must use singlequote.
line 2142 col 40 Strings must use singlequote.
line 2142 col 73 Strings must use singlequote.
line 2144 col 38 Strings must use singlequote.
line 2144 col 70 Strings must use singlequote.
line 2147 col 24 Strings must use singlequote.
line 2147 col 37 Strings must use singlequote.
line 2151 col 24 Strings must use singlequote.
line 2177 col 21 Strings must use singlequote.
line 2193 col 36 Strings must use singlequote.
line 2193 col 64 Strings must use singlequote.
line 2195 col 36 Strings must use singlequote.
line 2195 col 58 Strings must use singlequote.
line 2195 col 58 Too many errors. (11% scanned).

✖ 1 error
âš  50 warnings

[21:47:47] Finished 'scripts' after 3.51 s
[21:47:47] Starting 'build'...
[21:47:47] Finished 'build' after 5.7 μs

actrual src/js/dom7/framework7.js is not found yet.

P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that or join the #framework7 channel on irc.freenode.net, where we will be more
than happy to help answer your questions.

Before you open an issue, please check if a similar issue already exists or has been closed before.

outdated

Most helpful comment

I have found a workaround, just comment this line in .jslintrc

//"quotmark"     : "single",

All 2 comments

I have found a workaround, just comment this line in .jslintrc

//"quotmark"     : "single",

Issue is closed because of outdated/irrelevant/not actual

If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

  • Clearly describe the issue including steps to reproduce when it is a bug.
  • Make sure you fill in the earliest version that you know has the issue.
  • Provide live link or JSFiddle/Codepen or website with issue
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Samnan picture Samnan  Â·  3Comments

seme1 picture seme1  Â·  5Comments

mesutgok picture mesutgok  Â·  4Comments

nimo23 picture nimo23  Â·  4Comments

M4ttscx picture M4ttscx  Â·  4Comments