Este es UNO de los muchos archivos con este mismo error.
// Load dependencies import React, { Component } from 'react'; import Radium from 'radium'; import {Typeahead} from 'react-bootstrap-typeahead'; // Load styles import 'react-bootstrap-typeahead/css/Typeahead.css'; /** * Render a Typeahead input that gives autocomplete suggestions. */ class YATypeahead extends Component { render() { return ( <Typeahead {...this.props} /> ); } } // Export component, connected to Radium export default Radium(YATypeahead); Module not found: Error: path argument is not a string @ ./js/containers/main/main.jsx 51:0-60 689:42-53 @ ./js/containers/router/router.jsx 57:0-36 115:19-25 116:17-31 @ ./js/containers/root/root.development.jsx 39:0-42 75:42-50 @ ./js/containers/root/root.js 8:12-58 @ ./js/index.js 22:0-42 56:41-45este es el error, no se que le pasa tengo google lo que me da es un sin fin,
y entre eso estos estan el resto de dichos errores que tampoco tengo ni idea de que hacer ni a donde ir. ¿Puede ALGUIEN señalarme la dirección correcta de lo que tengo mal aquí?
ERROR in ./js/index.js 12:0-28 Module not found: Error: path argument is not a string ERROR in ./js/index.js 14:0-52 Module not found: Error: path argument is not a string ERROR in ./js/index.js 15:0-48 Module not found: Error: path argument is not a string ERROR in ./js/index.js 16:0-45 Module not found: Error: path argument is not a string ERROR in ./js/index.js 17:0-35 Module not found: Error: path argument is not a string ERROR in ./js/reducers/index.js 5:7 Module parse failed: Unexpected token (5:7) File was processed with these loaders: * ./node_modules/babel-loader/lib/index.js You may need an additional loader to handle the result of these loaders. | }; | > export about from './about'; | export authenticator from './authenticator'; | export classroom from './classroom'; @ ./js/store/configure-store.development.js 20:0-42 36:60-68 @ ./js/store/configure-store.js 8:12-69 @ ./js/index.js 20:0-53 54:12-26Voy a almorzar. Gracias.
Entonces, después de algunas investigaciones y algunas pruebas.
He hecho esto con mi archivo reducers/index.js
import {combineReducers} from "redux"; import about from './about'; import authenticator from './authenticator'; import classroom from './classroom'; import feed from './feed'; import location from './location'; import mealPlan from './meal-plan'; import message from './message'; import parent from './parent'; import progress from './progress'; import region from './region'; import settings from './settings'; import staff from './staff'; import student from './student'; const rootReducer = combineReducers({ about, authenticator, classroom, feed, location, mealPlan, message, parent, progress, region, settings, staff, student }); export default rootReducer;y esto parece superar el error, sin embargo, no estoy seguro de si esta es una solución adecuada o no, ya que la aplicación no me está sirviendo ninguna página web y ahora tiene otros errores de consola.
Si hay una solución mejor o más adecuada para lo que está sucediendo, comente.