546 questions
0
votes
0
answers
10
views
Error in building legacy solution using jspm packages
I am trying to build a legacy solution which is using jspm packages but getting below error:
Error on fetch for npm:[email protected] at file:///C:/KeskoUpgrade/My%20K%20Keskonet/...
2
votes
1
answer
167
views
gulp_jspm DeprecationWarning
When I use gulp_jspm I get this DeprecationWarning is there something else I should use to create my bundle files? When I used gulp-jspm-build I have to add some node files that I never had to do ...
3
votes
0
answers
192
views
gulp_jspm Domain property building project using gulp
I am getting this error when I try build my project using gulp. It is getting trigger with this logic gulp_jspm. Is there something else I should use to create my bundle files? Do I use this gulp-jspm-...
5
votes
3
answers
2k
views
Using chart.js with importmaps in rail 7
I am trying to integrate chartjs with importmaps in rails 7 but its not working
I have tried with following procedure
bin/importmap pin "chart.js@^3.8.0" --download
here is my ...
1
vote
0
answers
182
views
importing Couchnode as ESM gives error "[ERROR]: JSDoc '@augments' is not attached to a class."
I have a project i'm building in Deno and I'm trying to import the couchbase nodejs client via https://dev.jspm.io/couchbase but i'm getting an error:
[ERROR]: JSDoc '@augments' is not attached to a ...
1
vote
0
answers
513
views
JSPM not able to download github packages behind the proxy
I am using http proxy between JSPM and socks tunnel.
At the mooment the npm packages are downloading, but jspm can not install the github packages.
The error I am getting is coming from
project/...
2
votes
1
answer
468
views
Do esm.sh and jspm.org follow the same approach regarding deno compatibility?
I've seen deno examples importing npm modules both from esm.sh and jspm.org
In esm.sh I read:
esm.sh will polyfill the node internal modules(fs,os,etc) with https://deno.land/std/node to support some ...
1
vote
1
answer
327
views
JSPM_GITHUB_AUTH_TOKEN as header
I am having trouble with a github alert that is telling me the following:
"On September 11th, 2020 at 18:16 (UTC) your personal access token (JSPM_PRUEBA) using jspm was used as part of a query ...
0
votes
0
answers
199
views
jspm for install angular return "Error: EPERM: operation not permitted, rmdir 'C:..\AppData\Local\.jspm\packages\npm\@angular\[email protected]\bundles' "
hope everybody is in good willing , please any help will be appreciated ,,,
I'm using jspm to install angular,, but I return this error continously "Error: EPERM: operation not permitted, rmdir 'C:\...
0
votes
1
answer
252
views
jspm init command does not work, I really stuck. any help will be appreciated
Hello all,
I have install jspm globlly and locally at my-project directory, but when I type jspm init to the console it returns that 'jspm' is not recognized as a command.
I have stuck on for more ...
1
vote
1
answer
84
views
Staging a component for testing
Executing the app and loading views with @useview('resources/panels/data-table-panel.html') works, but running a component test fails. Caused by 404 html-file not found.
By changing the path to @...
1
vote
1
answer
221
views
Error while doing jspm install using node 9
Using node 9.4.0 and doing jspm install throwing below error.
warn Error on getOverride for jspm:npm
TypeError: "timeout" must be an unsigned integer
at validateTimeout (child_process.js:623:...
4
votes
1
answer
920
views
jspm init returns "jspm init has not yet been implemented"
I just installed jspm globally using npm on Mac OS (sudo npm install jspm -g). Now when I run jspm init, I see the following console output:
err (jspm) jspm init has not yet been implemented.
When I ...
2
votes
1
answer
436
views
How to create import map with jspm2
I am trying to import javascript packages from npm using JSPM module loader and use offline package loader instead of CDN.
now I want to add an importmap script so I can import react or another module ...
0
votes
0
answers
32
views
Why is JSPM not bundling the dependencies of the bundled module?
I'm trying to bundle my app like
jspm bundle myapp/index.jsx --dev for development where my index.jsx has some imports..
import React from 'react'
import { store } from './store'
...
When I actually ...
1
vote
1
answer
152
views
err Repo github:angular not found! [jspm install]
I am getting this error while doing jspm install,
err Repo github:angular not found!
executing jsp install github:angular also doesnt work.
jspm_config.json location is
https://plnkr.co/edit/...
0
votes
1
answer
113
views
JSPM override equivalent in Webpack
I have a project that contains the following block inside a jspm block in the package.json file.
"overrides": {
"github:repoName/myPackage@master": {
"main": "js/someFolder",
"shim": {
...
0
votes
1
answer
297
views
JSPM private registry configuration
I am using Verdaccio to host a private package. I want to use this package in a project that I am working on locally. I have my package successfully published up to Verdaccio running on localhost (...
1
vote
0
answers
137
views
How do I lock the entire dependency tree with JSPM?
I am working on a project with a number of frontend dependencies. The project uses both NPM and JSPM to manage these dependencies.
According to the jspm documentation:
All install ranges are saved in ...
0
votes
1
answer
260
views
Getting jspm_packages/npm/[email protected] 404 (Not Found)
I am getting the following error:
system.src.js:1041 GET http://localhost:9001/jspm_packages/npm/[email protected] 404 (Not Found)
W @ system.src.js:1041
(anonymous) @ system.src.js:1777
(...
21
votes
3
answers
17k
views
Importing RxJS 6 in browser?
Now that all modern browser support javascript modules, I'm trying out importing code right in the browser. We can get npm modules from unpkg.com, and I've found the jspm project, which wraps npm ...
0
votes
1
answer
173
views
Aurelia project resulting in pickadate is not a function
I am getting the following error and I can't figure out how to fix it.
I've been more of a traditional JS developer and have been focusing exclusively on the backend lately.
I tried to manually load ...
1
vote
1
answer
666
views
How to I debug systemJS error loading js as "" from
I am getting the following error:
system.src.js:123 Uncaught (in promise) Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:8000/dist/jquery.js
Error: XHR error (404 Not Found) ...
0
votes
1
answer
59
views
what is the difference between node and jspm and can node and jspm used together in a project
I am new to web development using node and jspm.
Please explain the difference between node and jspm and how they can be combined used in a project.
Do we need to copy all our node dependency or ...
0
votes
2
answers
239
views
Need help importing Electron in Aurelia app
I'm using one of the skeleton-navigation, skeleton-typescript.
I'm trying to import Electron.remote so I can close the electron window from within the JS. This is what I have in config.js:
paths: {...
2
votes
3
answers
1k
views
NPM: download the same library many times in different versions
I'm working on Play Framework 2.4 and AngularJs 1.5.8 with coffeescript.
I am analyzing if it is convenient to use npm.
We are using several libraries and many of them have their own dependencies.
So, ...
0
votes
1
answer
202
views
Error loading "npm:[email protected]/browser.js"
I have installed npm and jspm packages but I get the following error in my browser when i try running my code.
Error loading "npm:[email protected]/browser.js" at
http://localhost:9000/jspm_packages/...
5
votes
0
answers
129
views
What could cause a JSPM bundled module to seek to load from jspm_packages?
On a bundled production build I see a network request for: [email protected] from cache... on the same instance where it's unable to load fully all the way through to my app.
It fails ...
0
votes
0
answers
64
views
issue reverting jspm back to 0.16.53 (last stable build)
I recently tried latest beta version of jspm "0.17.0-beta.47" in a local version of a project that i pull from a git repository.
Didnt have much success so deleted the project and did a fresh git ...
0
votes
1
answer
364
views
loading local modules in JEST with JSPM
I'm trying to use jest in my JSPM project.
My jspm.config file looks like this:
SystemJS.config({
paths: {
"npm:": "jspm_packages/npm/",
"github:": "...
0
votes
1
answer
252
views
How to create jspm bundle with fabric.js v2
I'm trying to create a javascript bundle with JSPM that includes fabric.js version 2. Alas, performing jspm bundle fails.
$ jspm bundle src/main --minify --inject
Building the bundle tree for ...
0
votes
1
answer
161
views
How do I use nprogress with aurelia jspm
I have an aurelia project using one of skeletons that uses jspm. I've tried to convert the nprogress aurelia-cli version to no avail.
import * as nprogress from 'nprogress';
import { bindable, noView ...
0
votes
1
answer
86
views
JSPM Babel ES6 , preferred way to import conditional modules
I am using JSPM and I am new to ES6 as well
I am wondering what is correct way to make imports when they are conditional in ES6
Method-1:
// should load only module required
import $ from 'jquery'...
0
votes
1
answer
147
views
JSPM bundle vs requireJs confusion
I am new to jspm. I have requrieJs background.
Is it true that jspm while bundling compiles all dependencies into one big file ? like jquery, jquery-ui,bootstrap, databases to other 50 plguins used ...
1
vote
0
answers
27
views
install modules in angular app via jspm
I want to install some modules for my angular app via jspm install. For some reason this doesn't work anymore. Error: Cannot find module 'ansi-regex'.
Anybody knows what to do?
1
vote
1
answer
837
views
Cannot read property '__useDefault' of undefined
I have a project that is using jspm-git to download code into the \jspm_packages folder.
Even though everything has downloaded fine, I am getting the following error:
aurelia-loader-default.js:55 ...
0
votes
1
answer
604
views
Cannot find module 'jspm'
Any ideas about the following errors?
C:\PGM\_CODE\zui>npm install -g jspm
C:\PGM\devel\node-v7.2.1-win-x64\jspm -> C:\PGM\devel\node-v7.2.1-win-x64\node_m
odules\jspm\jspm.js
C:...
0
votes
1
answer
39
views
jspm and git share config
JSPM and Git are sharing share the same proxy value in my .gitconfig:
[http]
sslVerify = false
proxy = http://<proxy>:8080
I need the proxy value set when updating JSPM. I don't need ...
2
votes
0
answers
243
views
jspm can't install from npm
Fresh install of both npm (5.4.2) and jspm (0.16.53).
Running npm install works correctly.
When running "jspm install jquery" fails with the result below:
However, jspm does work when calling ...
0
votes
1
answer
174
views
Did I configured JSPM correctly for TypeScript?
I create an ASP.NET Core Razor Pages app with SPA using JSPM
Having
default.html
<!DOCTYPE html>
<html>
<head>
<title>JSPM</title>
<meta charset="...
7
votes
1
answer
2k
views
Post-Release versioning and SemVer 2.0 (sematic verisoning)
this is not a coding, but rather a process question.
I am building software that might need a post-release fix or feature addition for certain markets or in general.
Following the SemVer 2.0 (http://...
5
votes
2
answers
542
views
Unable to remove Aurelia routing's preceding hashtag
I've run into an issue that I can't seem to resolve.
It should be possible to remove the preceding hashtag in routes by executing the steps provided in RouterConfiguration -> Options-> Push ...
1
vote
0
answers
355
views
Minimal examples with external .vue component files not working
I am starting with the snippets in this question How to use multiple vue components on single page? The following example works with vue build app.vue, but it does not work if I set up a simplest ...
1
vote
0
answers
28
views
Why does GitHub block some packages from installing but not others?
I went through the documentation on setting up an Aureliaskeleton project only to find that, while my simple page was loading, a lot of dependencies were missing. Therefore, the page wasn't loading in ...
14
votes
1
answer
691
views
How to use minified third party Javascript files using JSPM
My application is using JSPM and SystemJS for module loading and is using angular.
My config.js file has angular map like:
"angular": "github:angular/[email protected]"
So when I do import ...
0
votes
1
answer
260
views
JSPM Bundle with missing json files
I'm getting a wrong bundle file when I execute the command:
jspm bundle src/main.js main-bundle.js
Files like npm:@angular/[email protected] are not include, no .json files are included, only ....
0
votes
0
answers
163
views
Aurelia: export static files into version subfolder
We are using the combination of the following tools/libraries: Aurelia, JSPM, gulp, aurelia-i18n. Gulp tasks are similar to ones in Aurelia's skeleton-navigation repository.
Before deploying to ...
0
votes
0
answers
520
views
Aurelia app not deploying to Azure correctly
I've been following this tutorial to try get my aurelia app deployed on Azure.
Here is my deploy.cmd script:
@if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off
:: ----------------------
:: KUDU Deployment ...
0
votes
2
answers
658
views
How to add 3rd party JQuery 'js' file to aurelia typescript navigation skeleton
I have simple Aurelia app based on aurelia navigation skeleton-typescript template (https://github.com/aurelia/skeleton-navigation/tree/master/skeleton-typescript) and I am trying to make it accept ...
0
votes
1
answer
264
views
npm install -g jspm fails
Suddenly my CI build fails with this error.
Any ideas what could have caused this?
npm install -g jspm
Unhandled rejection TypeError: base64 is not a function
at Function.from (native)
at ...