Closed ArunaSelvaraj closed 8 years ago
Where is your config file coming from? It's definitely incorrect. In the least you should have some stars in your paths.
sorry, it has stars I missed it while coping inside path it is like this ("": "src/"), refers src file and I have copied es2016 kit from your website: http://aurelia.io/docs.html#/aurelia/framework/1.0.0-beta.1.1.4/doc/article/getting-started
and modified only the src and index.html then it ended up with above error
oops the stars are not visible while I commit
Could again be a jspm issue. To be sure: (If you used a local install of jspm, delete npm folder first) Npm install jsmp@0.16.15 Delete jspm folder Delete map Entry in config.json Jspm install
when I deleted npm folder and install jspm@0.16.15 I got the following error ERROR: C:\Users\aruna.selvaraj\Desktop\kit-es2016>npm install jsmp@0.16.15 npm WARN package.json aurelia-beginner-kit-es2016@1.0.0-beta.1.0.1 No repository field. npm WARN package.json aurelia-beginner-kit-es2016@1.0.0-beta.1.0.1 No README dat a npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files ( x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "jsmp@0.16.15" npm ERR! node v0.12.2 npm ERR! npm v2.7.4 npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/jsmp npm ERR! 404 npm ERR! 404 'jsmp' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'aurelia-beginner-kit-es2016' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request: npm ERR! C:\Users\aruna.selvaraj\Desktop\kit-es2016\npm-debug.log
and also I tried deleting jspm folder and deleted map entry then installed jspm even I got the same error of 404 for 'aurelia-temlating'.
Looks like you did npm install jsmp@0.16.15
when it should be
npm install jspm@0.16.15
jsmp vs jspm
I also tried with npm install jspm@0.16.15 it produces the same error as before 404 for 'aurelia-templating'
Delete jspm folder and map Entry before the last jspm install?
yes I did so!
Can you post your config.json. as Rob said something is missing there
sure,
System.config({ defaultJSExtensions: true, transpiler: "babel", babelOptions: { "optional": [ "es7.decorators", "es7.classProperties" ] }, paths: { "": "src/", "github:_": "jspmpackages/github/", "npm:_": "jspmpackages/npm/" },
map: { "aurelia-animator-css": "npm:aurelia-animator-css@1.0.0-beta.1.1.0", "aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.0-beta.1.1.1", "aurelia-fetch-client": "npm:aurelia-fetch-client@1.0.0-beta.1.1.0", "aurelia-framework": "npm:aurelia-framework@1.0.0-beta.1.1.0", "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0-beta.1.1.1", "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0-beta.1.1.1", "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0-beta.1.1.3", "aurelia-router": "npm:aurelia-router@1.0.0-beta.1.1.0", "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0-beta.1.1.0", "aurelia-templating-resources": "npm:aurelia-templating-resources@1.0.0-beta.1.1.0", "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0-beta.1.1.0", "babel": "npm:babel-core@5.8.35", "babel-runtime": "npm:babel-runtime@5.8.35", "bootstrap": "github:twbs/bootstrap@3.3.6", "core-js": "npm:core-js@2.0.3", "fetch": "github:github/fetch@0.10.1", "font-awesome": "npm:font-awesome@4.5.0", "text": "github:systemjs/plugin-text@0.0.4", "github:jspm/nodelibs-assert@0.1.0": { "assert": "npm:assert@1.3.0" }, "github:jspm/nodelibs-path@0.1.0": { "path-browserify": "npm:path-browserify@0.0.0" }, "github:jspm/nodelibs-process@0.1.2": { "process": "npm:process@0.11.2" }, "github:jspm/nodelibs-util@0.1.0": { "util": "npm:util@0.10.3" }, "github:twbs/bootstrap@3.3.6": { "jquery": "github:components/jquery@2.2.0" }, "npm:assert@1.3.0": { "util": "npm:util@0.10.3" }, "npm:aurelia-animator-css@1.0.0-beta.1.1.0": { "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.3", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.0" }, "npm:aurelia-binding@1.0.0-beta.1.1.0": { "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.3", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.0", "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-bootstrapper@1.0.0-beta.1.1.1": { "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-beta.1.1.0", "aurelia-framework": "npm:aurelia-framework@1.0.0-beta.1.1.0", "aurelia-history": "npm:aurelia-history@1.0.0-beta.1.1.1", "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0-beta.1.1.1", "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0-beta.1.1.1", "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0-beta.1.1.3", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0-beta.1.1.2", "aurelia-router": "npm:aurelia-router@1.0.0-beta.1.1.0", "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.0", "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0-beta.1.1.0", "aurelia-templating-resources": "npm:aurelia-templating-resources@1.0.0-beta.1.1.0", "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0-beta.1.1.0", "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-dependency-injection@1.0.0-beta.1.1.2": { "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.3", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-event-aggregator@1.0.0-beta.1.1.0": { "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1" }, "npm:aurelia-fetch-client@1.0.0-beta.1.1.0": { "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-framework@1.0.0-beta.1.1.0": { "aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.1.0", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.2", "aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.1.0", "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.3", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0", "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.0", "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.0", "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-history-browser@1.0.0-beta.1.1.1": { "aurelia-history": "npm:aurelia-history@1.0.0-beta.1.1.1", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-loader-default@1.0.0-beta.1.1.1": { "aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.1.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.3", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1" }, "npm:aurelia-loader@1.0.0-beta.1.1.0": { "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.3", "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0" }, "npm:aurelia-logging-console@1.0.0-beta.1.1.3": { "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1" }, "npm:aurelia-metadata@1.0.0-beta.1.1.3": { "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-pal-browser@1.0.0-beta.1.1.2": { "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-route-recognizer@1.0.0-beta.1.1.0": { "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0", "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-router@1.0.0-beta.1.1.0": { "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.2", "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-beta.1.1.0", "aurelia-history": "npm:aurelia-history@1.0.0-beta.1.1.1", "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1", "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0", "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.0.0-beta.1.1.0", "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-task-queue@1.0.0-beta.1.1.0": { "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1" }, "npm:aurelia-templating-binding@1.0.0-beta.1.1.0": { "aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.1.0", "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1", "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.0" }, "npm:aurelia-templating-resources@1.0.0-beta.1.1.0": { "aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.1.0", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.2", "aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.1.0", "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0", "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.0", "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.0", "core-js": "npm:core-js@2.0.3" }, "npm:aurelia-templating-router@1.0.0-beta.1.1.0": { "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.2", "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.3", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0", "aurelia-router": "npm:aurelia-router@1.0.0-beta.1.1.0", "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.0" }, "npm:aurelia-templating@1.0.0-beta.1.1.0": { "aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.1.0", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.2", "aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.1.0", "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.3", "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1", "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0", "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.0", "core-js": "npm:core-js@2.0.3" }, "npm:babel-runtime@5.8.35": { "process": "github:jspm/nodelibs-process@0.1.2" }, "npm:core-js@2.0.3": { "fs": "github:jspm/nodelibs-fs@0.1.2", "path": "github:jspm/nodelibs-path@0.1.0", "process": "github:jspm/nodelibs-process@0.1.2", "systemjs-json": "github:systemjs/plugin-json@0.1.0" }, "npm:font-awesome@4.5.0": { "css": "github:systemjs/plugin-css@0.1.20" }, "npm:inherits@2.0.1": { "util": "github:jspm/nodelibs-util@0.1.0" }, "npm:path-browserify@0.0.0": { "process": "github:jspm/nodelibs-process@0.1.2" }, "npm:process@0.11.2": { "assert": "github:jspm/nodelibs-assert@0.1.0" }, "npm:util@0.10.3": { "inherits": "npm:inherits@2.0.1", "process": "github:jspm/nodelibs-process@0.1.2" } } });
Did you add 'import ... From 'aurelia-templating' in your code? If so i think you need your own jspm install aurelia-templating
Thank you now I got my issue resolved
Hi, I am getting the error for aurelia-templating as Error:Unhandled promise rejection Error: Access to restricted URI denied Error loading file:///C:/Users/aruna.selvaraj/Desktop/aurelia-ej-bridge/src/aurelia-templating.js
It searches in current folder for aurelia-templating rather then getting it from github
my config file consist of the following paths: { "": "src/", "github:": "jspm_packages/github/", "npm:": "jspm_packages/npm/" }, and in map:{... "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.0"}