I spent couple of days trying to find the reasons why I can't seem to get yo office
template` to be funcioning properly. I read the following guid like 20 times https://learn.microsoft.com/en-us/office/dev/add-ins/tutorials/excel-tutorial trying to figure out what am I doing wrong, I tried updating all the packages inside the template to the latest ones result is the same. Tried to uninstall and reinstall office but each time when I try to the following:
npm run dev-server; npm run start
or
npm run build; npm run start
or just
npm start
It does open excel and loads the plugin, but if I try to change at list a letter in the code this is what happens.
or something like this
ERROR in C:\Users\asolo\git\excel-fn\src\taskpane\taskpane.ts
./src/taskpane/taskpane.ts 37:33-36
[tsl] ERROR in C:\Users\asolo\git\excel-fn\src\taskpane\taskpane.ts(37,34)
TS2304: Cannot find name 'add'.
ERROR in C:\Users\asolo\git\excel-fn\src\taskpane\taskpane.ts
./src/taskpane/taskpane.ts 38:35-40
[tsl] ERROR in C:\Users\asolo\git\excel-fn\src\taskpane\taskpane.ts(38,36)
TS2304: Cannot find name 'clock'.
ERROR in C:\Users\asolo\git\excel-fn\src\taskpane\taskpane.ts
./src/taskpane/taskpane.ts 39:39-48
[tsl] ERROR in C:\Users\asolo\git\excel-fn\src\taskpane\taskpane.ts(39,40)
TS2304: Cannot find name 'increment'.
ERROR in C:\Users\asolo\git\excel-fn\src\taskpane\taskpane.ts
./src/taskpane/taskpane.ts 40:33-43
[tsl] ERROR in C:\Users\asolo\git\excel-fn\src\taskpane\taskpane.ts(40,34)
TS2552: Cannot find name 'logMessage'. Did you mean 'onmessage'?
ERROR in C:\Users\asolo\git\excel-fn\src\commands\commands.ts
./src/commands/commands.ts 46:33-36
[tsl] ERROR in C:\Users\asolo\git\excel-fn\src\commands\commands.ts(46,34)
TS2304: Cannot find name 'add'.
ERROR in C:\Users\asolo\git\excel-fn\src\commands\commands.ts
./src/commands/commands.ts 47:35-40
[tsl] ERROR in C:\Users\asolo\git\excel-fn\src\commands\commands.ts(47,36)
TS2304: Cannot find name 'clock'.
ERROR in C:\Users\asolo\git\excel-fn\src\commands\commands.ts
./src/commands/commands.ts 48:39-48
[tsl] ERROR in C:\Users\asolo\git\excel-fn\src\commands\commands.ts(48,40)
TS2304: Cannot find name 'increment'.
ERROR in C:\Users\asolo\git\excel-fn\src\commands\commands.ts
./src/commands/commands.ts 49:33-43
[tsl] ERROR in C:\Users\asolo\git\excel-fn\src\commands\commands.ts(49,34)
TS2552: Cannot find name 'logMessage'. Did you mean 'onmessage'?
8 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
I how can I get this dev environment to get working?
I have setup test repo here
Here is my specs:
Edition Windows 10 Pro
Version 21H2
Installed on 14-Apr-22
OS build 19044.1889
Experience Windows Feature Experience Pack 120.2212.4180.0
Office 365 Business