ERROR in ./~/webvr-polyfill/package.json
Module parse failed: /home/sancelot/NODEJS/PROJET2/ng2-three-demo/node_modules/webvr-polyfill/package.json Unexpected token (2:9)
You may need an appropriate loader to handle this file type.
| {
| "_args": [
| [
| {
@ ./~/webvr-polyfill/src/webvr-polyfill.js 27:14-40
@ ./~/webvr-polyfill/src/main.js
@ ./~/webvr-polyfill/src/node-entry.js
@ ./src/three/controls/vr.component.ts
@ ./src/three/three.module.ts
@ ./src/app/app.module.ts
@ ./src/bootstrap.ts
ERROR in ./~/webvr-polyfill/src/dpdb/dpdb.json
Module parse failed: /home/sancelot/NODEJS/PROJET2/ng2-three-demo/node_modules/webvr-polyfill/src/dpdb/dpdb.json Unexpected token (2:10)
You may need an appropriate loader to handle this file type.
| {
| "format": 1,
| "last_updated": "2017-06-01T22:33:42Z",
| "devices": [
@ ./~/webvr-polyfill/src/dpdb/dpdb.js 18:17-39
@ ./~/webvr-polyfill/src/cardboard-vr-display.js
@ ./~/webvr-polyfill/src/webvr-polyfill.js
@ ./~/webvr-polyfill/src/main.js
@ ./~/webvr-polyfill/src/node-entry.js
@ ./src/three/controls/vr.component.ts
@ ./src/three/three.module.ts
@ ./src/app/app.module.ts
@ ./src/bootstrap.ts