J'ai installé Materialise-Bridge suivant this instructions. Quand je cours au build
il dit qu'il ne peut pas trouver index.js
. Le projet a fonctionné avec succès jusqu'à ce que j'ajoute Materialise Bridge.Le package JQuery fait référence à un fichier principal qui n'existe pas? Aurelia, CLI, Materialise-Bridge
J'ai deux problèmes:
- ne sais pas où je peux modifier chemin qui recherche pour le fichier
index.js
(chemin actuel est invalide - mes node_modules sont situés àSOMETHING_ELSE/node_modules
et non àSOMETHING_ELSE/src/node_modules
) ne peut pas trouver le fichier
index.js
pour jquery (il est pasnode_modules/jquery
)Starting 'readProjectConfiguration'... Unable to analyze jquery [Error: The "jquery" package references a main file that does not exist: /PATH/TO/SOMETHING/SOMETHING_ELSE/src/node_modules/jquery/index.js] { uid: 1, name: 'readProjectConfiguration', branch: false, error: [Error: The "jquery" package references a main file that does not exist: /PATH/TO/SOMETHING/SOMETHING_ELSE/src/node_modules/jquery/index.js], duration: [ 0, 10966665 ], time: 1500372612034 } { uid: 0, name: '<series>', branch: true, error: [Error: The "jquery" package references a main file that does not exist: /PATH/TO/SOMETHING/SOMETHING_ELSE/src/node_modules/jquery/index.js], duration: [ 0, 23847781 ], time: 1500372612046 } [Error: The "jquery" package references a main file that does not exist: /PATH/TO/SOMETHING/SOMETHING_ELSE/src/node_modules/jquery/index.js]
Où puis-je changer le chemin d'accès au fichier
index.js
et où ce fichier devrait-il se trouver? J'espère que j'étais assez clair, sinon s'il vous plaît demander plus d'informations. Merci
Ceci est étrange, jQuery ne devrait pas avoir besoin d'une configuration 'index.js' car son fichier package config package.json indique' dist/jquery.js' ... En fait, jquery est-il présent dans node_modules? Que dit 'package.json' de jquery pour' main'? – Daniel