jet-demos
jet-demos copied to clipboard
After install through NPM, start fails
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 [email protected] requires a peer of webpack@^3.1.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/idb-connector): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"aix","arch":"any"} (current: {"os":"darwin","arch":"x64"})
added 991 packages in 48.562s`
`jet-demos-master peruzzijl$ npm start
[email protected] 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
I have a same result
Same error @mkozhukh
For me the same
I updated nodejs to stable (10.15.3 LTS) and installed yarn - and it works!
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...
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