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

After install through NPM, start fails #6

Open
peruzzijl opened this issue Feb 22, 2019 · 6 comments
Open

After install through NPM, start fails #6

peruzzijl opened this issue Feb 22, 2019 · 6 comments

Comments

@peruzzijl
Copy link

After downloading and unpacking from master, the NPM fails to start after a successful install through NPM.

`node install

node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/Users/peruzzijl/Downloads/jet-demos-master/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node" is installed via remote
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN extract-text-webpack-plugin@3.0.2 requires a peer of webpack@^3.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN webix-jet-demos@1.6.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: idb-connector@1.1.8 (node_modules/idb-connector):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for idb-connector@1.1.8: wanted {"os":"aix","arch":"any"} (current: {"os":"darwin","arch":"x64"})

added 991 packages in 48.562s`

`jet-demos-master peruzzijl$ npm start

webix-jet-demos@1.6.0 start /Users/peruzzijl/Downloads/jet-demos-master
webpack-dev-server --host 0.0.0.0

ℹ 「wds」: Project is running at http://0.0.0.0:8080/
ℹ 「wds」: webpack output is served from /codebase/
ℹ 「wds」: 404s will fallback to index.html
✖ 「wdm」: Hash: 30c88c371d6300732e8c
Version: webpack 4.29.5
Time: 9686ms
Built at: 02/22/2019 8:06:58 AM
Asset Size Chunks Chunk Names
app.js 1.64 MiB app [emitted] app
Entrypoint app = app.js
[0] multi (webpack)-dev-server/client?http://0.0.0.0:8080 ./sources/app.js 40 bytes {app} [built]
[./node_modules/loglevel/lib/loglevel.js] 8.43 KiB {app} [built]
[./node_modules/querystring-es3/index.js] 126 bytes {app} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {app} [built]
[./node_modules/url/url.js] 22.6 KiB {app} [built]
[./node_modules/webix-jet/dist/es6/jet.js] 67.5 KiB {app} [built]
[./node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:8080] (webpack)-dev-server/client?http://0.0.0.0:8080 8.1 KiB {app} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.59 KiB {app} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.05 KiB {app} [built]
[./node_modules/webpack/hot sync ^./log$] (webpack)/hot sync nonrecursive ^./log$ 170 bytes {app} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 74 bytes {app} [built]
[./sources/addview.js] 3.46 KiB {app} [built]
[./sources/app.js] 5.16 KiB {app} [built]
[./sources/appguard.js] 2.18 KiB {app} [built]
[./sources/bundles.js] 322 bytes {app} [built] [failed] [1 error]
+ 45 hidden modules

ERROR in ./sources/bundles.js 19:16
Module parse failed: Unexpected token (19:16)
You may need an appropriate loader to handle this file type.
|
| AboutView.prototype.config = function config() {

  var widgets = import( /* webpackChunkName: "widgets" */"modules/customWidgetA");

| return widgets.then(function () {
|
@ ./sources/app.js 29:0-30 32:1627-1634
@ multi (webpack)-dev-server/client?http://0.0.0.0:8080 ./sources/app.js
ℹ 「wdm」: Failed to compile.`

Running on:
OSX: 10.14.3
NPM: 6.8.0

@finzaiko
Copy link

I have a same result

@shahidcodes
Copy link

Same error @mkozhukh

@graf0
Copy link

graf0 commented Apr 2, 2019

For me the same

@graf0
Copy link

graf0 commented Apr 2, 2019

I updated nodejs to stable (10.15.3 LTS) and installed yarn - and it works!

@dexter69
Copy link

dexter69 commented May 9, 2019

Same here. Runing on Windows 10. Had Node 11.x. Upgraded to 12.2, did not help. Installed yarn, did not help. Downgraded Node to 10.15 LTS, did not help...

@finzaiko
Copy link

Change dependencies to:

"webpack": "~4.34.0",
"webpack-cli": "3.3.4",
"acorn": "^6.1.1",

and run:

rm -rf package-lock.json
rm -rf node_modules
npm i

https://forum.webix.com/discussion/comment/24768#Comment_24768

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

No branches or pull requests

5 participants