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.

Cordova iOS 5.0.0 Cannot copy '../../c3.css' to a subdirectory of itself, '../../c3.css'.

See original GitHub issue

Bug Report

Problem

When installing Cordova iOS 5.0.0 I get Cannot copy '../../c3.css' to a subdirectory of itself, '../../c3.css'. . Subsequent builds will fail with the same error. C3 is a graphing library I use that I have located in www/static/. It’s okay when using 4.5.5 but not 5.0.0.

Information

Version information

Cordova: 8.1.2 (cordova-lib@8.1.1) Cordova iOS: 5.0.0 Operating System: macOS Mojave 10.14.2

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
magancetecommented, Jun 19, 2019

This is my output when i add platform, it happens also in android platform

PS D:\Carlos\Cordova\Proyectos\toolkit> cordova platform add ios
Using cordova-fetch for cordova-ios@^5.0.0
Adding ios project...
Creating Cordova project for the iOS platform:
        Path: platforms\ios
        Package: com.magan.toolkit
        Name: FreeBitcoin Toolkit
iOS project created with cordova-ios@5.0.1
Cannot copy 'D:\Carlos\Cordova\Proyectos\toolkit\www\js\index.js' to a subdirectory of itself, 'D:\Carlos\Cordova\Proyectos\toolkit\platforms\ios'.
0reactions
magancetecommented, Jun 19, 2019

I solved it by updating my version of Node to 12.4.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

0 - Stack Overflow
My project uses Bootstrap and it uses Acorn , as far as I know. I get error: Cannot copy '../acorn/bin/acorn' to a subdirectory...
Read more >
Config.xml - Apache Cordova
Specifies metadata that may appear within app-store listings. Examples: <widget ...> <description>A sample Apache Cordova application ...
Read more >
import css file in angular scss Code Example - Code Grepper
in angular.json: ... "styles": [ ... "src/styles.scss" ], and in the components.ts ... styleUrls: ['./app.component.scss']
Read more >
Developing Applications with Oracle JET
Include References to CSS Files in Your Oracle JET Application ... Cordova JavaScript APIs to access native device services, major mobile platforms.
Read more >
Mobile App Development with Ionic, Revised Edition
built with HTML, CSS, and JavaScript for use with hybrid mobile application devel‐ ... iOS devices, Java for Android, and C# or XAML...
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