Skip to content

running grunt on atom-typescript-> JSX-related issues and more #746

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
laurelnaiad opened this issue Nov 25, 2015 · 1 comment
Closed

running grunt on atom-typescript-> JSX-related issues and more #746

laurelnaiad opened this issue Nov 25, 2015 · 1 comment

Comments

@laurelnaiad
Copy link

I'm trying to build atom-typescript locally.

Did I miss some steps in configuring my environment or the local repo?

Things I did:

  • npm install
  • npm install grunt (why wasn't this in the package.json as a dev dependency?)
  • npm install grunt-ts (ditto?)
$ grunt
Running "ts:dev" (ts) task
Watching all TypeScript / Html files under : lib
Compiling...
### Fast Compile >>lib/globals.ts
### Fast Compile >>lib/linter.ts
     <lots of Fast Compiles snipped>
### Fast Compile >>lib/worker/parent.ts
### Fast Compile >>lib/worker/queryParent.ts
Using the custom compiler : ./node_modules/ntypescript/bin/tsc
lib/main/atom/views/rView.tsx(34,16): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
lib/main/atom/views/semanticView.tsx(101,16): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
lib/main/atom/views/semanticView.tsx(107,16): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
lib/main/atom/views/semanticView.tsx(109,13): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
lib/main/lang/transformers/transformer.ts(2,28): error TS2307: Cannot find module 'source-map'.
lib/main/tsconfig/tsconfig.ts(210,27): error TS2307: Cannot find module 'tsconfig'.
@basarat
Copy link
Member

basarat commented Nov 26, 2015

npm install grunt (why wasn't this in the package.json as a dev dependency?)

Because it broke atom package installer at some point : #600

Don't use grunt. Sadly you need atom-typescript to build atom-typescript as is documented here : https://github.com/TypeStrong/atom-typescript/blob/master/CONTRIBUTING.md#workflow Probably should be more up in the guide :-/ I'll move it around and then close this issue 🌹

@TypeStrong TypeStrong locked and limited conversation to collaborators Jan 20, 2019
angelestelar5z added a commit to angelestelar5z/atom-typescript that referenced this issue Aug 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants