nativescript-community / nativescript-community/plugin-seed

TSC Error

Open
#10 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hello, i am trying to use the latest update of the plugin seed, and tsc whos this

finally { if (e_2) throw e_2.error; }
^

Error: Cannot find module '../../node_modules/@nativescript/webpack/dist/transformers/NativeClass' from 'C:/Users/Abbie/Documents/Novacio/Nativescript Plugins/ui-pager'
at Function.resolveSync [as sync] (C:\Users\Abbie\Documents\Novacio\Nativescript Plugins\ui-pager\node_modules\typescript\lib\tsc.js:154275:19)
at PluginCreator.resolveFactory (C:\Users\Abbie\Documents\Novacio\Nativescript Plugins\ui-pager\node_modules\typescript\lib\tsc.js:154542:38)
at PluginCreator.createTransformers (C:\Users\Abbie\Documents\Novacio\Nativescript Plugins\ui-pager\node_modules\typescript\lib\tsc.js:154441:40)
at Object.newEmit [as emit] (C:\Users\Abbie\Documents\Novacio\Nativescript Plugins\ui-pager\node_modules\typescript\lib\tsc.js:154757:46)
at emitFilesAndReportErrors (C:\Users\Abbie\Documents\Novacio\Nativescript Plugins\ui-pager\node_modules\typescript\lib\tsc.js:112363:23)
at Object.emitFilesAndReportErrorsAndGetExitStatus (C:\Users\Abbie\Documents\Novacio\Nativescript Plugins\ui-pager\node_modules\typescript\lib\tsc.js:112386:18)
at performCompilation (C:\Users\Abbie\Documents\Novacio\Nativescript Plugins\ui-pager\node_modules\typescript\lib\tsc.js:155159:29)
at executeCommandLineWorker (C:\Users\Abbie\Documents\Novacio\Nativescript Plugins\ui-pager\node_modules\typescript\lib\tsc.js:155043:17)
at Object.executeCommandLine (C:\Users\Abbie\Documents\Novacio\Nativescript Plugins\ui-pager\node_modules\typescript\lib\tsc.js:155088:20)
at Object. (C:\Users\Abbie\Documents\Novacio\Nativescript Plugins\ui-pager\node_modules\typescript\lib\tsc.js:155375:4) {
code: 'MODULE_NOT_FOUND'
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the latest plugin seed TypeScript compilation and inspect how the transformer resolves @nativescript/webpack/dist/transformers/NativeClass. The issue is complete when compilation no longer reports this MODULE_NOT_FOUND error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, webpack
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.