Skip to content

Common environment issues

Bryan Kok edited this page Aug 30, 2019 · 1 revision

Build issues

ERROR in /Users/transfusion/project-spectra-all/spectra-bdsd-plugin/src/spectra-bdsd-plugin.common.ts
[tsl] ERROR in /Users/transfusion/project-spectra-all/spectra-bdsd-plugin/src/spectra-bdsd-plugin.common.ts(1,28)
      TS2307: Cannot find module 'tns-core-modules/data/observable'.

ERROR in /Users/transfusion/project-spectra-all/spectra-bdsd-plugin/src/spectra-bdsd-plugin.common.ts
[tsl] ERROR in /Users/transfusion/project-spectra-all/spectra-bdsd-plugin/src/spectra-bdsd-plugin.common.ts(2,22)
      TS2307: Cannot find module 'tns-core-modules/application'.

ERROR in /Users/transfusion/project-spectra-all/spectra-bdsd-plugin/src/spectra-bdsd-plugin.common.ts
[tsl] ERROR in /Users/transfusion/project-spectra-all/spectra-bdsd-plugin/src/spectra-bdsd-plugin.common.ts(3,26)
      TS2307: Cannot find module 'tns-core-modules/ui/dialogs'.

Solution

Go into the src folder within every plugin and run npm run plugin.tscwatch. Keep the terminal windows open.

Clone this wiki locally