Closed wyattp11 closed 5 years ago
Have you tried deleting your ‘node_modules’ directory and then re-running ‘npm install’ or ‘yarn install’ (depending on which package manager you are using)?
On Sep 9, 2019, at 10:28 PM, Wyatt notifications@github.com wrote:
Tried to update via npm but when hot server reloads I get:
Module build failed: Error: ENOENT: no such file or directory, open '/node_modules/mapbox-gl-vue/dist/Mapbox.js'
Is this just pointing to the wrong dir? If I manually place the file it breaks the plugin, map doesn't load within vue app.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Awesome, that did it!
Ran npm install --save mapbox-gl-vue@2.0.3 after deleting npm modules folder then updated mapbox-gl... new maps working too!
Tried to update via npm but when hot server reloads I get:
Module build failed: Error: ENOENT: no such file or directory, open '/node_modules/mapbox-gl-vue/dist/Mapbox.js'
Is this just pointing to the wrong dir? If I manually place the file it breaks the plugin, map doesn't load within vue app.