Replies: 1 comment
-
After getting back to this issue after some time, it turns out that when i publish that package to npm, and install it via npm everything works fine. I searched for some addon written in typescript to do the same test - for instance I found
Is it good behaviour, or something is wrong with my computer? UPDATE: |
Beta Was this translation helpful? Give feedback.
-
Please paste the output of
ember -v
hereember-cli: 3.26.1
node: 12.22.0
os: win32 x64
Please paste the output of
tsc -v
hereVersion 4.3.3
Please paste the version of
ember-cli-typescript
andember-cli-typescript-blueprints
here[email protected]
[email protected]
Please paste your
tsconfig.json
andtslint.json
oreslint.json
(if applicable) belowMy tsconfig.json
What are instructions we can follow to reproduce the issue?
Now about that bug. What did you expect to see?
I expected to add my remote github addon (test-addon) to application. This addon is simple addon generated by ember-cli:
and pushed to GitHub
What happened instead?
I get an error below:
debug.log:
It looks like it can't execute command
ember ts:precompile
. I assume, that npm first clone repo from github, then fire this prepack script. It is done beforenpm install
is executed in addon, so there is noember-cli-typescript
in node_modules, so he didn't recognizeember ts:precompile
command. Am I right?Everything is working fine if I install this addon locally by:
npm install -save-dev D:\Projects\test-addon
and runember ts:precompile
manually in my addon.Beta Was this translation helpful? Give feedback.
All reactions