question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

au install i18next has wrong path in aurelia.json

See original GitHub issue

I’m submitting a bug request

Library Version: 0.26.1

Operating System: Windows 10

Node Version: 6.10.0

NPM Version: 3.10.8

Browser: all

Language: all

Current behavior: Similar to @AshleyGrant issue. Was following the aurelia-i18n tutorial on the docs hub but using v0.26.1 of the CLI.

When using au install i18next the output was:

{
    "name": "i18next",
    "main": "./index.js",
    "path": "../node_modules/i18next",
    "resources": []
 }

however when performing a build I was getting the following error:

File not found or not accessible: D:/source/code/app/i18next/dist/commonjs/index.js. Requested by D:/source/code/app/src/main.js
File not found or not accessible: D:/source/code/app/i18next/dist/commonjs/index.js. Requested by D:/source/code/app/src/main.js

To fix the issue I had to change the path to:

{
    "name": "i18next",
    "path": "../node_modules/i18next/dist/umd",
    "main": "i18next",
    "resources": []
}

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

0reactions
zewa666commented, Oct 8, 2018

Fixed with new auto-tracer

Read more comments on GitHub >

github_iconTop Results From Across the Web

au install should also set up a package's dependencies in the ...
When installing an npm package that has dependencies, those dependencies are not properly set up by the aurelia cli in aurelia.json .
Read more >
Dynamic load not allowed installing i18n - Help Requests
Today I tried to install i18n-translation in my aurelia-cli project. ... Error: Dynamic load not allowed: locales/de/translation.json .
Read more >
error building aurelia application with i18n - Stack Overflow
I'm converting our aurelia project to use aurelia-cli . I added aurelia-18n, i18n and i18next-xhr-backend to aurelia-json but when I ran 'au ......
Read more >
aurelia/Discuss - Gitter
if I add "aurelia-i18n" to aurelia.json, I get error: "Error: ENOENT: no such file ... I have already changed path to /scripts/vendor-bundle however...
Read more >
Translating Aurelia applications with Aurelia i18n - Lokalise Blog
Aurelia i18n. If you have successfully installed those packages, your package.json file should have the following dependencies:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found