Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Problemas ao inicializar o npm

Ele gera os seguintes erros quando tento iniciar o servidor com o npm run start:dev

ERROR in ./src/js/main.js
Module not found: Error: Can't resolve 'style' in 'C:\Users\wellington.gallo\Desktop\TodoList'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                 You need to specify 'style-loader' instead of 'style',
                 see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
 @ ./src/js/main.js 3:0-26
 @ multi (webpack)-dev-server/client?http://localhost:8080 babel-polyfill ./src/js/main

ERROR in ./src/js/main.js
Module not found: Error: Can't resolve 'style' in 'C:\Users\wellington.gallo\Desktop\TodoList'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                 You need to specify 'style-loader' instead of 'style',
                 see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
 @ ./src/js/main.js 5:0-31
 @ multi (webpack)-dev-server/client?http://localhost:8080 babel-polyfill ./src/js/main

ERROR in ./src/js/main.js
Module not found: Error: Can't resolve 'style' in 'C:\Users\wellington.gallo\Desktop\TodoList'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                 You need to specify 'style-loader' instead of 'style',
                 see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
 @ ./src/js/main.js 7:0-35
 @ multi (webpack)-dev-server/client?http://localhost:8080 babel-polyfill ./src/js/main
2 respostas
solução!

Oi Maria, tudo bem?

Dei uma pesquisada nesse erro e parece que você precisa instalar o style-loader.

Faz assim, no terminal dê o seguinte comando para instalá-lo:

npm install --save-dev style-loader

E certifique-se que instalou o css-loader também: npm install --save-dev css-loader.

Aguardo seu feedback se funcionou ou não, ok?

Abcs!

Funcionou