Small project "No TypeScript Compiler" notification

Answered

Hello all.

I am giving Fleet Preview a chance.

I'm opening a small project and I get the following notification:

Clicking on “Configure”:

What am I supposed to do here, given that I used npm to install the TypeScript stuff into the project itself via “npm install --save-dev typescript”??

There's nothing to choose from, but to add what looks like a standalone TS compiler. Note: I would rather avoid to install an extra piece of software just to get rid of this “error”.

0
4 comments

What am I supposed to do here, given that I used npm to install the TypeScript stuff into the project itself via “npm install --save-dev typescript”??

You should select the typescript directory in the node_modules folder. If you installed TS inside the project, it should be the node_modules/typescript directory.

Btw, did you install typescript after opening the project? For Fleet to autodetect it - it could help to re-open the project or disable and enable again the Smart mode.

 

Btw, I see on your screenshot that the Smart mode is not enabled. In this case, Fleet cannot auto detect installed TypeScript. Please enable the Smart mode.

0

I did not add typescript after having opened the project. Everything was present when I launched Fleet.

But Smart Mode wasn't enabled when I first opened the project. I enabled Smart Mode after a few hours.

My problem went away when disabling Smart Mode and re-enabling it.

Thanks

 

0

But Smart Mode wasn't enabled when I first opened the project.

Actually, the Smart mode should have been enabled automatically or prompt a popup with the action to enable it. Did you see it?

0

Yes, but since I didn't know what it is I ignored it.

0

Please sign in to leave a comment.