My application can not find this route

0

I have two errors:

  • Can not find the route
  • $ not defined
  • First they could help me solve the route problem. I have reviewed other projects and the route does not exist either.

    The first error:

    Uncaught Error: Cannot find module "../../../node_modules/acorn/bootstrap"
        at webpackMissingModule (app.js:10515)
        at Object.<anonymous> (app.js:10515)
        at __webpack_require__ (app.js:20)
        at Object.defineProperty.value (app.js:10494)
        at __webpack_require__ (app.js:20)
    

    The second error:

    Uncaught ReferenceError: $ is not defined
        at 265-252:2884
    
        
    asked by Silvaf 24.10.2018 в 16:40
    source

    1 answer

    0

    and solve the problem, I had to edit the resources / asset / js / app.js file , call the correct boostrap.js file.

    misnamed:
    require ('../../../ node_modules / acorn / bootstrap');
    correct:
    require ('bootstrap / dist / js / bootstrap');

    for some reason when going from version not these files were updated.

        
    answered by 24.10.2018 в 18:34