Comments (10)
Hi, @iuaj7, can you create a template repo with this error?
from jira-connector.
@MrRefactoring I uploaded the files to "iuaj7/HelloSharepointJira"
without the node_modules directory
from jira-connector.
Sorry, but there are no files. Check it one more time :)
from jira-connector.
Try import * as JiraClient from 'jira-connector';
. Let me know if this helps.
from jira-connector.
With the modified import statement the "jira = new JiraClient(..." gives me the following error message:
[ts] Cannot use 'new' with an expression whose type lacks a call or construct signature.
from jira-connector.
Found something. Sharepoint Developer Framework SPFx uses an older Typescript version
"[10:44:26] [typescript] TypeScript version: 2.2.2". Seems that SPFx has some internal dependencies and cannot switch to the latest tsc version.
from jira-connector.
Found something. Sharepoint Developer Framework SPFx uses an older Typescript version
"[10:44:26] [typescript] TypeScript version: 2.2.2". Seems that SPFx has some internal dependencies and cannot switch to the latest tsc version.
Good job @iuaj7. Can you give me PR to fix it?
from jira-connector.
@MrRefactoring Sorry, but I do not have a solution for the problem. I just identified a possible reason why it is not working. It seems to be a version conflict with the Sharepoint "package.json" dependencies.
The problem is similar to using "jquery" with SPFx:
"https://thechriskent.com/tag/typescript/"
from jira-connector.
Any updates on this? I ran into a similar error and can´t use the JiraConnector in my SPFx project. Here´s my error message:
Error - [webpack] 'dist': ./node_modules/jira-connector/api/auth.js Module not found: Error: Can't resolve 'fs' in 'C:/GIT/MyProject/SPFx/MyWebPart/node_modules/jira-connector/api' resolve 'fs' in 'C:/GIT/MyProject/SPFx/MyWebPart/node_modules/jira-connector/api'
from jira-connector.
Any updates on this? I ran into a similar error and can´t use the JiraConnector in my SPFx project. Here´s my error message:
Error - [webpack] 'dist': ./node_modules/jira-connector/api/auth.js Module not found: Error: Can't resolve 'fs' in 'C:/GIT/MyProject/SPFx/MyWebPart/node_modules/jira-connector/api' resolve 'fs' in 'C:/GIT/MyProject/SPFx/MyWebPart/node_modules/jira-connector/api'
It seems to me that if you want to use this extension to work on your site, then you cannot do it. I would look towards jira.js
from jira-connector.
Related Issues (20)
- Search query is not works HOT 1
- You should commit lock files
- types not found HOT 2
- Support for Development Information API
- Cannot add actors to the given role
- Uncaught TypeError: Cannot read property '2' of null
- board.createBoard returning java errors HOT 2
- editIssue transition troubles HOT 3
- Issue apis not working.
- OAuth2 support
- Thank you!
- Cannot get licensing information for addon HOT 1
- Is Jira-connector compatible with Jira Service Desk APIs?
- New version is not working with TypeScript without esModuleInterop but there is no warning
- Cannot access filter createFilter method
- Search Functionality and the Ampersand HOT 1
- 429 too many request on a single search request
- project.getComponents -> 404 error
- Access Jira server with self-signed certificate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jira-connector.