quasarframework / app-extension-typescript

Add TypeScript to your existing Quasar 1.0 JS project

Home Page:https://quasar.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] ts-loader not being installed correctly

bloodf opened this issue · comments

I'm using Yarn Workspaces for a project, and today I faced a issue with a new installation of the repo.

After the pull of the repo, and yarn install, when I did the dev command, I get some errors that were strange.

image

After some research and help from @nothingismagick and @hawkeye64 I tried to build the project to see if I get another error, and found this.

The ts-loader packaged that was supposed to be installed with the extension was not being installed correctly with a new pull from the repo of the project.

I had to puth the ts-loader on the project to get working.

ERROR in ./.quasar/app.js
Module not found: Error: Can't resolve 'ts-loader' in '/Users/heitor/Versionamento/INTI/Applications/AccessControl/packages/quasar'
 @ ./.quasar/app.js 15:0-46 19:21-32 19:50-61 21:7-18
 @ ./.quasar/client-entry.js
 @ multi ./.quasar/client-entry.js

ERROR in ./src/boot/socket/accessControl.js
Module not found: Error: Can't resolve 'ts-loader' in '/Users/heitor/Versionamento/INTI/Applications/AccessControl/packages/quasar'
 @ ./src/boot/socket/accessControl.js 1:0-75 4:30-49
 @ ./.quasar/client-entry.js
 @ multi ./.quasar/client-entry.js

ERROR in ./src/socket/intervalEvents.js
Module not found: Error: Can't resolve 'ts-loader' in '/Users/heitor/Versionamento/INTI/Applications/AccessControl/packages/quasar'
 @ ./src/socket/intervalEvents.js 9:0-80 77:79-102
 @ /Users/heitor/Versionamento/INTI/Applications/AccessControl/node_modules/babel-loader/lib??ref--1-0!/Users/heitor/Versionamento/INTI/Applications/AccessControl/node_modules/@quasar/app/node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue
 @ ./.quasar/app.js
 @ ./.quasar/client-entry.js
 @ multi ./.quasar/client-entry.js
commented

@bloodf Can you verify if the latest extension resolves your issue?

Closing due to inactivity